예제 #1
0
파일: Form1.cs 프로젝트: BioNoob/Test_task
 private void Refresh_btn_Click(object sender, EventArgs e)
 {
     try
     {
         Cond_lbl.Text       = intcond;
         base_dGV.DataSource = CurrencyBuilder.LoadBase();
         Cond_lbl.Text      += "Обновлено";
     }
     catch (Exception ee)
     {
         Cond_lbl.Text += ee.Message;
     }
 }
예제 #2
0
파일: Form1.cs 프로젝트: BioNoob/Test_task
 public Form1()
 {
     InitializeComponent();
     intcond = Cond_lbl.Text;
     dateTimePicker1.Value = DateTime.Now;
     try
     {
         base_dGV.DataSource = CurrencyBuilder.LoadBase();
         Cond_lbl.Text      += "Загружено";
     }
     catch (Exception e)
     {
         Cond_lbl.Text += e.Message;
     }
 }