Esempio n. 1
0
 private void RemoveUnchangedItems()
 {
     this.btnRemoveUnchanged.Enabled = false;
     this.PWD = new PleaseWaitDialog(I18N.GetText("Dialog:RemoveUnchanged"));
     Thread T = new Thread(new ThreadStart(delegate() { this.RemoveUnchangedItemsWorker(); }));
     T.CurrentUICulture = Thread.CurrentThread.CurrentUICulture;
     T.Start();
     PWD.ShowDialog(this);
     this.Activate();
     this.PWD.Dispose();
     this.PWD = null;
     this.EnableNavigation();
     this.MarkItemChanges();
 }
Esempio n. 2
0
 private void LoadItems(string FileName, ItemEditor IE)
 {
     this.PWD = new PleaseWaitDialog(I18N.GetText("Dialog:LoadItems"));
     Thread T = new Thread(new ThreadStart(delegate() { this.LoadItemsWorker(FileName, IE); }));
     T.CurrentUICulture = Thread.CurrentThread.CurrentUICulture;
     T.Start();
     PWD.ShowDialog(this);
     this.Activate();
     this.PWD.Dispose();
     this.PWD = null;
     this.EnableNavigation();
     this.MarkItemChanges();
 }