예제 #1
0
        private void tsmSystemConfiguration_Click(object sender, EventArgs e)
        {
            try
            {
                foreach (TabPage _tab in this.tbcNSites_V.TabPages)
                {
                    if (_tab.Text == "System Configuration")
                    {
                        tbcNSites_V.SelectedTab = _tab;
                        return;
                    }
                }

                SystemConfigurationUI _SystemConfiguration = new SystemConfigurationUI();
                TabPage _SystemConfigurationTab            = new TabPage();
                _SystemConfigurationTab.ImageIndex = 1;
                _SystemConfiguration.ParentList    = this;
                displayControlOnTab(_SystemConfiguration, _SystemConfigurationTab);
            }
            catch (Exception ex)
            {
                ErrorMessageUI em = new ErrorMessageUI(ex.Message, this.Name, "tsmSystemConfiguration_Click");
                em.ShowDialog();
                return;
            }
        }
예제 #2
0
        private void tsmSystemConfiguration_Click(object sender, EventArgs e)
        {
            SystemConfigurationUI _SystemConfiguration = new SystemConfigurationUI();
            TabPage _SystemConfigurationTab            = new TabPage();

            _SystemConfigurationTab.ImageIndex = 1;
            _SystemConfiguration.ParentList    = this;
            displayControlOnTab(_SystemConfiguration, _SystemConfigurationTab);
        }