Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
AnswerRe: Datagridview moves to first column when selecting row(s) Pin
Peace ON27-May-10 0:09
Peace ON27-May-10 0:09 
QuestionMessage Removed Pin
26-May-10 0:30
MohammadAmiry26-May-10 0:30 
AnswerRe: How to serialize static members of a class? Pin
Dave Kreskowiak26-May-10 2:06
mveDave Kreskowiak26-May-10 2:06 
GeneralRe: How to serialize static members of a class? Pin
Henry Minute26-May-10 2:37
Henry Minute26-May-10 2:37 
GeneralRe: How to serialize static members of a class? Pin
MohammadAmiry26-May-10 3:07
MohammadAmiry26-May-10 3:07 
Questionmouse right click on a control in .net 2.0 Pin
prasadbuddhika26-May-10 0:14
prasadbuddhika26-May-10 0:14 
AnswerRe: mouse right click on a control in .net 2.0 Pin
Johnny J.26-May-10 0:16
professionalJohnny J.26-May-10 0:16 
AnswerRe: mouse right click on a control in .net 2.0 Pin
Abhinav S26-May-10 0:51
Abhinav S26-May-10 0:51 
Both left and right click can be trapped by using the MouseDown event.
Various mouse down events are trapped in the code below.
       private void form1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e) <br />
        {<br />
            // Update the mouse path with the mouse information<br />
            Point mouseDownLocation = new Point(e.X, e.Y);<br />
<br />
            string eventString = null;<br />
            switch (e.Button) {<br />
                case MouseButtons.Left:<br />
                    eventString = "L";<br />
                    break;<br />
                case MouseButtons.Right:<br />
                    eventString = "R";<br />
                    break;<br />
                case MouseButtons.Middle:<br />
                    eventString = "M";<br />
                    break;<br />
                case MouseButtons.XButton1:<br />
                    eventString = "X1";<br />
                    break;<br />
                case MouseButtons.XButton2:<br />
                    eventString = "X2";<br />
                    break;<br />
                case MouseButtons.None:<br />
                default:<br />
                    break;<br />
            }

My signature "sucks" today

QuestionDatagridview Split Pin
Rohit Kumar Mumbai26-May-10 0:08
Rohit Kumar Mumbai26-May-10 0:08 
AnswerRe: Datagridview Split Pin
Peace ON26-May-10 0:18
Peace ON26-May-10 0:18 
QuestionHow to merge my content with a existing word document. Pin
Exelioindia25-May-10 23:22
Exelioindia25-May-10 23:22 
AnswerRe: How to merge my content with a existing word document. Pin
Peace ON25-May-10 23:40
Peace ON25-May-10 23:40 
QuestionBest way to read a file?? Pin
Muammar©25-May-10 22:17
Muammar©25-May-10 22:17 
AnswerRe: Best way to read a file?? Pin
Richard MacCutchan25-May-10 22:55
mveRichard MacCutchan25-May-10 22:55 
GeneralRe: Best way to read a file?? Pin
Muammar©28-May-10 8:17
Muammar©28-May-10 8:17 
GeneralRe: Best way to read a file?? Pin
Richard MacCutchan28-May-10 22:05
mveRichard MacCutchan28-May-10 22:05 
QuestionLoad PDF inside the .Net Application Pin
Fakeer25-May-10 21:35
Fakeer25-May-10 21:35 
AnswerRe: Load PDF inside the .Net Application Pin
Mycroft Holmes25-May-10 22:43
professionalMycroft Holmes25-May-10 22:43 
AnswerRe: Load PDF inside the .Net Application Pin
Johnny J.25-May-10 22:46
professionalJohnny J.25-May-10 22:46 
AnswerRe: Load PDF inside the .Net Application Pin
Abhinav S25-May-10 23:09
Abhinav S25-May-10 23:09 
QuestionIQueryable to DataTable [modified] Pin
ezeljko25-May-10 20:01
ezeljko25-May-10 20:01 
AnswerRe: IQueryable to DataTable Pin
Abhinav S25-May-10 20:08
Abhinav S25-May-10 20:08 
AnswerRe: IQueryable to DataTable Pin
Peace ON25-May-10 20:17
Peace ON25-May-10 20:17 
GeneralRe: IQueryable to DataTable Pin
ezeljko25-May-10 21:07
ezeljko25-May-10 21:07 
QuestionMessage Removed Pin
25-May-10 19:15
Samiul Aman25-May-10 19:15 

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.