示例#1
0
 private void LoadUnit()
 {
     try
     {
         ServiceClient client = new ServiceClient();
         dataTableUnit = client.SelectUnit();
         dataGridViewUnit.DataSource = dataTableUnit;
     }
     catch (Exception ex)
     {
         ExceptionLog.Instance.WriteLog(ex, LogType.UI);
         throw;
     }
 }