Beispiel #1
0
        private void toolStripButton3_Click(object sender, EventArgs e)
        {
            foreach (Form item in Application.OpenForms)
            {
                if (item is SearchPO)
                {
                    item.Activate();
                    return;
                }
            }

            SearchPO Pos = new SearchPO {
                MdiParent = this
            };

            Pos.Show();
        }
Beispiel #2
0
 /// <summary>
 /// The PurchaseOrders_FormClosing
 /// </summary>
 /// <param name="sender">The sender<see cref="object"/></param>
 /// <param name="e">The e<see cref="FormClosingEventArgs"/></param>
 private void PurchaseOrders_FormClosing(object sender, FormClosingEventArgs e)
 {
     SearchPO.UnhideForm();
 }
Beispiel #3
0
 public SearchPO()
 {
     InitializeComponent();
     thisForm = this;
 }