示例#1
0
            public BrowseForFolderWorker(
				ModelBrowser owner, string path, bool recursive )
                : base(owner)
            {
                this.path = path;
                this.recursive = recursive;
            }
示例#2
0
            protected BrowseWorker( ModelBrowser owner )
            {
                this.owner = owner;
                owner.Disposed += new EventHandler( owner_Disposed );

                this.thread = new Thread( new ThreadStart( Run ) );
                this.thread.Priority = ThreadPriority.BelowNormal;
            }
示例#3
0
        private void toModelBrowser_Click( object sender, EventArgs e )
        {
            if( browser == null )
            {
                browser = new ModelBrowser( this );
                browser.MdiParent = this;
                browser.FormClosed += new FormClosedEventHandler( browser_FormClosed );
            }

            browser.Show();
            browser.BringToFront();
        }