Пример #1
0
        private void btnOk_Click(object sender, RoutedEventArgs e)
        {
            string reportId = txtReportId.Text;

            if (String.IsNullOrEmpty(reportId) == true)
            {
                return;
            }
            UpdateOutsoleReleaseMaterialWindow window = new UpdateOutsoleReleaseMaterialWindow(account, reportId, releaseTo);

            window.Show();
        }
Пример #2
0
 private void lvReportId_MouseDoubleClick(object sender, MouseButtonEventArgs e)
 {
     if (e.ChangedButton == MouseButton.Left)
     {
         object reportId = lvReportId.SelectedItem;
         if (reportId == null)
         {
             return;
         }
         UpdateOutsoleReleaseMaterialWindow window = new UpdateOutsoleReleaseMaterialWindow(account, reportId.ToString(), releaseTo);
         window.Show();
     }
 }