Click here to Skip to main content
15,915,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: Access...pass a value from one form to another form Pin
Christian Graus2-Aug-05 16:50
protectorChristian Graus2-Aug-05 16:50 
GeneralGetting assembly name Pin
mikker_1232-Aug-05 16:26
mikker_1232-Aug-05 16:26 
GeneralRe: Getting assembly name Pin
[Marc]2-Aug-05 16:31
[Marc]2-Aug-05 16:31 
GeneralRe: Getting assembly name Pin
mikker_1232-Aug-05 17:12
mikker_1232-Aug-05 17:12 
GeneralProper use of Refresh() and Invalidate() Pin
Mutty2-Aug-05 15:59
Mutty2-Aug-05 15:59 
GeneralRe: Proper use of Refresh() and Invalidate() Pin
mikker_1232-Aug-05 16:20
mikker_1232-Aug-05 16:20 
GeneralRe: Proper use of Refresh() and Invalidate() Pin
Mutty3-Aug-05 2:26
Mutty3-Aug-05 2:26 
GeneralRe: Proper use of Refresh() and Invalidate() Pin
mikker_1233-Aug-05 8:34
mikker_1233-Aug-05 8:34 
This is working for me... even if Refresh in MouseHover is commented... but maybe you should try uncommenting it.

<br />
        private void pictureBox1_MouseHover(object sender, System.EventArgs e)<br />
        {       <br />
            //Refresh();<br />
        }<br />
<br />
        private void pictureBox1_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)<br />
        {        <br />
            Refresh();<br />
        }<br />
<br />
        private void pictureBox1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)<br />
        {<br />
            using (Graphics g = this.CreateGraphics())<br />
            {<br />
                PaintEventArgs pa = new PaintEventArgs(g, this.ClientRectangle);<br />
                g.SmoothingMode = SmoothingMode.AntiAlias;<br />
<br />
                //Draw anything<br />
                pa.Graphics.DrawLine(new Pen(Color.FromArgb(255, 0, 0, 0)), <br />
                    new PointF(MousePosition.X-10, MousePosition.Y+10), <br />
                    new PointF(MousePosition.X-20, MousePosition.Y+20));<br />
            }        <br />
        }<br />


In any case, if you can't get it to work, drop me .cs on pele@zig-zag.net and I'll look into it.

Cheers
GeneralDeleting a Whole Row Pin
tatchung2-Aug-05 15:34
tatchung2-Aug-05 15:34 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 15:52
protectorChristian Graus2-Aug-05 15:52 
GeneralRe: Deleting a Whole Row Pin
mikker_1232-Aug-05 16:08
mikker_1232-Aug-05 16:08 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 16:19
tatchung2-Aug-05 16:19 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 16:50
protectorChristian Graus2-Aug-05 16:50 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 17:10
tatchung2-Aug-05 17:10 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 17:45
protectorChristian Graus2-Aug-05 17:45 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 17:52
tatchung2-Aug-05 17:52 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 17:57
protectorChristian Graus2-Aug-05 17:57 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 18:05
tatchung2-Aug-05 18:05 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 18:07
protectorChristian Graus2-Aug-05 18:07 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 18:13
tatchung2-Aug-05 18:13 
GeneralRe: Deleting a Whole Row Pin
Christian Graus2-Aug-05 18:15
protectorChristian Graus2-Aug-05 18:15 
GeneralRe: Deleting a Whole Row Pin
tatchung2-Aug-05 18:21
tatchung2-Aug-05 18:21 
GeneralRe: Deleting a Whole Row Pin
tatchung4-Aug-05 21:53
tatchung4-Aug-05 21:53 
GeneralRe: Deleting a Whole Row Pin
Christian Graus7-Aug-05 13:18
protectorChristian Graus7-Aug-05 13:18 
GeneralGet control form its NAME Pin
Radgar2-Aug-05 13:15
Radgar2-Aug-05 13: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.