Exemplo n.º 1
0
 private void bbtnBook_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (!xtraTabbedMdiManagerMenu.FloatForms.Contains(m_BookFormObject))
     {
         m_BookFormObject = new frmBook();
         xtraTabbedMdiManagerMenu.FloatForms.Add(m_BookFormObject);
         m_BookFormObject.MdiParent = this;
         m_BookFormObject.Show();
     }
     else
     {
         m_BookFormObject.Activate();
     }
 }
Exemplo n.º 2
0
 private void bbtnBook_ItemClick(object sender, ItemClickEventArgs e)
 {
     if (!xtraTabbedMdiManagerMenu.FloatForms.Contains(m_BookFormObject))
     {
         m_BookFormObject = new frmBook();
         m_BookFormObject._setpublisher = new frmBook.m_setPublisher(bbtnPublisher_ItemClick);
         m_BookFormObject._setBookTitle = new frmBook.m_setBookTitle(bbtnBookTitles_ItemClick);
         xtraTabbedMdiManagerMenu.FloatForms.Add(m_BookFormObject);
         m_BookFormObject.MdiParent = this;
         m_BookFormObject.Show();
     }
     else
     {
         m_BookFormObject.Activate();
     }
 }