Exemplo n.º 1
0
 private void IncomeToolStripMenuItem_Click(object sender, EventArgs e)
 {
     if (income == null)
     {
         income           = new Income(name);
         income.MdiParent = this;
         income.Show();
     }
     else if (pay == null)
     {
         pay           = new payment();
         pay.MdiParent = this;
         pay.Show();
     }
 }
Exemplo n.º 2
0
 private void toolStripButton2_Click(object sender, EventArgs e)
 {
     pay           = new payment();
     pay.MdiParent = this;
     pay.Show();
 }