예제 #1
0
        private void button2_Click(object sender, EventArgs e)
        {

            //stock.Location = new Point(
            //     this.ClientSize.Width / 2 - stock.Size.Width / 2,
            //    this.ClientSize.Height / 2 - stock.Size.Height / 2);
            //stock.Anchor = AnchorStyles.None;

       stock.Show();
       frm1.Hide();
       cust.Hide();
       rep.Hide();
       deal.Hide();
       ab.Hide();
       back.Hide();
       this.Hide();
        }
 public Form2(Form1 incoming)
 {
     InitializeComponent();
     original = incoming;
     original.Hide();
 }