Ejemplo n.º 1
0
 /// <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();
     }
 }
Ejemplo n.º 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();
        }