Exemple #1
0
        /// <summary>
        /// Handles the Click event of the btnAddItem control.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
        private void btnAddItem_Click(object sender, System.EventArgs e)
        {
            BillingItemForm biForm = new BillingItemForm();

            biForm.OnAddItem += new BillGenerator.BillingItemForm.AddItem(biForm_OnAddItem);
            biForm.ShowDialog();
        }
Exemple #2
0
		/// <summary>
		/// Handles the Click event of the btnAddItem control.
		/// </summary>
		/// <param name="sender">The source of the event.</param>
		/// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param>
		private void btnAddItem_Click(object sender, System.EventArgs e)
		{
			BillingItemForm biForm = new BillingItemForm();
			biForm.OnAddItem += new BillGenerator.BillingItemForm.AddItem(biForm_OnAddItem);
			biForm.ShowDialog();
		}