Exemplo n.º 1
0
        public void Afficher_Executer_SQL()
        {
            DockContent D1 = new DockContent();

            ctrlAdmin_DataBase ctrl = new ctrlAdmin_DataBase();

            ctrl.Acces   = Acces;
            ctrl.DP      = Acces.DP;
            ctrl.Console = Console;
            ctrl.Dock    = DockStyle.Fill;
            D1.Controls.Add(ctrl);

            D1.Show(Acces.DP, DockState.Document);
            D1.Text          = "Exécuter SQL";
            D1.Tag           = "EXECUTER_SQL";
            D1.ShowInTaskbar = false;
            D1.CloseButton   = true;
        }
Exemplo n.º 2
0
        public void Afficher_Admin_BDD()
        {
            DockContent D1 = new DockContent();

            ctrlAdmin_DataBase ctrl = new ctrlAdmin_DataBase();

            ctrl.Acces   = Acces;
            ctrl.DP      = Acces.DP;
            ctrl.Dock    = DockStyle.Fill;
            ctrl.Console = Console;
            //ctrl.Initialiser();
            D1.Controls.Add(ctrl);

            D1.Show(Acces.DP, DockState.Document);
            D1.Text          = "Base de données";
            D1.Tag           = "DATABASE";
            D1.ShowInTaskbar = false;
            D1.CloseButton   = true;
        }