예제 #1
0
        public void AddPanel(CSpecialPanel aPanel)
        {
            //this.SuspendLayout();

            aPanel.Anchor   = (AnchorStyles)(AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top);
            aPanel.Location = new Point(0, 0);
            aPanel.Size     = new Size(this.ClientRectangle.Width, aPanel.Height);
            aPanel.Resize  += new EventHandler(EH_CtlResized);
            this.Controls.Add(aPanel);

            //this.ResumeLayout();
        }
예제 #2
0
        protected void ehUpdate(CSpecialPanel aSender)
        {
            RsOfflineConfig lData = RsViewEngine.ProfileManager.Profile.Settings.Offline;

            _chEnabled.Checked     = lData.Enabled;
            _ctlUnit.SelectedIndex = lData.Timeout % 60 == 0 ? 1 : 0;
            _eTimeout.Text         = (lData.Timeout % 60 == 0 ? lData.Timeout / 60 : lData.Timeout).ToString();

            _bApply.Enabled   = _chEnabled.Checked;
            _eTimeout.Enabled = _chEnabled.Checked;
            _ctlUnit.Enabled  = _chEnabled.Checked;
        }
예제 #3
0
 public void ehUpdate(CSpecialPanel aSender)
 {
     LookupSecurity();
 }
예제 #4
0
 protected void ehUpdate(CSpecialPanel aSender)
 {
     _chEnabledParam.Checked = RsViewEngine.ProfileManager.Profile.Settings.EmbeddedParamEdit.Enabled;
 }
예제 #5
0
 protected void ehUpdate(CSpecialPanel aSender)
 {
     LookupLanguages();
 }
예제 #6
0
 public void ehUpdate(CSpecialPanel aSender)
 {
     LookupSecurity();
 }
예제 #7
0
        protected void ehUpdate(CSpecialPanel aSender)
        {
            RsOfflineConfig lData = RsViewEngine.ProfileManager.Profile.Settings.Offline;

            _chEnabled.Checked = lData.Enabled;
            _ctlUnit.SelectedIndex = lData.Timeout % 60 == 0 ? 1 : 0;
            _eTimeout.Text = (lData.Timeout % 60 == 0 ? lData.Timeout / 60 : lData.Timeout).ToString();

            _bApply.Enabled = _chEnabled.Checked;
            _eTimeout.Enabled = _chEnabled.Checked;
            _ctlUnit.Enabled = _chEnabled.Checked;
        }
예제 #8
0
 protected void ehUpdate(CSpecialPanel aSender)
 {
     LookupLanguages();
 }
예제 #9
0
 protected void ehUpdate(CSpecialPanel aSender)
 {
     _chEnabledParam.Checked = RsViewEngine.ProfileManager.Profile.Settings.EmbeddedParamEdit.Enabled;
 }
예제 #10
0
        public void AddPanel(CSpecialPanel aPanel)
        {
            //this.SuspendLayout();

            aPanel.Anchor = (AnchorStyles)(AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top);
            aPanel.Location = new Point(0, 0);
            aPanel.Size = new Size(this.ClientRectangle.Width, aPanel.Height);
            aPanel.Resize += new EventHandler(EH_CtlResized);
            this.Controls.Add(aPanel);

            //this.ResumeLayout();
        }