private void button_search_Direct_Click(object sender, EventArgs e)
 {
     LedgerForm lf = new LedgerForm();
     lf.myTab.SelectedIndex = 1;
     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();
 }