public MainForm() { InitializeComponent(); // init data form dataForm = new DataForm(); dataForm.Init(); }