Exemplo n.º 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;
 }
Exemplo n.º 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;
 }