private void serviceItemInformationToolStripMenuItem_Click(object sender, EventArgs e) { var f = new frmserviceiteminformation { MdiParent = this }; f.Show(); }
private void txtSearchServices_KeyPress(object sender, KeyPressEventArgs e) { if (txtSearchServices.Text == "0") { if (e.KeyChar == (char)13) { frmserviceiteminformation fr = new frmserviceiteminformation(); fr.Show(); } } }