예제 #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();
        }
예제 #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();
 }
예제 #3
0
 public SearchPO()
 {
     InitializeComponent();
     thisForm = this;
 }