Exemplo n.º 1
0
 internal void openForm(Panel Dest, inquiry2 myInq)                //inquary overload
 {
     splRight.Panel2.Controls.Clear();
     splRight.Panel1.Controls.Clear();
     Dest.Controls.Clear();
     myInq.TopLevel        = false;
     myInq.ShowInTaskbar   = false;
     myInq.ControlBox      = false;
     myInq.Text            = "";
     myInq.FormBorderStyle = FormBorderStyle.None;
     Dest.Controls.Add(myInq);
     myInq.Show();
 }
Exemplo n.º 2
0
        private void toolStripButton6_Click(object sender, EventArgs e)
        {
            inquiry2 newInq = new inquiry2(this);

            openForm(splMain1.Panel1, newInq);
        }