Ejemplo n.º 1
0
        protected WtMenuItem(ITrayController controller)
        {
            this.Controller = controller;
            this.SubItems   = new List <WtMenuItem>();

            this._internalMenuStripItem = null;
        }
Ejemplo n.º 2
0
        public Form1(ITrayController controller)
        {
            InitializeComponent();
            _trayController = controller;

            // todo: remove testing a quick provider
            _provider = new HeartBeatProvider();
        }
Ejemplo n.º 3
0
        public ApplicationController(IExportLifetimeService exportLifetimeService,
                                     ITrayController trayController,
                                     IAsyncEventSource eventSource,
                                     IBatteryController batteryController,
                                     ExportFactory <MainWindowViewModel> mainWindowFactory)
        {
            _eventSource           = eventSource;
            _trayController        = trayController;
            _batteryController     = batteryController;
            _exportLifetimeService = exportLifetimeService;
            _mainWindowFactory     = mainWindowFactory;

            _trayController.OpenNetworkSettingsRequested += OnOpenNetworkSettingsRequested;
            _trayController.OpenActionsRequested         += OnOpenActionsRequested;
        }
Ejemplo n.º 4
0
 public ServiceTopMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }
Ejemplo n.º 5
0
 protected ServiceGroupOperationMenuItem(ITrayController controller, string groupName)
     : base(controller)
 {
     this.GroupName = groupName;
 }
Ejemplo n.º 6
0
 public SeparatorMenuItem(ITrayController controller)
     : base(controller)
 {
 }
Ejemplo n.º 7
0
 public TitleMenuItem(ITrayController controller, string text)
     : base(controller)
 {
     this.DisplayText = text;
 }
Ejemplo n.º 8
0
 public ServiceLogMenuItem(ITrayController controller, string fileName)
     : base(controller, fileName)
 {
 }
Ejemplo n.º 9
0
 public SystemServicesManagerMenuItem(ITrayController controller)
     : base(controller)
 {
 }
Ejemplo n.º 10
0
 protected FileOperationMenuItem(ITrayController controller, string fileName)
     : base(controller)
 {
     this.FileName = fileName;
 }
Ejemplo n.º 11
0
 public ServiceGroupRestartMenuItem(ITrayController controller, string groupName)
     : base(controller, groupName)
 {
 }
Ejemplo n.º 12
0
 public ServiceGroupMenuItem(ITrayController controller, string groupName)
     : base(controller)
 {
     this.GroupName = groupName;
 }
Ejemplo n.º 13
0
 protected ServiceMenuItem(ITrayController controller, Service service)
     : base(controller)
 {
     this.Service = service;
 }
Ejemplo n.º 14
0
 public ServiceRestartMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }
Ejemplo n.º 15
0
 public ApplicationConfigMenuItem(ITrayController controller)
     : base(controller)
 {
 }
Ejemplo n.º 16
0
 public MenuGenerator(ITrayController controller)
 {
     this._controller = controller;
 }
Ejemplo n.º 17
0
 public ApplicationExitMenuItem(ITrayController controller)
     : base(controller)
 {
 }
Ejemplo n.º 18
0
 public PizzaBoxManager(ITrayController trayController)
 {
     _trayController = trayController;
 }
Ejemplo n.º 19
0
 public ServiceDirectoryMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }