Ejemplo n.º 1
0
        private void changePwdToolStripMenuItem_Click(object sender, EventArgs e)
        {
            VMChangePwd model = new VMChangePwd();

            model.ID = ClientInfo.CurrentUser.Id;
            model    = ViewModelProxy.Proxy(model);

            OpenDialogForm(typeof(ChangePasswordForm), "修改密码", model);
        }
Ejemplo n.º 2
0
 public ChangePasswordForm(VMChangePwd viewModel, string title, EditFormPurpose formPurpose) : base(viewModel, title, formPurpose)
 {
     viewModel.Submitted += OnSubmitted;
 }