public RemoteHost() { _parent = null; foreach (Form form in Application.OpenForms) { if (form is KCBTimer.Form1) { _parent = (KCBTimer.Form1)form; break; } } }
public RemoteHost(KCBTimer.Form1 parentForm) { _parent = parentForm; }