Exemple #1
0
        private void profileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            clearboth();
            foreach (Form item in this.MdiChildren)
            {
                item.Dispose();
            }
            ProfileM obj = new ProfileM(username.Text);

            obj.MdiParent = this;
            obj.Dock      = DockStyle.Fill;
            obj.Show();
        }
Exemple #2
0
        private void profileToolStripMenuItem_Click(object sender, EventArgs e)
        {
            txtSearch.Clear();
            foreach (Form item in this.MdiChildren)
            {
                item.Dispose();
            }
            ProfileM obj = new ProfileM(username.Text);

            obj.MdiParent = this;
            obj.Dock      = DockStyle.Fill;
            obj.Show();
            // MessageBox.Show(obj.Size.Width + ":" + obj.Size.Height);
        }