Exemplo n.º 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            //确定
            FrmSet4Param frmset4Param = new FrmSet4Param();
            frmset4Param.Param4 = this.Param4;

            if (frmset4Param.ShowDialog() == DialogResult.OK)
            {
                this.Param4 = frmset4Param.Param4;
            }

            this.DialogResult = DialogResult.OK;
            this.Close();
        }
Exemplo n.º 2
0
 /// <summary>
 /// ��������4��������
 /// </summary>
 private void tsm4Param_Click(object sender, EventArgs e)
 {
     FrmSet4Param frm4set = new FrmSet4Param();
     frm4set.Param4 = this.m_CoordTrans4Param;
     if (frm4set.ShowDialog() == DialogResult.OK)
     {
         if (frm4set.Param4 != null)
             this.m_CoordTrans4Param = frm4set.Param4;
     }
 }