예제 #1
0
 private void btn_Click(object sender, EventArgs e)
 {
     try
     {
         VariableDataSetDefinition frm = new VariableDataSetDefinition();
         DialogResult rtn = frm.ShowDialog();
         if (rtn != DialogResult.OK)
         {
             return;
         }
         ExportDataForlistbox();
     }
     catch (Exception ex)
     {
         Logger.LogError(ex);
     }
 }
예제 #2
0
 private void btnEdit_Click(object sender, EventArgs e)
 {
     try
     {
         if (lstAvailable.SelectedItem == null)
         {
             return;
         }
         string str = lstAvailable.GetItemText(lstAvailable.SelectedItem);
         VariableDataSetDefinition frm = new VariableDataSetDefinition(str);
         DialogResult rth = frm.ShowDialog();
         ExportDataForlistbox();
     }
     catch (Exception ex)
     {
         Logger.LogError(ex);
     }
 }