Beispiel #1
0
 /// <summary>
 /// Form that indicate progress in deleting.
 /// </summary>
 /// <param name="count">Total count of deleting events.</param>
 /// <param name="eventsForDelete">Events that should be deleted.</param>
 internal DeletingForm(Database db, int count, TimeEvent[] eventsToDelete)
 {
     deleter = new TimeEventDeleter(db, count, eventsToDelete);
     InitializeComponent();
     progressBar.Minimum = 0;
     progressBar.Maximum = count;
 }
Beispiel #2
0
 /// <summary>
 /// Form that indicate progress in deleting.
 /// </summary>
 /// <param name="count">Total count of deleting events.</param>
 /// <param name="eventsForDelete">Events that should be deleted.</param>
 internal DeletingForm(Database db, int count, TimeEvent[] eventsToDelete)
 {
     deleter = new TimeEventDeleter(db, count, eventsToDelete);
     InitializeComponent();
     progressBar.Minimum = 0;
     progressBar.Maximum = count;
 }