using System;
using System.Windows.Forms;
namespace ReflexilDemo
{
public partial class DemoForm : Form
public DemoForm()
InitializeComponent();
}
private void ComputeAndDisplay(decimal x, decimal y)
MessageBox.Show(String.Format("{0}+{1}={2}", x, y, x + y));
private void DisplayResultButton_Click(object sender, EventArgs e)
ComputeAndDisplay(LeftOperand.Value, RightOperand.Value);
Application de démonstration
Affichage du résultat