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

C#

 
AnswerRe: How do I search these forums? Pin
Colin Angus Mackay19-May-04 10:03
Colin Angus Mackay19-May-04 10:03 
GeneralRe: How do I search these forums? Pin
Judah Gabriel Himango19-May-04 10:20
sponsorJudah Gabriel Himango19-May-04 10:20 
GeneralRe: How do I search these forums? Pin
Steve Schaneville19-May-04 11:39
professionalSteve Schaneville19-May-04 11:39 
AnswerRe: How do I search these forums? Pin
sreejith ss nair19-May-04 20:17
sreejith ss nair19-May-04 20:17 
GeneralDockStyle.Top problems Pin
partyganger19-May-04 9:44
partyganger19-May-04 9:44 
GeneralRe: DockStyle.Top problems Pin
Judah Gabriel Himango19-May-04 10:04
sponsorJudah Gabriel Himango19-May-04 10:04 
GeneralRe: DockStyle.Top problems Pin
partyganger19-May-04 10:25
partyganger19-May-04 10:25 
GeneralRe: DockStyle.Top problems Pin
sreejith ss nair19-May-04 19:56
sreejith ss nair19-May-04 19:56 
//Ok your requirement is to add your task control just beneth to the existing task control when //you click the add button.

//for eg : if this is your location value of panel control

this.yourpannel_control.Location=new System.Drawing.Point(8,0);

//then

//assign to public variable LocX and LocY (forgetting x and y co-ordinates values)

//initial values of LocX and LocY

this.LocX=yourpannel_control.Location.X;
this.LocY=yourpannel_control.Location.Y+32;
//(i gave 32 . you can give any number. based on this value your task control will add from top)


buttion_click()
{

if(_UCtl1==null)
{
_UCtl1=new yourtask_control()
this._UCtl1.Location = new System.Drawing.Point(LocX, LocY);
this.yourpannel_control.Controls.Add(_UCtl1);
}
else
{
_UCtl1=new new yourtask_control()
this._UCtl1.Location = new System.Drawing.Point(LocX, LocY);
this.yourpannel_control.Controls.Add(_UCtl1);
}

LocX=LocX;
LocY=LocY+32;
yourpannel_control.Height=LocY+16;
//(i gave 16. you can give the height of your task control + difference between two task control)
}

this code will add your task control just one beneth the other.


Generalif statement Pin
kornstyle19-May-04 9:41
kornstyle19-May-04 9:41 
GeneralRe: if statement Pin
SimonS19-May-04 9:44
SimonS19-May-04 9:44 
GeneralRe: if statement Pin
partyganger19-May-04 9:49
partyganger19-May-04 9:49 
GeneralRe: if statement Pin
kornstyle19-May-04 10:02
kornstyle19-May-04 10:02 
GeneralRe: if statement Pin
sreejith ss nair19-May-04 20:13
sreejith ss nair19-May-04 20:13 
Generalhelp provider Pin
kendao19-May-04 9:28
kendao19-May-04 9:28 
GeneralRe: help provider Pin
Heath Stewart19-May-04 9:45
protectorHeath Stewart19-May-04 9:45 
GeneralDataSet byte array storage Pin
Anfernius19-May-04 8:39
Anfernius19-May-04 8:39 
GeneralRe: DataSet byte array storage Pin
Dave Kreskowiak19-May-04 8:58
mveDave Kreskowiak19-May-04 8:58 
GeneralRe: DataSet byte array storage Pin
Heath Stewart19-May-04 9:04
protectorHeath Stewart19-May-04 9:04 
GeneralRe: DataSet byte array storage Pin
Dave Kreskowiak19-May-04 9:33
mveDave Kreskowiak19-May-04 9:33 
GeneralRe: DataSet byte array storage Pin
Heath Stewart19-May-04 9:36
protectorHeath Stewart19-May-04 9:36 
GeneralGlobal Variables in Visual C# Pin
Anonymous19-May-04 8:32
Anonymous19-May-04 8:32 
GeneralRe: Global Variables in Visual C# Pin
Heath Stewart19-May-04 8:55
protectorHeath Stewart19-May-04 8:55 
GeneralRe: Global Variables in Visual C# Pin
sreejith ss nair19-May-04 20:40
sreejith ss nair19-May-04 20:40 
GeneralHelp reqd to Show Help .... Pin
fayazhsn19-May-04 8:25
fayazhsn19-May-04 8:25 
GeneralRe: Help reqd to Show Help .... Pin
Heath Stewart19-May-04 8:52
protectorHeath Stewart19-May-04 8: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.