Thread: new screen
View Single Post
  #3 (permalink)  
Old 08-15-2007, 11:30 AM
tha_crazy tha_crazy is offline
Member
 
Join Date: Aug 2007
Posts: 3
tha_crazy is on a distinguished road
Send a message via MSN to tha_crazy
Hmm ok.
But can i also use that in an application ?
because i`m now trying to make a new form using this:

Code:
private void loginToolStripMenuItem_click(Object sender, EventArgs e) { loginform = new System.Windows.Forms.Screen(); loginform.set_AutoScaleDimensions(new System.Drawing.SizeF(6F, 13F)); loginform.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font); loginform.set_ClientSize(new System.Drawing.Size(200, 200)); loginform.get_Controls().Add(this.button1); loginform.get_Controls().Add(this.textBox1); loginform.set_Name("Login"); loginform.set_Text("Login"); loginform.PerformLayout(); }
This just blanks the screen tho.
Reply With Quote