Click here to Skip to main content
15,913,685 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ignoring the version of C# dll assembly Pin
LongRange.Shooter16-Aug-04 5:29
LongRange.Shooter16-Aug-04 5:29 
GeneralRe: Ignoring the version of C# dll assembly Pin
ting66816-Aug-04 15:53
ting66816-Aug-04 15:53 
GeneralInvoke/BeginInvoke Problem Pin
khchan15-Aug-04 20:56
khchan15-Aug-04 20:56 
GeneralRe: Invoke/BeginInvoke Problem Pin
Stanciu Vlad16-Aug-04 2:08
Stanciu Vlad16-Aug-04 2:08 
GeneralRe: Invoke/BeginInvoke Problem Pin
leppie16-Aug-04 2:39
leppie16-Aug-04 2:39 
GeneralRe: Invoke/BeginInvoke Problem Pin
khchan16-Aug-04 16:59
khchan16-Aug-04 16:59 
GeneralInherited GroupBox or Panel Pin
Clickok15-Aug-04 20:56
Clickok15-Aug-04 20:56 
GeneralRe: Inherited GroupBox or Panel Pin
sreejith ss nair15-Aug-04 21:44
sreejith ss nair15-Aug-04 21:44 
hi,

private void Form1_Load(object sender, System.EventArgs e)
{
//sample user control
UserControl1 sr=new UserControl1();
//adding user control to your main form
this.Controls.Add(sr);
//creating one button
Button btn=new Button();
//changing back color
btn.BackColor=Color.Red;
sr.Controls[0].Controls.Add(btn);
}


Here you have a form with user control. If you want to add controls inside the user control which contain some groupbox or panel.Then you can refer the control (group or panel ) using there index.


**************************
S r e e j i t h N a i r
**************************
GeneralRe: Inherited GroupBox or Panel Pin
Clickok15-Aug-04 21:56
Clickok15-Aug-04 21:56 
GeneralStructure and Interface Pin
Paul Selormey15-Aug-04 19:53
Paul Selormey15-Aug-04 19:53 
GeneralRe: Structure and Interface Pin
S Sansanwal15-Aug-04 21:03
S Sansanwal15-Aug-04 21:03 
GeneralRe: Structure and Interface Pin
Paul Selormey15-Aug-04 21:32
Paul Selormey15-Aug-04 21:32 
GeneralRe: Structure and Interface Pin
Nick Parker16-Aug-04 3:29
protectorNick Parker16-Aug-04 3:29 
GeneralRe: Structure and Interface Pin
Paul Selormey16-Aug-04 3:58
Paul Selormey16-Aug-04 3:58 
GeneralArrayList comparsion Pin
azusakt15-Aug-04 16:49
azusakt15-Aug-04 16:49 
GeneralRe: ArrayList comparsion Pin
sreejith ss nair15-Aug-04 17:44
sreejith ss nair15-Aug-04 17:44 
GeneralRe: ArrayList comparsion Pin
leppie15-Aug-04 19:17
leppie15-Aug-04 19:17 
GeneralRe: ArrayList comparsion Pin
Danny Rodriguez15-Aug-04 20:28
Danny Rodriguez15-Aug-04 20:28 
GeneralForm's this.Close() is not responding Pin
CNU15-Aug-04 16:47
CNU15-Aug-04 16:47 
GeneralRe: Form's this.Close() is not responding Pin
S Sansanwal15-Aug-04 16:49
S Sansanwal15-Aug-04 16:49 
GeneralRe: Form's this.Close() is not responding Pin
CNU15-Aug-04 16:59
CNU15-Aug-04 16:59 
GeneralRe: Form's this.Close() is not responding Pin
sreejith ss nair15-Aug-04 17:17
sreejith ss nair15-Aug-04 17:17 
GeneralRe: Form's this.Close() is not responding Pin
CNU15-Aug-04 17:22
CNU15-Aug-04 17:22 
GeneralRe: Form's this.Close() is not responding Pin
sreejith ss nair15-Aug-04 21:17
sreejith ss nair15-Aug-04 21:17 
GeneralRe: Form's this.Close() is not responding Pin
sreejith ss nair15-Aug-04 17:10
sreejith ss nair15-Aug-04 17:10 

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.