Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            OfficeMas officeMas = new OfficeMas("");

            officeMas.MdiParent     = this.MdiParent;
            officeMas.Dock          = DockStyle.Fill;
            officeMas.StartPosition = FormStartPosition.CenterParent;
            officeMas.Show();
        }
Beispiel #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     OfficeMas frmpayment = new OfficeMas("");
     //String s=frmpayment.Text;
     //if (!CheckForm(frmpayment))
     {
         frmpayment.MdiParent = this;
         frmpayment.Dock      = DockStyle.Fill;
         frmpayment.Show();
     }
 }