Click here to Skip to main content
15,903,203 members
Home / Discussions / C#
   

C#

 
QuestionGrid Control recommendations Pin
Aaron Schaefer11-May-06 4:03
Aaron Schaefer11-May-06 4:03 
AnswerRe: Grid Control recommendations Pin
KrIstOfK11-May-06 4:19
KrIstOfK11-May-06 4:19 
GeneralRe: Grid Control recommendations Pin
Aaron Schaefer11-May-06 5:14
Aaron Schaefer11-May-06 5:14 
GeneralRe: Grid Control recommendations Pin
KrIstOfK11-May-06 10:41
KrIstOfK11-May-06 10:41 
GeneralRe: Grid Control recommendations Pin
Robert Rohde11-May-06 10:43
Robert Rohde11-May-06 10:43 
GeneralRe: Grid Control recommendations Pin
Aaron Schaefer11-May-06 10:46
Aaron Schaefer11-May-06 10:46 
Questiona few questions about forms ??? Pin
cmpeng3411-May-06 4:00
cmpeng3411-May-06 4:00 
AnswerRe: a few questions about forms ??? Pin
NaNg1524111-May-06 8:04
NaNg1524111-May-06 8:04 
first: search the event for mouse-click, and open a method for that, inside just write:

if ((e.Button == MouseButtons.Left) || (e.Button == MouseButtons.Right))<br />
contextMenuStrip1.Show(MousePosition);


this will check if some-one has pressed the right or left button, and will show the contextmenustrip at mouseposition.

second: again, search the events you want in the events (i.e formclosing for clicking close (X)), and open their methods, and write (this is for formclosing):

if (e.CloseReason == CloseReason.UserClosing)
{
    e.Cancel = true;
    this.Hide();
}

QuestionAutomatically Shifting Control From TextBox to Button Pin
Rizwan Rathore11-May-06 3:33
Rizwan Rathore11-May-06 3:33 
AnswerRe: Automatically Shifting Control From TextBox to Button Pin
_Bao_11-May-06 4:32
_Bao_11-May-06 4:32 
GeneralRe: Automatically Shifting Control From TextBox to Button Pin
Rizwan Rathore11-May-06 5:26
Rizwan Rathore11-May-06 5:26 
QuestionC++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 3:18
CSharpDavid11-May-06 3:18 
AnswerRe: C++ CTime to .NET DateTime Pin
KrIstOfK11-May-06 3:19
KrIstOfK11-May-06 3:19 
GeneralRe: C++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 3:37
CSharpDavid11-May-06 3:37 
GeneralRe: C++ CTime to .NET DateTime Pin
KrIstOfK11-May-06 3:42
KrIstOfK11-May-06 3:42 
GeneralRe: C++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 3:47
CSharpDavid11-May-06 3:47 
GeneralRe: C++ CTime to .NET DateTime Pin
KrIstOfK11-May-06 4:02
KrIstOfK11-May-06 4:02 
GeneralRe: C++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 4:58
CSharpDavid11-May-06 4:58 
GeneralRe: C++ CTime to .NET DateTime Pin
BambooMoon11-May-06 8:46
BambooMoon11-May-06 8:46 
GeneralRe: C++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 10:43
CSharpDavid11-May-06 10:43 
GeneralRe: C++ CTime to .NET DateTime Pin
BambooMoon11-May-06 10:53
BambooMoon11-May-06 10:53 
GeneralRe: C++ CTime to .NET DateTime Pin
CSharpDavid11-May-06 11:08
CSharpDavid11-May-06 11:08 
Questionfill dataset with a param Pin
Rmokkenstorm11-May-06 3:10
Rmokkenstorm11-May-06 3:10 
QuestionHow can i add tool tip to drop down list ? Pin
Jax_qqq11-May-06 3:09
Jax_qqq11-May-06 3:09 
AnswerRe: How can i add tool tip to drop down list ? Pin
KrIstOfK11-May-06 3:18
KrIstOfK11-May-06 3: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.