protected virtual void OnRaiseOpenEvent(OpenEventArgs e) { EventHandler <OpenEventArgs> handler = OpenEvent; if (handler != null) { handler(this, e); } }
private void sc_OpenEvent(object sender, OpenEventArgs e) { IsConnected = true; }