Example #1
0
 public Form4(Form7 formLink)
 {
     this.formLink = formLink;
     InitializeComponent();
     connection.ConnectionString = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=DataBase2.accdb;
     Persist Security Info=False;";
 }
Example #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form7 obj7 = new Form7(this);
     obj7.RefToForm1 = this;
     Form4 obj4 = new Form4(obj7);
     obj4.RefToForm1 = this;
     this.Visible = false;
     obj7.Show();
 }