private void button_NewLedgerDirect_Click(object sender, EventArgs e)
 {
     LedgerForm lf = new LedgerForm();
     lf.myTab.SelectedIndex = 0;
     lf.giveMemberUserName(userName);
     lf.Show();
     this.Hide();
 }
 private void button_GeneralLedger_Click(object sender, EventArgs e)
 {
     LedgerForm l = new LedgerForm();
     l.giveMemberUserName(userName);
     l.myTab.SelectedIndex = 0;
     l.Show();
     this.Hide();
 }