Inheritance: System.EventArgs
        protected virtual void OnSelectedDriver(DriverSelectEvent driverElectedEventArgs)
        {
            EventHandler handler = DriverSelected;

            if (handler != null)
            {
                handler(this, driverElectedEventArgs);
            }
        }
        void driverSelectionControl1_DriverSelected(object sender, System.EventArgs e)
        {
            DriverSelectEvent args = e as DriverSelectEvent;

            if (args != null)
            {
                Text = string.Format("Control {0} Driver", Enum.GetName(typeof(DriverSelectionControl.DriverType), args.DriverType));
            }
        }
 protected virtual void OnSelectedDriver(DriverSelectEvent driverElectedEventArgs )
 {
     EventHandler handler = DriverSelected;
     if (handler != null) handler(this, driverElectedEventArgs);
 }