Exemple #1
0
 private void btnOk_Click(object sender, System.EventArgs e)
 {
     this.Close();
     this.Dispose();
     if (rdoSearchBooks.Checked)
     {
         SearchBooks srch = new SearchBooks();
         srch.ShowDialog();
     }
     if (rdoReturn.Checked)
     {
         ReturnBook ret = new ReturnBook();
         ret.ShowDialog();
     }
     if (rdoAddBooks.Checked)
     {
         AddBooks add = new AddBooks();
         add.ShowDialog();
     }
     if (rdoCategory.Checked)
     {
         Category cat = new Category();
         cat.ShowDialog();
     }
     if (rdoChgPwd.Checked)
     {
         ChangePassword pwd = new ChangePassword();
         pwd.ShowDialog();
     }
 }
Exemple #2
0
        private void btnOk_Click(object sender, System.EventArgs e)
        {
            this.Close();
            this.Dispose();
            if(rdoSearchBooks.Checked)
            {
                SearchBooks srch = new SearchBooks();
                srch.ShowDialog();
            }
            if(rdoReturn.Checked)
            {
                ReturnBook ret = new ReturnBook();
                ret.ShowDialog();
            }
            if(rdoAddBooks.Checked)
            {
                AddBooks add = new AddBooks();
                add.ShowDialog();
            }
            if(rdoCategory.Checked)
            {
                Category cat = new Category();
                cat.ShowDialog();

            }
            if(rdoChgPwd.Checked)
            {
                ChangePassword pwd = new ChangePassword();
                pwd.ShowDialog();

            }
        }