Exemplo n.º 1
0
        /// <summary>
        /// 选择采样单信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnSelSampleInfo_Click(object sender, EventArgs e)
        {
            FrmSampleSelect frm = new FrmSampleSelect();

            frm.Owner = this;
            frm.ShowDialog();
        }
Exemplo n.º 2
0
        /// <summary>
        /// 选择采样单信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnSelSampleInfo_Click(object sender, EventArgs e)
        {
            FrmSampleSelect frm = new FrmSampleSelect();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.CurrentSampleInfo = frm.Output;
            }
        }