private void AsistimeAudioCreation_Load(object sender, EventArgs e) { audioCreation = new AsistimeAudioPanel() { Parent = this }; audioCreation.Width = 700; audioCreation.Height = 800; this.Controls.Add(audioCreation); audioCreation.BackColor = Color.White; audioCreation.Location = new Point(this.Width / 2 - audioCreation.Width / 2, this.Height / 2 - audioCreation.Height / 2); audioCreation.Hide(); }
private void AsistimeTourCreation_Load(object sender, EventArgs e) { HowToTour howToTour = new HowToTour() { Parent = this }; HowToSteps howToSteps = new HowToSteps(); HowToForms howToForms = new HowToForms(); HowToAudio howToAudio = new HowToAudio(); howToTour.Location = new Point(this.Width / 2 - howToTour.Width / 2, this.Height / 2 - howToTour.Height / 2); howToSteps.Location = new Point(this.Width / 2 - howToSteps.Width / 2, this.Height / 2 - howToSteps.Height / 2); howToForms.Location = new Point(this.Width / 2 - howToForms.Width / 2, this.Height / 2 - howToForms.Height / 2); howToAudio.Location = new Point(this.Width / 2 - howToAudio.Width / 2, this.Height / 2 - howToAudio.Height / 2); this.Controls.Add(howToTour); this.Controls.Add(howToSteps); this.Controls.Add(howToForms); this.Controls.Add(howToAudio); howToTour.next = howToSteps; howToSteps.previous = howToTour; howToSteps.next = howToForms; howToForms.previous = howToSteps; howToForms.next = howToAudio; howToAudio.previous = howToForms; howToTour.Show(); tourCreation = new AsistimeCreatePanel() { Parent = this }; this.Controls.Add(tourCreation); tourCreation.BackColor = Color.White; tourCreation.Location = new Point(this.Width / 2 - tourCreation.Width / 2, this.Height / 2 - tourCreation.Height / 2); tourCreation.Hide(); audioCreation = new AsistimeAudioPanel() { Parent = this }; audioCreation.Width = 700; audioCreation.Height = 800; this.Controls.Add(audioCreation); audioCreation.BackColor = Color.White; audioCreation.Location = new Point(this.Width / 2 - audioCreation.Width / 2, this.Height / 2 - audioCreation.Height / 2); audioCreation.Hide(); }