Click here to Skip to main content
15,892,839 members
Home / Discussions / C#
   

C#

 
GeneralRe: Making one user control aware of another Pin
leppie8-Jul-03 8:34
leppie8-Jul-03 8:34 
GeneralRe: Making one user control aware of another Pin
Not Active8-Jul-03 9:54
mentorNot Active8-Jul-03 9:54 
GeneralHere's my code so far Pin
frogb0x8-Jul-03 10:32
frogb0x8-Jul-03 10:32 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 13:34
leppie8-Jul-03 13:34 
GeneralRe: Here's my code so far Pin
frogb0x8-Jul-03 13:35
frogb0x8-Jul-03 13:35 
GeneralRe: Here's my code so far Pin
leppie8-Jul-03 14:05
leppie8-Jul-03 14:05 
GeneralSetting form location Pin
mcgahanfl8-Jul-03 7:32
mcgahanfl8-Jul-03 7:32 
GeneralRe: Setting form location Pin
dynamic8-Jul-03 9:40
dynamic8-Jul-03 9:40 
C#:
<font color="#0000FF">private</font> <font color="blue">void</font><font color="blue"></font> button2_Click(<font color="#0000FF">object</font> sender,<font color="blue"></font> System.EventArgs e) <br> 	{ <br> 		Form2 frm=<font color="#0000FF">new</font> Form2(<font color="blue"></font><font color="blue"></font>); <br> 		<font color="#0000FF">int</font> x=<font color="#0000FF">this</font>.Location.X; <br> 		<font color="#0000FF">int</font> y=<font color="#0000FF">this</font>.Location.Y; <br> 		frm.Show(<font color="blue"></font><font color="blue"></font>); <br> 		frm.Location=<font color="#0000FF">new</font> Point(x-10,y-10); <font color="DarkGreen">// offset Form2 by 10 pixels X and Y from Form1 <br></font><br> 	} <br> 



hope it helps Smile | :)



Vb:
<font color="blue">Public Function</font> TwinsOnWay(<font color="blue">ByVal</font> twins <font color="blue">As String</font>) <font color="blue">As String <br>     Select Case</font> twins<br>         <font color="blue">Case</font> "Gender" <br>             <font color="blue">Return</font> "Two Girls" <br>     <font color="blue">End Select <br> End Function</font> <br> 


GeneralRe: Setting form location Pin
mcgahanfl8-Jul-03 10:08
mcgahanfl8-Jul-03 10:08 
GeneralCreate Image With Text Pin
Werdna8-Jul-03 6:54
Werdna8-Jul-03 6:54 
GeneralRichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 6:17
STW8-Jul-03 6:17 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
dynamic8-Jul-03 9:25
dynamic8-Jul-03 9:25 
GeneralRe: RichTextBox: How to get the count of tabs in a TextLine Pin
STW8-Jul-03 10:43
STW8-Jul-03 10:43 
QuestionChanging listview icons? Pin
Manster8-Jul-03 4:57
Manster8-Jul-03 4:57 
GeneralBounds Checker in C# / .NET Pin
NKH8-Jul-03 4:23
NKH8-Jul-03 4:23 
GeneralRe: Bounds Checker in C# / .NET Pin
leppie8-Jul-03 7:41
leppie8-Jul-03 7:41 
GeneralRe: Bounds Checker in C# / .NET Pin
Kant8-Jul-03 16:40
Kant8-Jul-03 16:40 
GeneralRe: Bounds Checker in C# / .NET Pin
Daniel Turini9-Jul-03 4:14
Daniel Turini9-Jul-03 4:14 
GeneralRe: Bounds Checker in C# / .NET Pin
James T. Johnson9-Jul-03 6:14
James T. Johnson9-Jul-03 6:14 
Generalclosing an open form Pin
.gonad8-Jul-03 4:08
.gonad8-Jul-03 4:08 
GeneralRe: closing an open form Pin
zuhx8-Jul-03 10:29
zuhx8-Jul-03 10:29 
GeneralRe: closing an open form Pin
.gonad8-Jul-03 15:46
.gonad8-Jul-03 15:46 
GeneralUpdating a data table Pin
totig8-Jul-03 1:03
totig8-Jul-03 1:03 
GeneralRe: Updating a data table Pin
Rocky Moore8-Jul-03 1:13
Rocky Moore8-Jul-03 1:13 
GeneralRe: Updating a data table Pin
totig8-Jul-03 1:26
totig8-Jul-03 1:26 

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.