示例#1
0
        protected WtMenuItem(ITrayController controller)
        {
            this.Controller = controller;
            this.SubItems   = new List <WtMenuItem>();

            this._internalMenuStripItem = null;
        }
示例#2
0
        public Form1(ITrayController controller)
        {
            InitializeComponent();
            _trayController = controller;

            // todo: remove testing a quick provider
            _provider = new HeartBeatProvider();
        }
示例#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;
        }
示例#4
0
 public ServiceTopMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }
示例#5
0
 protected ServiceGroupOperationMenuItem(ITrayController controller, string groupName)
     : base(controller)
 {
     this.GroupName = groupName;
 }
示例#6
0
 public SeparatorMenuItem(ITrayController controller)
     : base(controller)
 {
 }
示例#7
0
 public TitleMenuItem(ITrayController controller, string text)
     : base(controller)
 {
     this.DisplayText = text;
 }
示例#8
0
 public ServiceLogMenuItem(ITrayController controller, string fileName)
     : base(controller, fileName)
 {
 }
示例#9
0
 public SystemServicesManagerMenuItem(ITrayController controller)
     : base(controller)
 {
 }
示例#10
0
 protected FileOperationMenuItem(ITrayController controller, string fileName)
     : base(controller)
 {
     this.FileName = fileName;
 }
示例#11
0
 public ServiceGroupRestartMenuItem(ITrayController controller, string groupName)
     : base(controller, groupName)
 {
 }
示例#12
0
 public ServiceGroupMenuItem(ITrayController controller, string groupName)
     : base(controller)
 {
     this.GroupName = groupName;
 }
示例#13
0
 protected ServiceMenuItem(ITrayController controller, Service service)
     : base(controller)
 {
     this.Service = service;
 }
示例#14
0
 public ServiceRestartMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }
示例#15
0
 public ApplicationConfigMenuItem(ITrayController controller)
     : base(controller)
 {
 }
示例#16
0
 public MenuGenerator(ITrayController controller)
 {
     this._controller = controller;
 }
示例#17
0
 public ApplicationExitMenuItem(ITrayController controller)
     : base(controller)
 {
 }
示例#18
0
 public PizzaBoxManager(ITrayController trayController)
 {
     _trayController = trayController;
 }
示例#19
0
 public ServiceDirectoryMenuItem(ITrayController controller, Service service)
     : base(controller, service)
 {
 }