Ejemplo n.º 1
0
        private void btnMANAGER_Book_Click(object sender, EventArgs e)
        {
            frmBook frm_Book = new frmBook();

            frm_Book.MdiParent = this;
            frm_Book.Show();
        }
Ejemplo n.º 2
0
        private void barNew_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmBook frmObj = new frmBook();

            frmObj.FormClosed += frmObj_FormClosed;
            frmObj.MdiParent   = frmMain.ActiveForm;
            frmObj.Show();
        }
Ejemplo n.º 3
0
        private void gridControl1_DoubleClick(object sender, EventArgs e)
        {
            DataRow dr = gridView1.GetFocusedDataRow();

            if (dr == null)
            {
                return;
            }
            if (para != null)
            {
                returnRow = dr;
                Close();
                return;
            }
            frmBook frmObj = new frmBook(new object[] { dr["BOOKID"] });

            frmObj.FormClosed += frmObj_FormClosed;
            frmObj.MdiParent   = frmMain.ActiveForm;
            frmObj.Show();
        }