public CurrentlyActive(MainWindow mw, CommandControl cc, AdminPassword ap, Session s) { InitializeComponent(); _mainwindow = mw; _commandcontrol = cc; _adminpassword = ap; _session = s; label_code_value.Text = s.SessionCode; }
private void pictureBox_setting_Click(object sender, EventArgs e) { AdminPassword ap = new AdminPassword(tw, this, gkh); ap.Show(); }
private void pictureBox_setting_Click(object sender, EventArgs e) { AdminPassword ap = new AdminPassword(mainwind, this, mysession); ap.Show(); }