private void SetFrameLabelerTab(Bitmap image) { if (this.frameLabeler == null) { this.frameLabeler = new FrameLabeler(image, this.frameFinder); TabPage frameLabelerPage = new TabPage("Frame Labeler"); frameLabelerPage.Controls.Add(this.frameLabeler); this.editorTabs.TabPages.Add(frameLabelerPage); } else { this.frameLabeler.FrameFinder = this.frameFinder; } }
private void SetFrameLabelerTab(Bitmap image) { if(this.frameLabeler == null) { this.frameLabeler = new FrameLabeler(image, this.frameFinder); TabPage frameLabelerPage = new TabPage("Frame Labeler"); frameLabelerPage.Controls.Add(this.frameLabeler); this.editorTabs.TabPages.Add(frameLabelerPage); } else { this.frameLabeler.FrameFinder = this.frameFinder; } }