Exemplo n.º 1
0
        private void btnInfo_Click(object sender, EventArgs e)
        {
            txtViewer f2 = new txtViewer("CommandeP2");

            f2.userControlCommandeP2 = this;
            f2.ShowDialog();
        }
Exemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Dictionary <string, int>    dicOfElements   = getDicOfElements();
            Dictionary <string, int>    missingElements = dbm.ElementsInStock(dicOfElements)[1];
            Dictionary <string, int>    dispElements    = dbm.ElementsInStock(dicOfElements)[0];
            Dictionary <string, string> infos           = checkInfos();

            editor edit = new editor();

            edit.printBill(infos, missingElements, dispElements);

            txtViewer f2 = new txtViewer("Validation");

            f2.userControlValidation = this;
            f2.ShowDialog();
        }