private void bookToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ucDetailsBook bookmodel = new ucDetailsBook();

            bookmodel.setMainWindowRefrence(this);
            Window_Popup_Details pd = new Window_Popup_Details(bookmodel);

            bookmodel.setParentWindowRefrence(pd);
            pd.ShowDialog();
        }
        private void memberToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ucDetialsMember ucdm = new ucDetialsMember();

            ucdm.setMainWindowRefrence(this);
            Window_Popup_Details pd = new Window_Popup_Details(ucdm);

            ucdm.setParentWindowRefrence(pd);

            pd.ShowDialog();
        }
        private void dgvBooksList_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridView dgv = sender as DataGridView;

            if (dgv == null)
            {
                return;
            }
            if (dgv.CurrentRow.Selected)
            {
                int book_model_id = Convert.ToInt32(dgv.SelectedRows[0].Cells["Book Model ID"].Value);

                ucDetailsBook        ucdb = new ucDetailsBook(book_model_id);
                Window_Popup_Details pd   = new Window_Popup_Details(ucdb);
                ucdb.setWinObject(pd);
                ucdb.setMainWindowRefrence(MainWindowObject);
                ucdb.setParentWindowRefrence(pd);
                pd.ShowDialog();
            }
        }
        private void dgvMembersList_CellClick(object sender, DataGridViewCellEventArgs e)
        {
            DataGridView dgv = sender as DataGridView;

            if (dgv == null)
            {
                return;
            }
            if (dgv.CurrentRow.Selected)
            {
                int member_id = Convert.ToInt32(dgv.SelectedRows[0].Cells["MemberID"].Value);

                ucDetialsMember ucdm = new ucDetialsMember(member_id);
                ucdm.setMainWindowRefrence(MainWindowObject);
                Window_Popup_Details pd = new Window_Popup_Details(ucdm);
                ucdm.setParentWindowRefrence(pd);

                pd.ShowDialog();
            }
        }