コード例 #1
0
 private void sendRequestButton_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         request.CreateDate = DateTime.Now;
         int key = bl.AddRequest(request);
         lst.Add(bl.GetRequest(key));
         lstView.Items.Refresh();
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message);
     }
     finally
     {
         this.Close();
     }
 }