/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example (The string parameter, is what the plugin itself will show up as in the GREET toolbar) ToolStripMenuItem ex = new ToolStripMenuItem("Example 3"); ex.Click += (s, e) => { Form1 form = new Form1(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return true; }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example ToolStripMenuItem ex = new ToolStripMenuItem("Generate Test Data"); ex.Click += (s, e) => { Run(); }; this.items[0] = ex; return(true); }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example ToolStripMenuItem ex = new ToolStripMenuItem("Example 1"); ex.Click += (s, e) => { ResultsSelectionForm form = new ResultsSelectionForm(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return true; }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ParametersExample.controler = controler; //init menu items collection for this example ToolStripMenuItem ex = new ToolStripMenuItem("Example 2"); ex.Click += (s, e) => { ParameterExplorer form = new ParameterExplorer(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return true; }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example (The string parameter, is what the plugin itself will show up as in the GREET toolbar) ToolStripMenuItem ex = new ToolStripMenuItem("Example 3"); ex.Click += (s, e) => { Form1 form = new Form1(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return(true); }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example ToolStripMenuItem ex = new ToolStripMenuItem("Example 1"); ex.Click += (s, e) => { ResultsSelectionForm form = new ResultsSelectionForm(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return(true); }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> //This is where the plugin actually gets called into GREET, so you make things that you can call here and they will show up public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example (The text here is what will come up in the GREET model itself) ToolStripMenuItem read = new ToolStripMenuItem("TEAMS"); read.Click += (s, e) => { //generates and displays the splashpage form when the plugin is opened. SplashPage te = new SplashPage(); te.Show(); }; this.items[0] = read; return(true); }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> //This is where the plugin actually gets called into GREET, so you make things that you can call here and they will show up public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ResultsAccess.controler = controler; //init menu items collection for this example (The text here is what will come up in the GREET model itself) ToolStripMenuItem read = new ToolStripMenuItem("TEAMS"); read.Click += (s, e) => { //generates and displays the splashpage form when the plugin is opened. SplashPage te = new SplashPage(); te.Show(); }; this.items[0] = read; return true; }
/// <summary> /// Initialize the plugin, called once after the DLL is loaded into GREET /// </summary> /// <param name="controler"></param> /// <returns></returns> public override bool InitializePlugin(IGREETController controler) { //init the controller that is used to send action and data requests to GREET ParametersExample.controler = controler; //init menu items collection for this example ToolStripMenuItem ex = new ToolStripMenuItem("Example 2"); ex.Click += (s, e) => { ParameterExplorer form = new ParameterExplorer(); form.InitializeControls(); form.Show(); }; this.items[0] = ex; return(true); }
public override bool InitializePlugin(IGREETController controler) { _controler = controler; return(true); }
public override bool InitializePlugin(IGREETController controler) { _controler = controler; return true; }
public DataHelperForm(IDataHelper dataHelper, IGREETController controller) : this() { _dataHelper = dataHelper; _controller = controller; }