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