Click here to Skip to main content
15,913,944 members
Home / Discussions / C#
   

C#

 
GeneralRe: Don't Doubt:Help Me And Get Money Pin
Pradeep C27-Mar-04 15:50
Pradeep C27-Mar-04 15:50 
GeneralProblem using Dll in .net Pin
naresh_pandey1326-Mar-04 21:20
naresh_pandey1326-Mar-04 21:20 
GeneralRe: Problem using Dll in .net Pin
Heath Stewart26-Mar-04 21:40
protectorHeath Stewart26-Mar-04 21:40 
GeneralRe: Problem using Dll in .net Pin
Peter Nirschl27-Mar-04 0:57
Peter Nirschl27-Mar-04 0:57 
GeneralRe: Problem using Dll in .net Pin
Nick Parker27-Mar-04 4:40
protectorNick Parker27-Mar-04 4:40 
GeneralRe: Problem using Dll in .net Pin
Heath Stewart27-Mar-04 5:35
protectorHeath Stewart27-Mar-04 5:35 
GeneralRe: Problem using Dll in .net Pin
Peter Nirschl27-Mar-04 6:20
Peter Nirschl27-Mar-04 6:20 
Generalmove form Pin
Rob Tomson26-Mar-04 20:33
Rob Tomson26-Mar-04 20:33 
if i have a mdi child form within a mdi form and i want to restrict the child so it can't move outside of the parent form, how would i do this? this is what i have but when i'm moving the child form i get some weird painting effects.

protected override void OnMove(System.EventArgs e)<br />
{<br />
    if (this.Left <= this.Parent.Left)<br />
        this.Location = new System.Drawing.Point(this.Parent.Left, this.Location.Y);<br />
    if (this.Right >= this.Parent.Right - 3)<br />
        this.Location = new System.Drawing.Point(this.Parent.Right - this.Size.Width - 4, this.Location.Y);<br />
    if (this.Top <= this.Parent.Top)<br />
        this.Location = new System.Drawing.Point(this.Location.X, this.Parent.Top);<br />
    if (this.Bottom >= this.Parent.Bottom - 3)<br />
        this.Location = new System.Drawing.Point(this.Location.X, this.Parent.Bottom - this.Size.Height - 4);<br />
    base.OnMove(e);<br />
}<br />


thanks,
Rob Tomson

--
There are 10 kinds of people. Those who understand binary and those who don't.

GeneralRe: move form Pin
Heath Stewart26-Mar-04 21:10
protectorHeath Stewart26-Mar-04 21:10 
GeneralRe: move form Pin
Rob Tomson26-Mar-04 21:58
Rob Tomson26-Mar-04 21:58 
GeneralRe: move form Pin
Heath Stewart26-Mar-04 22:32
protectorHeath Stewart26-Mar-04 22:32 
GeneralRe: move form Pin
Rob Tomson26-Mar-04 23:09
Rob Tomson26-Mar-04 23:09 
GeneralRe: move form Pin
Heath Stewart27-Mar-04 5:23
protectorHeath Stewart27-Mar-04 5:23 
GeneralRe: move form Pin
Rob Tomson28-Mar-04 20:07
Rob Tomson28-Mar-04 20:07 
GeneralRe: move form Pin
Heath Stewart29-Mar-04 3:13
protectorHeath Stewart29-Mar-04 3:13 
GeneralAdo.Net using c# Pin
naresh_pandey1326-Mar-04 19:30
naresh_pandey1326-Mar-04 19:30 
GeneralRe: Ado.Net using c# Pin
Heath Stewart26-Mar-04 20:15
protectorHeath Stewart26-Mar-04 20:15 
GeneralRe: Ado.Net using c# Pin
naresh_pandey1326-Mar-04 21:23
naresh_pandey1326-Mar-04 21:23 
GeneralRe: Ado.Net using c# Pin
Jiten_Soni30-Mar-04 18:00
Jiten_Soni30-Mar-04 18:00 
GeneralRe: Ado.Net using c# Pin
Heath Stewart31-Mar-04 3:04
protectorHeath Stewart31-Mar-04 3:04 
Generalan SMTP problem Pin
Liang Yitao26-Mar-04 19:07
Liang Yitao26-Mar-04 19:07 
GeneralRe: an SMTP problem Pin
Heath Stewart26-Mar-04 20:03
protectorHeath Stewart26-Mar-04 20:03 
GeneralOlap and XML/a Pin
naresh_pandey1326-Mar-04 17:08
naresh_pandey1326-Mar-04 17:08 
GeneralRe: Olap and XML/a Pin
Heath Stewart26-Mar-04 18:01
protectorHeath Stewart26-Mar-04 18:01 
GeneralShow/Hide form using remoting Pin
johnstacey26-Mar-04 13:07
johnstacey26-Mar-04 13:07 

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.