public Mainmenu()
 {
     InitializeComponent();
     MessageBox.Show("يجب تسجيل الدخول اولا ", "ملحوظه", MessageBoxButtons.OK, MessageBoxIcon.Information);
     if (frm == null)
     {
         frm = this;
     }
     expenes.Enabled     = false;
     ShortComing.Enabled = false;
     USERES.Enabled      = false;
     personAMD.Enabled   = false;
     cOmpany.Enabled     = false;
     REvenue.Enabled     = false;
     logout.Enabled      = false;
     usersetting.Enabled = false;
 }
 static void frm_formclosed(object sender, FormClosedEventArgs e)
 {
     frm = null;
 }