예제 #1
0
파일: Form1.cs 프로젝트: JanRads/Utilities
 public void DataLoading()
 {
     StatusLabelDataLoading.ForeColor = Color.Red;
     StatusLabelDataLoading.Text      = "Loading Excel Date...";
     DataLoadingByExcel.CreateDataLoading(Properties.Settings.Default.pathPHA + @"scripts\input\");
     StatusLabelDataLoading.ForeColor = Color.Green;
     StatusLabelDataLoading.Text      = "Data Loaded Successfully - " + DateTime.Now.ToString();;
 }
예제 #2
0
 public void DataLoading()
 {
     try
     {
         StatusLabelDataLoading.ForeColor = Color.Red;
         StatusLabelDataLoading.Text      = "Loading Excel Date...";
         DataLoadingByExcel.CreateDataLoading(Properties.Settings.Default.pathPHA + @"scripts\input\");
         StatusLabelDataLoading.ForeColor = Color.Green;
         StatusLabelDataLoading.Text      = "Data Loaded Successfully - " + DateTime.Now.ToString();
     }
     catch (Exception ex)
     {
         Console.Write(ex.Message);
     }
 }