public PluginMainMediator(PluginMain viewComponent) : base(NAME,viewComponent) { pluginMain.dispose += new EventHandler(pluginMain_dispose); pluginMain.interaction += new EventHandler(pluginMain_interaction); pluginMain.changeProject += new PluginMain.ChangeProjectEventHandler(pluginMain_changeProject); pluginMain.changeFile += new PluginMain.ChangeFileEventHandler(pluginMain_changeFile); }
public PluginUI(PluginMain pluginMain) { this.InitializeComponent(); labelStatus.Text = ""; labelProject.Text = ""; labelTime.Text = ""; buttonPause.Text = "Pause"; buttonPause.Enabled = false; buttonPause.Visible = false; this.pluginMain = pluginMain; this.buttonPause.Click += new EventHandler(buttonPause_Click); buttonNoTimeout.Visible = false; comboBoxProjects.Visible = false; }