示例#1
0
 //弹出编辑界面
 private void EditBtn_Click(object sender, RoutedEventArgs e)
 {
     editType = 0;
     Edit ed = new Edit();
     ed.Owner = this.Parent as Window;
     ed.Show();
     this.Close();
 }
示例#2
0
 private void MBAddBtn_Click(object sender, RoutedEventArgs e)
 {
     Tools.editType = 1;
     addType = 1;
     Edit ed = new Edit();
     ed.Owner = this;
     ed.Show();         
     
 }