/// <summary>
 /// 修改
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btn_edit_Click(object sender, RoutedEventArgs e)
 {
     if (LB_Model.SelectedIndex < 0)
     {
         viewModel.ErrorMessage = "请先选择一项";
     }
     else
     {
         FunPage.PopImageEdit window = new FunPage.PopImageEdit();
         window.viewModel.PopModel = viewModel.PopList[LB_Model.SelectedIndex];
         window.viewModel.IsEdit   = true;
         window.ShowDialog();
         GetDate();
     }
 }
 /// <summary>
 /// 创建
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btn_new_Click(object sender, RoutedEventArgs e)
 {
     FunPage.PopImageEdit window = new FunPage.PopImageEdit();
     window.ShowDialog();
     GetDate();
 }