public Form1() { InitializeComponent(); mc = new MyConnection(); //open connection in databaze }
public Form5(Form1 f, MyConnection m) { InitializeComponent(); main_form = f; mc = m; }