Пример #1
0
 private void btnAddNew_Click(object sender, EventArgs e)
 {
     this.activeAction = "ADD EXPENSES";
     frmManageExpenses me = new frmManageExpenses();
     me.fe = this;
     me.lblHeader.Text = this.activeAction;
     me.ShowDialog();
 }
Пример #2
0
 private void editToolStripMenuItem_Click(object sender, EventArgs e)
 {
     this.activeAction = "EDIT EXPENSES";
     frmManageExpenses me = new frmManageExpenses();
     me.editmode = true;
     me.fe = this;
     me.lblHeader.Text = this.activeAction;
     me.active_expenses_id =Convert.ToDouble(lsvView.SelectedItems[0].Text);
     me.ShowDialog();
 }