Click here to Skip to main content
15,919,423 members
Home / Discussions / C#
   

C#

 
GeneralRe: A Design question [offtopic?] Pin
Skynyrd25-Jan-05 12:47
Skynyrd25-Jan-05 12:47 
GeneralRe: A Design question [offtopic?] Pin
moredip25-Jan-05 13:45
moredip25-Jan-05 13:45 
GeneralRe: A Design question [offtopic?] Pin
Anonymous25-Jan-05 21:56
Anonymous25-Jan-05 21:56 
GeneralCOM Port in Visual C# 2005 Pin
Juan Pablo G.C.25-Jan-05 9:08
Juan Pablo G.C.25-Jan-05 9:08 
GeneralRe: COM Port in Visual C# 2005 Pin
Stefan Troschuetz25-Jan-05 21:41
Stefan Troschuetz25-Jan-05 21:41 
GeneralCOM Port in Visual C# 2005 Pin
Juan Pablo G.C.25-Jan-05 9:06
Juan Pablo G.C.25-Jan-05 9:06 
GeneralRe: COM Port in Visual C# 2005 Pin
warnerja26-Jan-05 12:09
warnerja26-Jan-05 12:09 
GeneralHierachy on windows without MDI Pin
jpgarcia25-Jan-05 8:57
jpgarcia25-Jan-05 8:57 
I'm a non expert programmer and well I'm making a program that reads from a file how many 'child' 'style1.cs' windows to open (gets a name for each one from it).

1.- So how can I create N windows 'style1.cs'?, I mean,
style1 c_1 = new style();
and being accesible for ALL the Form1 code when on_load, because if I put

public void Form1_Load(object sender, EventArgs e)
{
//Read window number and name
style c_1 = new style();
//Read window number and name
style c_2 = new style();
}

it doesnt work.

1,5.- An embarrasing question, how can I made a for loop to do it with c_x?


2.- Can I made hierachy for 'style1' windows with the Form1 without MDI, because some things as moving it with non-border doesnt work. I mean, something like
c_1.Parent = this; //non MDI (written in Form1.cs)
...
int x= c_1.Parent.Location.X; //(written in 'child'.cs)


NOTE: I dont want to use FindWindow AND because FindWindow cant be never a solution for the same program, and other, I'm sure that there is a new function in c# in some System... to do that.

Thanks for reading,


Juan Pablo García Coello. Electronic Engineer.
Tenerife, Spain.
Generalevent handling Pin
rchokler25-Jan-05 7:18
rchokler25-Jan-05 7:18 
GeneralRe: event handling Pin
Stefan Troschuetz25-Jan-05 21:25
Stefan Troschuetz25-Jan-05 21:25 
GeneralSpeed Hack Pin
Budi Zhu25-Jan-05 6:30
Budi Zhu25-Jan-05 6:30 
GeneralRe: Speed Hack Pin
Alex Korchemniy25-Jan-05 6:39
Alex Korchemniy25-Jan-05 6:39 
GeneralRe: Speed Hack Pin
Budi Zhu25-Jan-05 7:22
Budi Zhu25-Jan-05 7:22 
GeneralRe: Speed Hack Pin
Dave Kreskowiak25-Jan-05 8:26
mveDave Kreskowiak25-Jan-05 8:26 
GeneralRe: Speed Hack Pin
Budi Zhu25-Jan-05 11:27
Budi Zhu25-Jan-05 11:27 
GeneralRe: Speed Hack Pin
Dave Kreskowiak25-Jan-05 14:43
mveDave Kreskowiak25-Jan-05 14:43 
GeneralRe: Speed Hack Pin
Robert Rohde25-Jan-05 19:12
Robert Rohde25-Jan-05 19:12 
GeneralVb.net to C# conversion Pin
MyThread25-Jan-05 6:23
MyThread25-Jan-05 6:23 
GeneralRe: Vb.net to C# conversion Pin
bneacetp25-Jan-05 18:55
bneacetp25-Jan-05 18:55 
GeneralRe: Vb.net to C# conversion Pin
Dave Doknjas29-Jan-05 7:51
Dave Doknjas29-Jan-05 7:51 
GeneralRetrieve VBA-DAO inserted Blob Data into Access Pin
Paul Kennedy25-Jan-05 5:57
Paul Kennedy25-Jan-05 5:57 
GeneralDLL Version number Pin
PaleyX25-Jan-05 5:15
PaleyX25-Jan-05 5:15 
GeneralRe: DLL Version number Pin
Dennis C. Dietrich25-Jan-05 5:42
Dennis C. Dietrich25-Jan-05 5:42 
GeneralStrange Errors, Behavior Pin
tdciDoug25-Jan-05 4:41
tdciDoug25-Jan-05 4:41 
GeneralUrgent!!PLEASE Pin
innocent7325-Jan-05 4:41
innocent7325-Jan-05 4:41 

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.