public SetProgressState ( TaskbarProgressBarState state ) : void | ||
state | TaskbarProgressBarState | Progress state of the progress button |
return | void |
void BtnZipUp_Click(object sender, EventArgs e) { Taskbar.SetProgressState(TaskbarProgressBarState.Normal); if (MahEncType != EncryptionAlgorithm.None) { GetEncryptionCodeForm R = new GetEncryptionCodeForm("iTunes album zips"); R.ShowDialog(); Password = R.Password; } Taskbar.SetProgressValue(0, 1); bgw.DoWork += delegate(object sender2, DoWorkEventArgs e2) { try { this.KickoffZipup(outputDirTextBox.Text); } catch (Exception ex) { MessageBox.Show(ex.ToString()); } }; bgw.RunWorkerAsync(); }
public void SetProgressState(TaskbarProgressBarState state, Window window) { _manager.SetProgressState(state, window); }