private void nhậpKhoToolStripMenuItem_Click(object sender, EventArgs e) { frmNhapKho f = new frmNhapKho(); this.Hide(); f.ShowDialog(); this.Show(); }
private void btnNhap_Click(object sender, EventArgs e) { frmNhapKho frmhd = new frmNhapKho(); this.Hide(); frmhd.ShowDialog(); this.Show(); }
private void btnNhapKho_Click(object sender, EventArgs e) { remove(); frmNhapKho f = new frmNhapKho(); f.TopLevel = false; f.FormBorderStyle = FormBorderStyle.None; f.Dock = DockStyle.Fill; tabPage2.Controls.Add(f); f.Visible = true; tabPage2.Text = "Nhập Kho"; tabControl1.TabPages.Add(tabPage2); }
private void button1_Click(object sender, EventArgs e) { frmNhapKho frmnhap = new frmNhapKho(); frmnhap.Show(); }