protected override void OnLoad (EventArgs e) {
     ConnectionsForm connections = new ConnectionsForm ();
     connections.StartPosition = FormStartPosition.CenterParent;
     connections.Parent = this;
     connections.Location = new System.Drawing.Point ((Width / 2) - (connections.Width / 2),( Height / 2) - (connections.Height / 2));
     connections.Show ();
 }
Exemple #2
0
        protected override void OnLoad(EventArgs e)
        {
            ConnectionsForm connections = new ConnectionsForm();

            connections.StartPosition = FormStartPosition.CenterParent;
            connections.Parent        = this;
            connections.Location      = new System.Drawing.Point((Width / 2) - (connections.Width / 2), (Height / 2) - (connections.Height / 2));
            connections.Show();
        }