private void ptbCategoriesAdd_Click(object sender, EventArgs e)
        {
            frmAddCategory frm = new frmAddCategory();

            frm.ShowDialog();
            frmManageCategories_Load(sender, e);
        }
        private void ptbCategoriesEdit_Click(object sender, EventArgs e)
        {
            string         ctgID   = dgvCategories.SelectedCells[0].OwningRow.Cells[0].Value.ToString();
            string         ctgName = dgvCategories.SelectedCells[0].OwningRow.Cells[1].Value.ToString();
            frmAddCategory frm     = new frmAddCategory(ctgID, ctgName);

            frm.ShowDialog();
            frmManageCategories_Load(sender, e);
        }