예제 #1
0
 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);
 }
예제 #2
0
 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;
 }