/// <summary>
 /// The CalculatorButton_Click
 /// </summary>
 /// <param name="sender">The sender<see cref="object" /></param>
 /// <param name="e">The e<see cref="EventArgs" /></param>
 private void CalculatorButton_Click(object sender, EventArgs e)
 {
     try
     {
         CalculatorForm cf = new CalculatorForm();
         cf.Show();
     }
     catch (Exception ex)
     {
         new Error(ex).ShowDialog();
     }
 }
Exemple #2
0
        /// <summary>
        /// The CalculatorButton_OnClick
        /// </summary>
        /// <param name="sender">The sender<see cref="object"/></param>
        /// <param name="e">The e<see cref="EventArgs"/></param>
        private void CalculatorButton_OnClick(object sender, EventArgs e)
        {
            CalculatorForm cf = new CalculatorForm();

            cf.ShowDialog();
        }