private void btn_insert_user_Click(object sender, EventArgs e) { Form4 f4 = new Form4(); f4.ShowDialog(); }
public Form7(Form4 f4_) { InitializeComponent(); this._f4 = f4_; connection.ConnectionString = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=E:\Company\Database1.mdb"; }
// // Add new employee. // private void Button1_Click(object sender, EventArgs e) { Form4 f1 = new Form4(nameDep, strConnect); f1.ShowDialog(); }