Click here to Skip to main content
15,906,816 members
Home / Discussions / C#
   

C#

 
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 
QuestionHow to retrieve email address from exchange. Pin
Member 107077822-Oct-05 7:15
Member 107077822-Oct-05 7:15 
QuestionHow to fix the form location on the screen? Pin
majidbhutta22-Oct-05 6:50
majidbhutta22-Oct-05 6:50 
QuestionRe: How to fix the form location on the screen? Pin
sejal12312-Jan-09 19:52
sejal12312-Jan-09 19:52 
QuestionResizing of controls Pin
wasife22-Oct-05 6:09
wasife22-Oct-05 6:09 
AnswerRe: Resizing of controls Pin
MoustafaS22-Oct-05 6:52
MoustafaS22-Oct-05 6:52 
Questionunmanaged dll problems/questions Pin
FreeClimber22-Oct-05 5:52
FreeClimber22-Oct-05 5:52 

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.