furiousferret
Member
- Joined
- Dec 21, 2005
- Messages
- 16
- Programming Experience
- 1-3
The application I am writing has several different interfaces that the user can go to with the press of a button. Now, currently, the user selects a screen with the press of a button, and rest are hidden (see below)
[/COLOR]
My question is a 2 part one:
Is this the most efficient / clean way to work with multiple interfaces?
and
If I have a config setting where the user can add and remove certain screens, is it better to just create them when the config file is read or to just keep the screens hidden?
VB.NET:
[SIZE=2]ifaceScreen.Visible = [/SIZE][SIZE=2][COLOR=#0000ff]False
[/COLOR][/SIZE][SIZE=2]buttonSet1.Visible = [/SIZE][SIZE=2][COLOR=#0000ff]False[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]buttonSet2.Visible = False
[/COLOR][/SIZE][SIZE=2]AxWebBrowser1.Visible = [/SIZE][SIZE=2][COLOR=#0000ff]False[/COLOR][/SIZE]
[SIZE=2][COLOR=#0000ff]AxWebBrowser2.Visible = False
[/COLOR][/SIZE][SIZE=2]DataGrid1.Visible = [/SIZE][SIZE=2][COLOR=#0000ff]True[/COLOR][/SIZE]
[COLOR=#0000ff]
My question is a 2 part one:
Is this the most efficient / clean way to work with multiple interfaces?
and
If I have a config setting where the user can add and remove certain screens, is it better to just create them when the config file is read or to just keep the screens hidden?