Example #1
0
 public MenuItemBase(IEventAggregator eventAggregator)
 {
     this.StudioPackage = new JustDecompileCecilStudioPackage();
     base.Header = this.StudioPackage.GetProductVersion();
     this.StudioPackage.NewItemInjected += new EventHandler(this.OnNewItemInjected);
     eventAggregator.GetEvent<SelectedTreeViewItemChangedEvent>().Subscribe(new Action<ITreeViewItem>(this.SetReflexilHandler));
 }
Example #2
0
 public ReflexilHost(Action onCloseExecuted, ReflexilWindow reflexilWindow)
     : this()
 {
     this.btnClose.Command = new DelegateCommand(onCloseExecuted);
     this.reflexilWindow = reflexilWindow;
     JustDecompileCecilStudioPackage cecilStudioPackage = new JustDecompileCecilStudioPackage();
     this.header.Text = cecilStudioPackage.GetProductTitle();
 }
Example #3
0
        public MenuItemBase(IEventAggregator eventAggregator)
            : base()
        {
            this.StudioPackage = new JustDecompileCecilStudioPackage();

            this.Header = StudioPackage.GetProductVersion();

            this.StudioPackage.NewItemInjected += OnNewItemInjected;

            eventAggregator.GetEvent <SelectedTreeViewItemChangedEvent>().Subscribe(SetReflexilHandler);
        }
        public MenuItemBase(IEventAggregator eventAggregator)
            : base()
        {
            this.StudioPackage = new JustDecompileCecilStudioPackage();

            this.Header = StudioPackage.GetProductVersion();

            this.StudioPackage.NewItemInjected += OnNewItemInjected;

            eventAggregator.GetEvent<SelectedTreeViewItemChangedEvent>().Subscribe(SetReflexilHandler);
        }
Example #5
0
        public ReflexilHost(Action onCloseExecuted, ReflexilWindow reflexilWindow)
            : this()
        {
            btnClose.Command = new DelegateCommand(onCloseExecuted);

            this.reflexilWindow = reflexilWindow;

            var cecilStudioPackage = new JustDecompileCecilStudioPackage();

            header.Text = cecilStudioPackage.GetProductTitle();
        }