private void button1_Click(object sender, EventArgs e)
 {
     try
     {
         frmAccountSubGroup frm = new frmAccountSubGroup();
         frm.ShowDialog();
     }
     catch (Exception ae)
     {
         MessageBox.Show(ae.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
        private void ribbonPanel23_Click(object sender, EventArgs e)
        {
            frmAccountSubGroup frm = new frmAccountSubGroup();

            frm.ShowDialog();
        }