private void btnMaster_Click(object sender, EventArgs e) { // new instance form FrmServer serverForm = new FrmServer(); // Set instance to Main DLL CopyDll.Master = serverForm; serverForm.Show(); }
public static void OpenFormServer() { Master = new FrmServer(); Master.Show(); Application.Run(); }