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

C#

 
GeneralRe: date problem Pin
Tamimi - Code17-Jan-07 2:20
Tamimi - Code17-Jan-07 2:20 
AnswerRe: date problem Pin
Guffa17-Jan-07 1:55
Guffa17-Jan-07 1:55 
GeneralRe: date problem Pin
Tamimi - Code17-Jan-07 2:21
Tamimi - Code17-Jan-07 2:21 
QuestionOpenPathDialog? Pin
livez17-Jan-07 1:14
livez17-Jan-07 1:14 
AnswerRe: OpenPathDialog? Pin
JoeSharp17-Jan-07 1:22
JoeSharp17-Jan-07 1:22 
GeneralRe: OpenPathDialog? Pin
livez17-Jan-07 1:30
livez17-Jan-07 1:30 
Questionhow to drag and drop a label in a panel? Pin
greyzz17-Jan-07 1:06
greyzz17-Jan-07 1:06 
AnswerRe: how to drag and drop a label in a panel? Pin
Vinay Dornala17-Jan-07 1:36
Vinay Dornala17-Jan-07 1:36 
hi
Just see this code for tabcontrol,selecting the required tabpage from tabcontrol1 and dragging form tabcontrol1 and drop it tabcontrol2.

I hope this will be helpful for u.

private void tabControl1_MouseMove( object sender, MouseEventArgs e )
{
if ( e.Button == MouseButtons.Left )
tabControl1.DoDragDrop( tabControl1.SelectedTab, DragDropEffects.All );
}

private void tabControl2_DragEnter( object sender, DragEventArgs e )
{
e.Effect = e.Data.GetDataPresent( typeof( TabPage ) )
? DragDropEffects.Move
: DragDropEffects.None;
}

private void tabControl2_DragDrop( object sender, DragEventArgs e )
{
TabPage DropTab = (TabPage)( e.Data.GetData( typeof( TabPage ) ) );
tabControl2.TabPages.Add( DropTab );
}

WiNNING IS NOT OUR DREAM,IT'S A HABIT


Have a nice evening
QuestionWriting message in eventlog Pin
ParagGupta16-Jan-07 23:52
ParagGupta16-Jan-07 23:52 
Questionhow to store data from c# into sql server data base Pin
rao raja16-Jan-07 23:29
rao raja16-Jan-07 23:29 
AnswerRe: how to store data from c# into sql server data base Pin
Colin Angus Mackay17-Jan-07 0:01
Colin Angus Mackay17-Jan-07 0:01 
AnswerRe: how to store data from c# into sql server data base Pin
Vinay Dornala17-Jan-07 0:08
Vinay Dornala17-Jan-07 0:08 
GeneralRe: how to store data from c# into sql server data base Pin
Colin Angus Mackay17-Jan-07 0:29
Colin Angus Mackay17-Jan-07 0:29 
GeneralRe: how to store data from c# into sql server data base Pin
Vinay Dornala17-Jan-07 1:29
Vinay Dornala17-Jan-07 1:29 
GeneralRe: how to store data from c# into sql server data base Pin
Colin Angus Mackay17-Jan-07 1:47
Colin Angus Mackay17-Jan-07 1:47 
QuestionC# WinForms: How to refresh an MdiChild.Icon when MdiChild is maximized Pin
H. Neville III16-Jan-07 23:02
H. Neville III16-Jan-07 23:02 
AnswerRe: C# WinForms: How to refresh an MdiChild.Icon when MdiChild is maximized Pin
il_masacratore17-Jan-07 3:21
il_masacratore17-Jan-07 3:21 
GeneralRe: C# WinForms: How to refresh an MdiChild.Icon when MdiChild is maximized Pin
H. Neville III21-Jan-07 22:13
H. Neville III21-Jan-07 22:13 
QuestionCrystalreport &dataset Pin
md_refay16-Jan-07 22:59
md_refay16-Jan-07 22:59 
AnswerRe: Crystalreport &dataset Pin
Blue_Boy17-Jan-07 0:18
Blue_Boy17-Jan-07 0:18 
AnswerRe: Crystalreport &dataset Pin
Vinay Dornala17-Jan-07 0:29
Vinay Dornala17-Jan-07 0:29 
Questionretrieve text from a currently selected cell of a datagrid Pin
Saira Tanwir16-Jan-07 22:55
Saira Tanwir16-Jan-07 22:55 
AnswerRe: retrieve text from a currently selected cell of a datagrid Pin
Seishin#16-Jan-07 22:59
Seishin#16-Jan-07 22:59 
GeneralRe: retrieve text from a currently selected cell of a datagrid Pin
Saira Tanwir16-Jan-07 23:04
Saira Tanwir16-Jan-07 23:04 
AnswerRe: Remote Computer Pin
JacquesDP17-Jan-07 0:18
JacquesDP17-Jan-07 0:18 

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.