private void button2_Click(object sender, EventArgs e) { this.Hide(); Form_login form_login = new Form_login(); form_login.ShowDialog(); }
private void btn_back_Click(object sender, EventArgs e) { this.Hide(); Form_login form_log = new Form_login(); form_log.ShowDialog(); }
public Form_inventions(Form_login form_login, string table_name) { InitializeComponent(); login_form = form_login; this.table_name = table_name; connection.ConnectionString = Form_login.connectString; label_user_name.Text = login_form.fam_person + " " + login_form.name_person + " " + login_form.mid_name_person; }
//Получим данные пользователя public Form_selection_table(Form_login form_login) { InitializeComponent(); login_form = form_login; label_user_name.Text = login_form.fam_person + " " + login_form.name_person + " " + login_form.mid_name_person; }