コード例 #1
0
ファイル: Work.cs プロジェクト: dev-JongHeon/Team2_GoodeeB2KE
 private void GetProduce()
 {
     if (dgvWorkList.Rows.Count > 0)
     {
         string id = SettingID(dgvWorkList, 0);
         try
         {
             ProduceService service = new ProduceService();
             produces = service.GetProduceByWorkID(id);
         }
         catch (Exception err)
         {
             Log.WriteError(err.Message, err);
         }
     }
 }
コード例 #2
0
 private void GetPerformance()
 {
     if (dgvProduce.SelectedRows.Count > 0)
     {
         string id = SettingID(dgvProduce, 1);
         try
         {
             ProduceService service = new ProduceService();
             performances = service.GetPerformanceByProduceID(id);
         }
         catch (Exception err)
         {
             Log.WriteError(err.Message, err);
         }
     }
 }