Ejemplo n.º 1
0
        public Settings()
        {
            InitializeComponent();
            ReadUserPref();
            Ready = true;
            var c = new HydrometNotifications.UserInterface.NotificationMain();

            c.Parent  = tabPageNotifications;
            c.Dock    = DockStyle.Fill;
            c.Visible = true;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 3
0
        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"));
            }
        }