コード例 #1
0
        public InjectionPage(MainFrm ui, TabPage tab)
            : base(ui, tab)
        {
            UI.AddQuickAction(Keys.F1, UI.ITSendToClientBtn.PerformClick);
            UI.AddQuickAction(Keys.F2, UI.ITSendToServerBtn.PerformClick);

            UI.ITSendToClientBtn.Click += ITSendToClientBtn_Click;
            UI.ITSendToServerBtn.Click += ITSendToServerBtn_Click;

            FiltersPg     = new FiltersPage(this, UI.FiltersTab);
            PrimitivePg   = new PrimitivePage(this, UI.PrimitiveTab);
            SchedulerPg   = new SchedulerPage(this, UI.SchedulerTab);
            ConstructerPg = new ConstructerPage(this, UI.ConstructerTab);
        }
コード例 #2
0
ファイル: InjectionPage.cs プロジェクト: b7c/Tanji
        public InjectionPage(MainFrm ui, TabPage tab)
            : base(ui, tab)
        {
            if ((bool)Program.Settings["EnableDefaultHotkeys"])
            {
                UI.AddQuickAction(Keys.F1, UI.ITSendToClientBtn.PerformClick);
                UI.AddQuickAction(Keys.F2, UI.ITSendToServerBtn.PerformClick);
            }

            UI.ITSendToClientBtn.Click += ITSendToClientBtn_Click;
            UI.ITSendToServerBtn.Click += ITSendToServerBtn_Click;

            FiltersPg     = new FiltersPage(this, UI.FiltersTab);
            PrimitivePg   = new PrimitivePage(this, UI.PrimitiveTab);
            SchedulerPg   = new SchedulerPage(this, UI.SchedulerTab);
            ConstructerPg = new ConstructerPage(this, UI.ConstructerTab);
        }