예제 #1
0
 private void btCreate_Click(object sender, EventArgs e)
 {
     try
     {
         FormCreateCardboardFormat form = new FormCreateCardboardFormat();
         if (DialogResult.OK == form.ShowDialog())
         {
             PLMPackServiceClient client = WCFClientSingleton.Instance.Client;
             client.CreateNewCardboardFormat(form.FormatName, form.Description, form.FormatWidth, form.FormatHeight);
             FillListView();
         }
     }
     catch (Exception ex)
     {
         _log.Error(ex.ToString());
     }
 }
예제 #2
0
 private void btCreate_Click(object sender, EventArgs e)
 {
     try
     {
         FormCreateCardboardFormat form = new FormCreateCardboardFormat();
         if (DialogResult.OK == form.ShowDialog())
         {
             PLMPackServiceClient client = WCFClientSingleton.Instance.Client;
             client.CreateNewCardboardFormat(form.FormatName, form.Description, form.FormatWidth, form.FormatHeight);
             FillListView();
         }
     }
     catch (Exception ex)
     {
         _log.Error(ex.ToString());
     }
 }