コード例 #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);
     }
 }