Click here to Skip to main content
15,887,596 members
Home / Discussions / C#
   

C#

 
GeneralRe: #using a C# dll Pin
Joel Holdsworth22-Oct-05 22:54
Joel Holdsworth22-Oct-05 22:54 
GeneralRe: #using a C# dll Pin
Rob Graham23-Oct-05 5:52
Rob Graham23-Oct-05 5:52 
Questioncheckedlistbox and numericupdown Pin
Mridang Agarwalla22-Oct-05 10:32
Mridang Agarwalla22-Oct-05 10:32 
Questionduplicates in array Pin
Mridang Agarwalla22-Oct-05 10:14
Mridang Agarwalla22-Oct-05 10:14 
AnswerRe: duplicates in array Pin
turbochimp22-Oct-05 10:38
turbochimp22-Oct-05 10:38 
AnswerRe: duplicates in array Pin
Matt Gerrans22-Oct-05 19:57
Matt Gerrans22-Oct-05 19:57 
GeneralRe: duplicates in array Pin
Matt Gerrans22-Oct-05 20:24
Matt Gerrans22-Oct-05 20:24 
QuestionHelp TreeView Pin
picasso222-Oct-05 9:31
picasso222-Oct-05 9:31 
on my "treeView1_AfterSelect(...)
I have this
************************
if(nodeSel=="Node One selected")
{//Object created
MTO a = new MTO();
//MTO method called
a.mtoModel();
}

THis class id defined like this
**********************
class MTO
{
private TextBox textBox1 = new TextBox();
private Panel panel1 = new Panel();
public void mtoModel()
{
MessageBox.Show("Test", "node")
textBox1.Text = " ";
textBox1.Location = new System.Drawing.Point(80,16);
textBox1.BackColor = Color.FromArgb(245, 160, 75);
panel1.Controls.AddRange(new Control[]{textBox1});

}
}

When I select the node 1 , the message is displayed (node one selected) but hte components are not created in the panel. Any ideas?
AnswerRe: Help TreeView Pin
picasso222-Oct-05 10:29
picasso222-Oct-05 10:29 
Questionsyntax help Pin
tekken2222-Oct-05 9:21
tekken2222-Oct-05 9:21 
AnswerRe: syntax help Pin
Daniel Grunwald22-Oct-05 9:42
Daniel Grunwald22-Oct-05 9:42 
AnswerRe: syntax help Pin
User 167325222-Oct-05 21:47
User 167325222-Oct-05 21:47 
QuestionReset Panel Pin
picasso222-Oct-05 8:07
picasso222-Oct-05 8:07 
AnswerRe: Reset Panel Pin
Stefan Troschuetz22-Oct-05 8:30
Stefan Troschuetz22-Oct-05 8:30 
Questionwin32 API or DirectSound Pin
pakFari22-Oct-05 7:58
pakFari22-Oct-05 7:58 
AnswerRe: win32 API or DirectSound Pin
André Ziegler22-Oct-05 9:00
André Ziegler22-Oct-05 9:00 
GeneralRe: win32 API or DirectSound Pin
pakFari22-Oct-05 18:29
pakFari22-Oct-05 18:29 
GeneralRe: win32 API or DirectSound Pin
André Ziegler23-Oct-05 5:07
André Ziegler23-Oct-05 5:07 
GeneralRe: win32 API or DirectSound Pin
pakFari23-Oct-05 7:58
pakFari23-Oct-05 7:58 
GeneralRe: win32 API or DirectSound Pin
André Ziegler23-Oct-05 11:16
André Ziegler23-Oct-05 11:16 
GeneralRe: win32 API or DirectSound Pin
pakFari23-Oct-05 16:56
pakFari23-Oct-05 16:56 
GeneralRe: win32 API or DirectSound Pin
André Ziegler24-Oct-05 12:26
André Ziegler24-Oct-05 12:26 
QuestionUsing C++ class in C# project Pin
patgo22-Oct-05 7:42
patgo22-Oct-05 7:42 
AnswerRe: Using C++ class in C# project Pin
S. Senthil Kumar23-Oct-05 2:25
S. Senthil Kumar23-Oct-05 2:25 
QuestionRepeating an image instead of resizing it Pin
Melanius22-Oct-05 7:23
Melanius22-Oct-05 7:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.