iControl.Dialogs.ConnectionDialog.ConnectionDialog_Load C# (CSharp) Method

ConnectionDialog_Load() private method

private ConnectionDialog_Load ( object sender, System e ) : void
sender object
e System
return void
        private void ConnectionDialog_Load(object sender, System.EventArgs e)
        {
            int newX = centerX - (this.Width/2);
            int newY = centerY - (this.Height/2);
            //this.SetDesktopLocation(newX, newY);
            m_ci.clear();

            this.Show();

            // load up the child keys
            HostnameComboBox.Items.AddRange(m_ci.getAccounts());

            fillupForm(m_ci.getLastAccount());
        }