public FormSearch(FormMain owner) { InitializeComponent(); this.Owner = owner; Main = this.Owner as FormMain; }