Esempio n. 1
0
        private void showConnectionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            showallconnection newMDIChild = new showallconnection();

            // Set the Parent Form of the Child window.
            if (!CheckForDuplicate(newMDIChild))
            {
                newMDIChild.MdiParent = this;
                // Display the new form.
                newMDIChild.Dock = DockStyle.Fill;
                newMDIChild.Show();
            }
        }
Esempio n. 2
0
        public home()
        {
            InitializeComponent();
            showallconnection newMDIChild = new showallconnection();

            // Set the Parent Form of the Child window.
            if (!CheckForDuplicate(newMDIChild))
            {
                newMDIChild.MdiParent = this;
                // Display the new form.
                newMDIChild.Dock = DockStyle.Fill;
                newMDIChild.Show();
            }
        }