예제 #1
0
 //create new Edit dialog and populate it with selected titlebasic object and display
 private void Edit_Button_Click(object sender, RoutedEventArgs e)
 {
     if (titleBasicID != null)
     {
         EditTitleBasicForm edit = new EditTitleBasicForm();
         edit.GetTitleBasicByID(titleBasicID);
         edit.Show();
     }
 }
예제 #2
0
        //create new blank Edit dialog and display
        private void btnAdd_Click(object sender, RoutedEventArgs e)
        {
            EditTitleBasicForm edit = new EditTitleBasicForm();

            edit.Show();
        }