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