private void showMenu_Click(object sender, EventArgs e)
        {
            ShowBookmark sb = new ShowBookmark(Id);

            sb.MdiParent   = this;
            sb.WindowState = FormWindowState.Maximized;
            sb.Show();
        }
        private void btnAdd_Click(object sender, EventArgs e)
        {
            BookmarkService service   = new BookmarkService();
            var             temptoday = DateTime.ParseExact(DateTime.Now.ToString("YYYY-MM-DD"), "YYYY-MM-DD", CultureInfo.InvariantCulture);

            service.AddBookmarks(txtName.Text, txtUrl.Text, Id, temptoday);

            ShowBookmark sb = new ShowBookmark(Id);

            sb.MdiParent = this.ParentForm;
            this.Hide();
            sb.WindowState = FormWindowState.Maximized;
            sb.Show();
        }
        private void btnLogin_Click(object sender, EventArgs e)
        {
            BookmarkService service  = new BookmarkService();
            var             email    = UsernameTxt.Text;
            var             password = PasswordTxt.Text;
            var             result   = service.CheckLogin(email, password);

            if (result != null)
            {
                //new MDIParent().Id = Convert.ToInt32(result);
                ShowBookmark bookmarks = new ShowBookmark(Convert.ToInt32(result));
                bookmarks.MdiParent = this.ParentForm;
                this.Hide();
                bookmarks.WindowState = FormWindowState.Maximized;
                bookmarks.Show();
            }
        }