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(); }
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; }
public void ehUpdate(CSpecialPanel aSender) { LookupSecurity(); }
protected void ehUpdate(CSpecialPanel aSender) { _chEnabledParam.Checked = RsViewEngine.ProfileManager.Profile.Settings.EmbeddedParamEdit.Enabled; }
protected void ehUpdate(CSpecialPanel aSender) { LookupLanguages(); }