public ucPlugin(ITrimPlugin plugin) { InitializeComponent(); this.plugin = plugin; checkEnable.Text = plugin.DisplayName; plugin.ProgressUpdated += (p) => { updateProgress(p); }; }