예제 #1
0
 private void btn_OK_Click(object sender, EventArgs e)
 {
     Form pd;
     this.SaveData();
     //if (hadTray)
     //{
     //    pd = new PickDetailHadTray(this.current);
     //}
     //else
     //{
         pd = new PickDetail(this.current);
     //}
     pd.Show();
     pd.Closed += new EventHandler(pd_Closed);
     this.Hide();
 }
예제 #2
0
        private void btn_OK_Click(object sender, EventArgs e)
        {
            Form pd;

            this.SaveData();
            //if (hadTray)
            //{
            //    pd = new PickDetailHadTray(this.current);
            //}
            //else
            //{
            pd = new PickDetail(this.current);
            //}
            pd.Show();
            pd.Closed += new EventHandler(pd_Closed);
            this.Hide();
        }