private void cmdSetInformation_Click(object sender, EventArgs e)
 {
     this.m_Step += 1;
     if (this.m_Step == MACROConstants.FootprintPedotransferStep.Finish)
     {
         this.Finish();
     }
     this.DisplayStep();
 }
 private void frmFOOTPRINTPedotransferInput_Load(object sender, EventArgs e)
 {
     this.m_tooltip.SetToolTip(this.optConventionalTill, MACRO_52.My.Resources.Resources.Tooltip_CONVENTIONALTILL);
     this.m_tooltip.SetToolTip(this.optReducedTilled, MACRO_52.My.Resources.Resources.Tooltip_REDUCEDTILL);
     this.m_tooltip.SetToolTip(this.optPerennial, MACRO_52.My.Resources.Resources.Tooltip_PERENNIAL);
     this.m_Step = MACROConstants.FootprintPedotransferStep.Introduction;
     if (GlobalVariables.sw_crop == MACROConstants.Switch.Perennial)
     {
         this.chkTrafficked.Visible = true;
         this.chkTrafficked.Checked = false;
     }
     else
     {
         this.chkTrafficked.Visible = false;
         this.chkTrafficked.Checked = false;
     }
     this.DisplayStep();
 }
        private void Finish()
        {
            int num = (int)Interaction.MsgBox("This will overwrite current parameter values. Do you wish to continue?", MsgBoxStyle.Question | MsgBoxStyle.YesNoCancel, null);

            if (num == 6)
            {
                this.DialogResult          = DialogResult.OK;
                GlobalVariables.sw_landuse = !this.optConventionalTill.Checked ? (!this.optReducedTilled.Checked ? (!this.optNoTillPerennial.Checked ? MACROConstants.Switch.Tritium : MACROConstants.Switch.Perennial) : MACROConstants.Switch.Annual) : MACROConstants.Switch.BareSoil;
                this.Close();
            }
            else if (num == 7)
            {
                this.DialogResult = DialogResult.Cancel;
                this.Close();
            }
            else
            {
                this.m_Step = MACROConstants.FootprintPedotransferStep.AdditionalInput;
                this.DisplayStep();
            }
        }
 private void btnPrevious_Click(object sender, EventArgs e)
 {
     this.m_Step -= 1;
     this.DisplayStep();
 }