コード例 #1
0
 private void EditItem(object sender, RoutedEventArgs e)
 {
     if (currentID != 0)
     {
         var newWindow = new NewWindow(this, currentID);
         newWindow.Show();
     }
 }
コード例 #2
0
        // MenuItems Logic
        private void MenuItem_Click_New(object sender, RoutedEventArgs e)
        {
            var newWindow = new NewWindow(this);

            newWindow.Show();
        }