public connect(ManageDB form1) { InitializeComponent(); textBox1.Text = "Untitled link"; textBox2.Text = ""; textBox4.Text = ""; textBox5.Text = ""; textBox6.Text = ""; mdb1 = form1; }
public search(DataTable dt, ManageDB form1) { InitializeComponent(); fm1 = form1; textBox1.Text = dt.TableName; for (int i = 0; i < dt.Columns.Count; i++) { comboBox1.Items.Add(dt.Columns[i].ColumnName); } }