/// <summary> /// User clicks the portcullis menu item /// </summary> private void PortcullisClicked(object sender, EventArgs e) { if (PortcullisSelected != null) { var args = new PortcullisEventArgs(m_PortName, m_PortNS, m_PortEW, m_PortNSBase, m_PortEWBase); PortcullisSelected(args); } }
/// <summary> /// Handles the PortcullisSelected event /// </summary> private void Doors_PortcullisSelected(TheBox.Data.PortcullisEventArgs e) { Portcullis = e; }
/// <summary> /// User clicks the portcullis menu item /// </summary> private void PortcullisClicked(object sender, EventArgs e) { if ( PortcullisSelected != null ) { PortcullisEventArgs args = new PortcullisEventArgs( m_PortName, m_PortNS, m_PortEW, m_PortNSBase, m_PortEWBase ); PortcullisSelected( args ); } }