示例#1
0
文件: Settings.cs 项目: lulzzz/Pisces
        public Settings()
        {
            InitializeComponent();
            ReadUserPref();
            Ready = true;
            var c = new HydrometNotifications.UserInterface.NotificationMain();

            c.Parent  = tabPageNotifications;
            c.Dock    = DockStyle.Fill;
            c.Visible = true;
        }
示例#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;
        }
示例#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"));
            }
        }