コード例 #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     SchoolManage.AddProvinceWindow apw = new SchoolManage.AddProvinceWindow();
     apw.vm_ProvinceEditWindow.IsEdit = false;
     apw.ShowDialog();
     DataBinding();
 }
コード例 #2
0
 private void editmenu_Click(object sender, RoutedEventArgs e)
 {
     SchoolManage.AddProvinceWindow apw = new SchoolManage.AddProvinceWindow();
     apw.vm_ProvinceEditWindow.ProvinceModel = LBlsit.Items[LBlsit.SelectedIndex] as AMS.Model.AMS_Province;
     apw.vm_ProvinceEditWindow.IsEdit        = true;
     apw.ShowDialog();
     DataBinding();
 }