private void button1_Click(object sender, EventArgs e)
 {
     frmCategory frm = new frmCategory();
     frm.ShowDialog();
 }
 private void categoryToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmCategory cat = new frmCategory();
     cat.ShowDialog();
 }