private void btAdd_Click(object sender, EventArgs e) { if (connector.connected) { connector.SendCom(SendCommand.GetClassCode, ""); } }
public SecurityManager(ConnectorQuik Q) { InitializeComponent(); connector = Q; if (connector.connected) { connector.SendCom(SendCommand.GetClassCode, ""); } connector.Event_GetClassCode += Connector_Event_GetClassCode; connector.Event_GetSecurity += Connector_Event_GetSecurity; }