Exemplo n.º 1
0
            public BrowseForFolderWorker(
				ModelBrowser owner, string path, bool recursive )
                : base(owner)
            {
                this.path = path;
                this.recursive = recursive;
            }
Exemplo n.º 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;
            }
Exemplo n.º 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();
        }