Exemple #1
0
 //贷款分析
 private void DebtAnalysisToolStripBtn_Click(object sender, EventArgs e)
 {
     try
     {
         closeOpenedForm(typeof(DebtAnalysisDlg), this);
         DebtAnalysisDlg debtAnaDlg = new DebtAnalysisDlg();
         debtAnaDlg.MdiParent = this;
         debtAnaDlg.Dock      = DockStyle.Fill;
         debtAnaDlg.Show();
     }
     catch (Exception ex)
     {
         IMessageBox.ShowWarning(ex.Message);
     }
 }
Exemple #2
0
 protected override void SaveButtonCall()
 {
     try
     {
         BuildDebtModelInstance();
         xmlTools.UpdateXML("DebtSetting.xml", debt);
         IsSavedOK = true;
         DebtAnalysisDlg debtAnaDlg = new DebtAnalysisDlg();
         debtAnaDlg.MdiParent = GlobalObject.MainForm;
         debtAnaDlg.Dock      = DockStyle.Fill;
         debtAnaDlg.Show();
     }
     catch (Exception ex)
     {
         IsSavedOK = false;
         IMessageBox.ShowWarning(ex.Message);
     }
     base.SaveButtonCall();
 }