예제 #1
0
        public void Ajout()
        {
            Ajouter sum = new Ajouter();

            decimal var1, var2;
            decimal res;

            var1          = 8;
            var2          = 4;
            sum.Operande1 = var1;
            sum.Operande2 = var2;
            res           = sum.Calculer();
        }
예제 #2
0
        private void metroButton8_Click(object sender, EventArgs e)
        {
            Ajouter f4 = new Ajouter(listBox1.SelectedItem.ToString());

            f4.ShowDialog();
        }
예제 #3
0
        private void metroButton7_Click_1(object sender, EventArgs e)
        {
            Ajouter f3 = new Ajouter("");

            f3.ShowDialog();
        }
예제 #4
0
 public ControllerAjouter(Ajouter page)
 {
     _page = page;
 }