Ejemplo n.º 1
0
        private void fastSearchToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (fastBookSearch == null)
            {
                fastBookSearch             = new fastBookSearch();
                fastBookSearch.MdiParent   = this;
                fastBookSearch.FormClosed += FastBookSearch_FormClosed;
                fastBookSearch.WindowState = FormWindowState.Maximized;

                fastBookSearch.Show();
            }
            else
            {
                fastBookSearch.Activate();
            }
        }
Ejemplo n.º 2
0
 //fastbook search
 private void button3_Click(object sender, EventArgs e)
 {
     if (fastBookSearch == null)
     {
         fastBookSearch             = new fastBookSearch();
         fastBookSearch.MdiParent   = this.MdiParent;
         fastBookSearch.WindowState = FormWindowState.Maximized;
         fastBookSearch.FormClosed += FastBookSearch_FormClosed;
         fastBookSearch.Show();
         //advanceBookSearchToolStripMenuItem.Enabled = true;
         //idShortcut = mbooks.delBookID;
     }
     else
     {
         fastBookSearch.Activate();
     }
 }