public MainServerForm()
        {
            if (instance != null)
            {
                throw new Exception("Cannot create more than one instance of MainServerForm.");
            }
            instance = this;

            InitializeComponent();

            this.Text = "Atticus Server " + DataStructures.Information.VersionString;

            AtticusSplashForm splash = new AtticusSplashForm();

            splash.Show();

            this.serverNameTextBox.Text = AtticusServer.server.serverSettings.ServerName;
            this.listBox1.Items.Clear();

            foreach (DeviceSettings ds in AtticusServer.server.serverSettings.myDevicesSettings.Values)
            {
                this.listBox1.Items.Add(ds);
            }

            hcList.Items.Clear();
            foreach (HardwareChannel hc in AtticusServer.server.MyHardwareChannels)
            {
                hcList.Items.Add(hc);
            }

            serverSettingsPropertyGrid.SelectedObject = AtticusServer.server.serverSettings;

            updateHardwareChannelCount();
        }
        public MainServerForm()
        {
            if (instance != null)
            {
                throw new Exception("Cannot create more than one instance of MainServerForm.");
            }
            instance = this;

            InitializeComponent();

            this.Text = "Atticus Server " + DataStructures.Information.VersionString;

            AtticusSplashForm splash = new AtticusSplashForm();
            splash.Show();

            this.serverNameTextBox.Text = AtticusServer.server.serverSettings.ServerName;
            this.listBox1.Items.Clear();

            foreach (DeviceSettings ds in AtticusServer.server.serverSettings.myDevicesSettings.Values)
            {
                this.listBox1.Items.Add(ds);
            }

            hcList.Items.Clear();
            foreach (HardwareChannel hc in AtticusServer.server.MyHardwareChannels)
            {
                hcList.Items.Add(hc);
            }

            serverSettingsPropertyGrid.SelectedObject = AtticusServer.server.serverSettings;

            updateHardwareChannelCount();
        }
        private void splashScreenToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AtticusSplashForm spl = new AtticusSplashForm(false);

            spl.ShowDialog();
        }
 private void splashScreenToolStripMenuItem_Click(object sender, EventArgs e)
 {
     AtticusSplashForm spl = new AtticusSplashForm(false);
     spl.ShowDialog();
 }