Пример #1
0
        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;
            }
        }
Пример #2
0
        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;
            }
        }