示例#1
0
 public void OnStart()
 {
     SLS.Loan.Database.ChargeModeTermDB CM = new SLS.Loan.Database.ChargeModeTermDB();
     while (pnlMain.Controls.Count > 0)
         pnlMain.Controls[0].Dispose();
     CM.TopLevel = false;
     CM.Dock = DockStyle.None;
     CM.Visible = true;
     pnlMain.Visible = true;
     pnlMain.Controls.Add(CM);
 }
示例#2
0
 private void modeTermPayment_Click(object sender, EventArgs e)
 {
     SLS.Loan.Database.ChargeModeTermDB CM = new SLS.Loan.Database.ChargeModeTermDB();
     while (pnlMain.Controls.Count > 0)
         pnlMain.Controls[0].Dispose();
     CM.TopLevel = false;
     CM.Dock = DockStyle.None;
     CM.Visible = true;
     pnlMain.Visible = true;
     pnlMain.Controls.Add(CM);
 }