Пример #1
0
        private void открытьВсеЛСToolStripMenuItem_Click(object sender, EventArgs e)
        {
            all_user newMDIChild = new all_user();

            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            double w = this.Width;
            int    h = this.Height;

            newMDIChild.Width  = Convert.ToInt16(w * 1);
            newMDIChild.Height = Convert.ToInt16(h * 1);


            // Display the new form.
            newMDIChild.Show();
        }
Пример #2
0
 public searchForm(all_user f1)
 {
     InitializeComponent();
     frm = f1;
 }
Пример #3
0
        private void открытьВсеЛСToolStripMenuItem_Click(object sender, EventArgs e)
        {
            all_user newMDIChild = new all_user();
            // Set the Parent Form of the Child window.
            newMDIChild.MdiParent = this;
            double w = this.Width;
            int h = this.Height;
            newMDIChild.Width = Convert.ToInt16(w* 1);
            newMDIChild.Height = Convert.ToInt16(h * 1);

            // Display the new form.
            newMDIChild.Show();
        }