private void btnCategory_Click(object sender, EventArgs e) { frmCategory frm = new frmCategory(); openWindow(frm, frm.Name); }