예제 #1
0
        private void NewGadget_Click(object sender, RoutedEventArgs e)
        {
            addGadget addWindow = new addGadget();

            addWindow.Show();
            addWindow.Closed += delegate(object s, EventArgs a)
            {
                RefreshGadgets();
            };
        }
예제 #2
0
 private void NewGadget_Click(object sender, RoutedEventArgs e)
 {
     addGadget addWindow = new addGadget();
     addWindow.Show();
     addWindow.Closed += delegate(object s, EventArgs a)
     {
         RefreshGadgets();
     };
 }