Click here to Skip to main content
15,911,786 members
Home / Discussions / C#
   

C#

 
AnswerRe: Moving maximized window Pin
Eddy Vluggen25-Mar-10 23:37
professionalEddy Vluggen25-Mar-10 23:37 
GeneralRe: Moving maximized window Pin
mvermand25-Mar-10 23:39
mvermand25-Mar-10 23:39 
GeneralRe: Moving maximized window Pin
Eddy Vluggen26-Mar-10 0:07
professionalEddy Vluggen26-Mar-10 0:07 
QuestionGeting the name of the form a user control is on Pin
chrisclarke1125-Mar-10 23:14
chrisclarke1125-Mar-10 23:14 
AnswerRe: Geting the name of the form a user control is on Pin
Tony Richards26-Mar-10 0:40
Tony Richards26-Mar-10 0:40 
GeneralRe: Geting the name of the form a user control is on Pin
chrisclarke1126-Mar-10 1:14
chrisclarke1126-Mar-10 1:14 
GeneralRe: Geting the name of the form a user control is on Pin
TheFoZ26-Mar-10 1:28
TheFoZ26-Mar-10 1:28 
GeneralRe: Geting the name of the form a user control is on Pin
chrisclarke1126-Mar-10 1:42
chrisclarke1126-Mar-10 1:42 
GeneralRe: Geting the name of the form a user control is on Pin
TheFoZ26-Mar-10 3:42
TheFoZ26-Mar-10 3:42 
GeneralRe: Geting the name of the form a user control is on Pin
chrisclarke1129-Mar-10 0:00
chrisclarke1129-Mar-10 0:00 
Questiongrid inside grid in windows application Pin
sagarrana25-Mar-10 21:43
sagarrana25-Mar-10 21:43 
AnswerRe: grid inside grid in windows application Pin
Eddy Vluggen26-Mar-10 0:03
professionalEddy Vluggen26-Mar-10 0:03 
Questiondisabling particular item in a checked list box Pin
vineesh v25-Mar-10 21:14
vineesh v25-Mar-10 21:14 
AnswerRe: disabling particular item in a checked list box Pin
Calla25-Mar-10 22:33
Calla25-Mar-10 22:33 
GeneralRe: disabling particular item in a checked list box Pin
Swiftain25-Mar-10 22:50
Swiftain25-Mar-10 22:50 
QuestionMessage Removed Pin
25-Mar-10 20:29
Punit Belani25-Mar-10 20:29 
GeneralRe: clear form data (only IE problem) Pin
thatraja25-Mar-10 20:33
professionalthatraja25-Mar-10 20:33 
GeneralRe: clear form data (only IE problem) Pin
Punit Belani25-Mar-10 20:36
Punit Belani25-Mar-10 20:36 
GeneralRe: clear form data (only IE problem) Pin
thatraja25-Mar-10 20:58
professionalthatraja25-Mar-10 20:58 
QuestionControls and Context Menu question from a newbie. Pin
Kanetakeo25-Mar-10 20:01
Kanetakeo25-Mar-10 20:01 
AnswerRe: Controls and Context Menu question from a newbie. Pin
OriginalGriff25-Mar-10 22:38
mveOriginalGriff25-Mar-10 22:38 
If you add a handler to the ContextMenuStrip (probably the most useful to you is ContextMenuStrip.Opening) it gives you a "sender" parameter:
private void contextMenuStrip1_Opening(object sender, CancelEventArgs e)
    {
    ContextMenuStrip cms = sender as ContextMenuStrip;
    if (cms != null)
        {
        MessageBox.Show(cms.SourceControl.Name);
        }
    }
The ContextMenuStrip.SourceControl property gives you the control which will cause the menu to be displayed.
You should never use standby on an elephant. It always crashes when you lift the ears. - Mark Wallace

C/C++ (I dont see a huge difference between them, and the 'benefits' of C++ are questionable, who needs inheritance when you have copy and paste) - fat_boy

QuestionProblem in datatable class select function with special characters Pin
abcurl25-Mar-10 18:06
abcurl25-Mar-10 18:06 
AnswerRe: Problem in datatable class select function with special characters Pin
Abhinav S25-Mar-10 18:28
Abhinav S25-Mar-10 18:28 
QuestionA Car Horn for my Robot Pin
sebogawa25-Mar-10 16:16
sebogawa25-Mar-10 16:16 
AnswerRe: A Car Horn for my Robot Pin
Khaniya25-Mar-10 19:03
professionalKhaniya25-Mar-10 19:03 

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.