Azavea.NijPredictivePolicing.AcsAlchemistGui.MainForm.cboProjections_SelectedIndexChanged C# (CSharp) Method

cboProjections_SelectedIndexChanged() private method

Sets the projection text as the tooltip, best way we have for showing what projection they've selected
private cboProjections_SelectedIndexChanged ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void
        private void cboProjections_SelectedIndexChanged(object sender, EventArgs e)
        {
            //NOTE: Normally, I would optimize this call, but it seems incredibly fast on my machine,
            //please let me know if it seems slow, and I'll just read it into a dictionary and use that instead.
            var projectionText = Utilities.GetCoordinateSystemWKTByID(this.cboProjections.Text);

            this.SetTooltip(this.radioSRIDFromList, projectionText);
            this.SetTooltip(this.cboProjections, projectionText);
        }