예제 #1
0
        public override void clickSurLabel(object o, EventArgs e)
        {
            Form i = null;

            if (Object.ReferenceEquals(o, this.labelEnvoyerUneListeDeValeurs))
            {
                i = new IHM_Carrefour(this.communicationSerie);
            }
            else if (Object.ReferenceEquals(o, this.labelCreerUnAlgorithme))
            {
                i = new IHM_algorithme(this.communicationSerie);
            }

            i.ShowDialog();
        }
예제 #2
0
        public override void clickSurLabel(object o, EventArgs e)
        {
            Form i = null;

            if (Object.ReferenceEquals(o, this.labelAllumerUnElement))
            {
                i = new IHM_afficheur_allumerUnElement(this.communicationSerie);
            }
            else if (Object.ReferenceEquals(o, this.labelAllumerPlusieursElements))
            {
                i = new IHM_afficheur_allumerPlusieursElement(this.communicationSerie);
            }
            else if (Object.ReferenceEquals(o, this.labelEnvoyerUneListeDeValeurs))
            {
                i = new IHM_EnvoyerListeDeValeurs(this.communicationSerie);
            }
            else if (Object.ReferenceEquals(o, this.labelCreerUnAlgorithme))
            {
                i = new IHM_algorithme(this.communicationSerie);
            }


            i.ShowDialog();
        }