private void btnRevision_Click(object sender, EventArgs e) { FRevision f = new FRevision(); this.Hide(); f.ShowDialog(); this.Show(); }
private void btnRevision_Click(object sender, EventArgs e) { tabRevision = new FRevision(); tabRevision.TopLevel = false; pnlLoadForm.Controls.Clear(); pnlLoadForm.Controls.Add(tabRevision); tabRevision.FormBorderStyle = FormBorderStyle.None; tabRevision.Show(); /* this.pnlMenu.Visible = false; * this.pnlMenu.Left = -1 * this.pnlMenu.Width;*/ this.btnShowMenu.Visible = true; HideMenuBar(); if (Data.simpleLove.Created) { Data.simpleLove.Ctlcontrols.stop(); } if (Data.simpleSound.IsLoadCompleted) { Data.simpleSound.Stop(); } }