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); }
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); }