Ejemplo n.º 1
0
 private void miHideItems_Click(object sender, RoutedEventArgs e)
 {
     ShellObjectCollection SelItems = Explorer.SelectedItems;
     pd = new IProgressDialog(this.Handle);
     pd.Title = "Applying attributes";
     pd.CancelMessage = "Please wait while the operation is cancelled";
     pd.Maximum = 100;
     pd.Value = 0;
     pd.Line1 = "Applying attributes to:";
     pd.Line3 = "Calculating Time Remaining...";
     pd.ShowDialog(IProgressDialog.PROGDLG.Normal, IProgressDialog.PROGDLG.AutoTime, IProgressDialog.PROGDLG.NoMinimize);
     Thread hthread = new Thread(new ParameterizedThreadStart(DoHideShowWithChilds));
     hthread.Start(SelItems);
 }