public EditEmployeeWindow(EditEmployeeWindowMainView v)
        {
            this.view = v;
            InitializeComponent();
            //视图模型补充

            //赋值
            this.DataContext    = view;
            tabFrameMain.Source = new Uri("/views/EmployeeBaseInfoPage.xaml", UriKind.Relative);
        }
        private void editInfo_Click(object sender, RoutedEventArgs e)
        {
            AyImageButton img = sender as AyImageButton;

            if (img != null)
            {
                EmployeeInfo emp = img.Tag as EmployeeInfo;
                //MessageBox.Show("编辑员工ID:" + empNo);
                EditEmployeeWindowMainView view = new EditEmployeeWindowMainView();
                view.MainTitle = "员工信息-" + emp.Name;
                view.Nation    = "342457198912143675";
                view.EmpName   = emp.Name;
                view.EmpNo     = emp.EmployeeNo;
                EditEmployeeWindow w = new EditEmployeeWindow(view);
                w.ShowDialog();
            }
        }