示例#1
0
 /// <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);
     }
 }
示例#2
0
 /// <summary>
 /// Handles the PortcullisSelected event
 /// </summary>
 private void Doors_PortcullisSelected(TheBox.Data.PortcullisEventArgs e)
 {
     Portcullis = e;
 }
示例#3
0
		/// <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 );
			}
		}