public Reg_win(Profile_win prof, CustomList cust) { InitializeComponent(); Title = "Редактирование"; b_reg.Click += B_edit_Click; this.prof = prof; id = cust.id; old_login = tb_login.Text = cust.login; tb_name.Text = cust.fname; tb_sname.Text = cust.sname; tb_pname.Text = cust.pname; tb_mail.Text = cust.mail; date_birth.Text = cust.birthday; tb_pass.Password = tb_repass.Password = cust.pass; }
private void B_prof_Click(object sender, RoutedEventArgs e) { Profile_win profile = new Profile_win(this); profile.Show(); }
public Passreq_win(Profile_win super) { InitializeComponent(); this.super = super; }