//修改事件 private void modify_password_Click(object sender, RoutedEventArgs e) { ModifyPassword mp = new ModifyPassword(); this.Close(); mp.ShowDialog(); }
//修改 private void modify_password_Click(object sender, RoutedEventArgs e) { ModifyPassword mp = new ModifyPassword(); mp.ShowDialog(); //调用修改密码窗口 }