Ejemplo n.º 1
0
        private async void button4_Click(object sender, EventArgs e)
        {
            try
            {
                AjoutFiliale AjoutFiliale = new AjoutFiliale();
                var          DialogResult = AjoutFiliale.ShowDialog();
                labelNav.Text = "Gestion des filiales";
                LoadPicture.Show();

                panel3.Controls.RemoveAt(1);

                var control = await callfillaleControl();

                panel3.Controls.Add(control);



                LoadPicture.Hide();
            }
            catch (Exception ex)
            {
                MessageFormError MessageForm = new MessageFormError(ex.Message.ToString());
                var result = MessageForm.ShowDialog();
            }
        }
Ejemplo n.º 2
0
        private void button5_Click_1(object sender, EventArgs e)
        {
            AjoutFiliale AjoutFiliale = new AjoutFiliale();
            var          DialogResult = AjoutFiliale.ShowDialog();

            RemplirGrid();
        }