Beispiel #1
0
        private void ajouterToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ModifyArticleDialog modifyArticleDial = new ModifyArticleDialog(sqlite);
            DialogResult        dialogResult      = modifyArticleDial.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                refresh();
            }
        }
Beispiel #2
0
        private void openUpdateArticleModal(string refArticle)
        {
            ModifyArticleDialog modifyArticleDial = new ModifyArticleDialog(sqlite, refArticle);
            DialogResult        dialogResult      = modifyArticleDial.ShowDialog();

            if (dialogResult == DialogResult.OK)
            {
                refresh();
            }
        }