Exemple #1
0
 /// <summary>
 /// Function that runs when the allocateEquipmentButton is clicked - creates and displays an allocateEquipmentForm.
 /// </summary>
 /// <param name="sender">The object that called this function. In this case the allocateEquipmentButton.</param>
 /// <param name="e">The event arguments for the Click event passed to this function.</param>
 private void allocateEquipmentButton_Click(object sender, EventArgs e)
 {
     if (allocateEquipmentForm == null)
     {
         allocateEquipmentForm = new AllocateEquipmentForm(dataModule, this);
     }
     allocateEquipmentForm.ShowDialog();
 }
Exemple #2
0
 /// <summary>
 /// Function that runs when the allocateEquipmentButton is clicked - creates and displays an allocateEquipmentForm.
 /// </summary>
 /// <param name="sender">The object that called this function. In this case the allocateEquipmentButton.</param>
 /// <param name="e">The event arguments for the Click event passed to this function.</param>
 private void allocateEquipmentButton_Click(object sender, EventArgs e)
 {
     if (allocateEquipmentForm == null)
     {
         allocateEquipmentForm = new AllocateEquipmentForm(dataModule, this);
     }
     allocateEquipmentForm.ShowDialog();
 }