Ejemplo n.º 1
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void okButton_Click(object sender, EventArgs e)
 {
     if (this.DrawCurveInfoCollection.Count == ForDrawCurveCount )
     {
         frmContrastCurve f = new frmContrastCurve(this._drawCurceInfoCollection);
         f.ShowDialog();
         //this.DialogResult = DialogResult.OK;
         //this.Close();
     }
     else
     {
         string s = string.Format(strings.CurveCountNotEnough, ForDrawCurveCount);
         NUnit.UiKit.UserMessage.DisplayInfo(s);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void mnuConstrastCurve_Click(object sender, EventArgs e)
        {
            frmContrastCurveSelect f = new frmContrastCurveSelect();
            DialogResult dr = f.ShowDialog();

            if (dr == DialogResult.OK)
            {
                GRStationCurveInfoCollection infos = f.DrawCurveInfoCollection;
                frmContrastCurve fcc = new frmContrastCurve(infos);
                fcc.ShowDialog();
            }
        }