private void FormMain_Load(object sender, EventArgs e)
{
//DynamicDisplayBuilder.DebugFrame.Show();
// Initialize Map
gMapControl.Width = 2400;
gMapControl.Height = 2000;
InitializeMap();
ToolTip toolTip1 = new ToolTip();
toolTip1.ShowAlways = false;
toolTip1.SetToolTip(this.lblNumberofTargets, "Number of targets since the last update cycle");
ToolTip toolTip2 = new ToolTip();
toolTip1.ShowAlways = false;
toolTip1.SetToolTip(this.labelTargetCount, "Number of targets since the last update cycle");
ToolTip toolTip3 = new ToolTip();
toolTip3.ShowAlways = false;
toolTip3.SetToolTip(this.labelTrackCoastLabel, "Number of update cycles before track is declared as lost");
ToolTip toolTip4 = new ToolTip();
toolTip4.ShowAlways = false;
toolTip4.SetToolTip(this.labelTrackCoast, "Number of update cycles before track is declared as lost");
ToolTip toolTip5 = new ToolTip();
toolTip4.ShowAlways = false;
toolTip4.SetToolTip(this.checkBoxFillListBox, "Check OFF for performance and when working with big data files");
this.labelTrackCoast.Text = Properties.Settings.Default.TrackCoast.ToString();
this.PlotandTrackDisplayUpdateTimer.Interval = Properties.Settings.Default.UpdateRate;
this.labelDisplayUpdateRate.Text = "Update rate: " + this.PlotandTrackDisplayUpdateTimer.Interval.ToString() + "ms";
this.checkEnableDisplay.Checked = false;
this.checkBoxFLFilter.Checked = Properties.Settings.Default.FL_Filter_Enabled;
this.numericUpDownUpper.Value = Properties.Settings.Default.FL_Upper;
this.numericUpDownLower.Value = Properties.Settings.Default.FL_Lower;
this.checkBoxDisplayPSR.Checked = Properties.Settings.Default.DisplayPSR;
this.checkBoxFillListBox.Checked = Properties.Settings.Default.PopulateMainListBox;
this.checkBoxSyncToNM.Checked = Properties.Settings.Default.SyncDisplayToNorthMark;
this.checkBoxRecordInRaw.Checked = Properties.Settings.Default.RecordActiveInRaw;
this.checkBoxSystMonEnabled.Checked = Properties.Settings.Default.SystMonEnabled;
comboBoxLiveDisplayMode.SelectedIndex = 0;
HandlePlotDisplayEnabledChanged();
}