void Afficher_GestionObjet() { D_Gestion = new DockContent(); GestionPlan ctrl = new GestionPlan(); ctrl.Acces = Acces; ctrl.DP = DP; ctrl.Chemin = Chemin; ctrl.Console = Console; ctrl.Dock = DockStyle.Fill; ctrl.Initialise(); D_Gestion.Controls.Add(ctrl); D_Gestion.Show(DP, DockState.DockLeft); D_Gestion.Text = "Objets de gestion"; D_Gestion.ShowInTaskbar = false; D_Gestion.CloseButton = false; }
public void Afficher_GestionPlan() { DockContent D_Gestion = new DockContent(); GestionPlan ctrl = new GestionPlan(); ctrl.Acces = Acces; ctrl.DP = Acces.DP; ctrl.Chemin = Acces.CheminTemp; ctrl.Console = Acces.Console; ctrl.Dock = DockStyle.Fill; ctrl.Initialiser(); D_Gestion.Controls.Add(ctrl); D_Gestion.Show(Acces.DP, DockState.DockLeft); D_Gestion.Text = "Objets de gestion"; D_Gestion.Tag = "OBJET_GESTION"; D_Gestion.ShowInTaskbar = false; D_Gestion.CloseButton = true; }