a few questions [Archive] - C Board

PDA

View Full Version : a few questions


seanbedford
01-14-2002, 11:08 PM
hey, ive just got a few simple questions for ya.
Im looking at doing up a nice interface for an old program i have and im just wondering how do I?
1. Reset a checkbox
2. open up a new window from an existing one, ie/ when a user clicks on a button, open up say a window to input data

I think thats bout all i got. thanx for ya help
Sean

-KEN-
01-26-2002, 11:40 AM
1. I don't know, but I'm sure there's CheckBox.SetValue() or CheckBox.Value(), etc. which you could use. Look around the class.


2.:

class Window : Form
{
....
}

Button1_Click(...)
{
Application.Run(new Window())
}