Пример #1
0
        private void BtnSearchBook_Click(object sender, EventArgs e)
        {
            FrmBooksPopup frm = new FrmBooksPopup();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                selBookIdx       = frm.SelIdx;
                TxtBookName.Text = selBookName = frm.SelName;
            }
        }
Пример #2
0
        private void BtnSearchBook_Click(object sender, EventArgs e)
        {
            FrmBooksPopup frm = new FrmBooksPopup();

            frm.StartPosition = FormStartPosition.CenterParent;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                selBookIdx        = frm.SelIdx;
                TxtBookNames.Text = selBookName = frm.SelName;
            }
        }
Пример #3
0
        private void BtnSeachBook_Click(object sender, EventArgs e)
        {
            FrmBooksPopup frm = new FrmBooksPopup();

            //frm.Parent = this;
            frm.StartPosition = FormStartPosition.CenterParent;
            if (frm.ShowDialog() == DialogResult.OK)
            {
                //MessageBox.Show(frm.selIdx + " " + frm.selName);
                selBookIdx       = frm.selIdx;
                TxtbookName.Text = selBookName = frm.selName;
            }
        }