예제 #1
0
        private void btnNewBid_Click(object sender, RoutedEventArgs e)
        {
            var editBid = new Bids();

            editBid.DialogFinished += new EventHandler <WindowEventArgs>(bid_DialogFinished);
            editBid.Show();
        }
예제 #2
0
 private void gridBid_doubleClick(object sender, MouseButtonEventArgs e)
 {
     if (gridBid.SelectedItem == null)
     {
         return;
     }
     else
     {
         var selectedBid = gridBid.SelectedItem as Bid;
         var bid         = new Bids(selectedBid);
         bid.DialogFinished += new EventHandler <WindowEventArgs>(bid_DialogFinished);
         bid.Show();
     }
 }