Example #1
0
File: home.cs Project: raryin/dp2
 private void salesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (s2 == null)
     {
         s2             = new Sales();
         s2.MdiParent   = this;
         s2.FormClosed += new FormClosedEventHandler(s2_FormClosed);
         s2.Show();
     }
     else
     {
         s2.Activate();
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     Sales sales = new Sales();
     sales.Show();
 }
 private void salesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Sales sales = new Sales();
     sales.Show();
 }
Example #4
0
        private void salesToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Sales sales = new Sales();

            sales.Show();
        }
Example #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            Sales sales = new Sales();

            sales.Show();
        }
        private void salesProductToolStripMenuItem_Click_1(object sender, EventArgs e)
        {
            Sales s = new Sales();

            s.Show();
        }