public Settings() { InitializeComponent(); ReadUserPref(); Ready = true; var c = new HydrometNotifications.UserInterface.NotificationMain(); c.Parent = tabPageNotifications; c.Dock = DockStyle.Fill; c.Visible = true; }
public Settings() { serverSelection1 = new Reclamation.TimeSeries.Forms.Hydromet.ServerSelection(); InitializeComponent(); ReadUserPref(); Ready = true; var c = new HydrometNotifications.UserInterface.NotificationMain(); c.Parent = tabPageNotifications; c.Dock = DockStyle.Fill; c.Visible = true; }
public Settings(bool compilePublic = false) { serverSelection1 = new Reclamation.TimeSeries.Forms.Hydromet.ServerSelection(); InitializeComponent(); ReadUserPref(); Ready = true; var c = new HydrometNotifications.UserInterface.NotificationMain(); c.Parent = tabPageNotifications; c.Dock = DockStyle.Fill; c.Visible = true; if (compilePublic) { groupBox1.Visible = false; this.tabControl1.Controls.Remove(tabPageAlarms); this.tabControl1.Controls.Remove(tabPageLog); this.tabControl1.Controls.Remove(tabPageNotifications); this.checkBoxForceWebService.Checked = Convert.ToBoolean(UserPreference.Lookup("CompilePublic")); } }