public LoanTransactionsHistory(MyLoans ml, string id)
 {
     InitializeComponent();
     this.ml = ml;
     this.id = id;
     f       = false;
     this.PopulateGridView();
 }
 private void myLoansBtn_Click(object sender, EventArgs e)
 {
     this.Visible = true;
     if (ml == null)
     {
         ml = new MyLoans(this, ed);
     }
     ml.Visible = true;
 }