Пример #1
0
        public void Set(SystemClass system)
        {
            if (TargetSystem == null || !TargetSystem.Equals(system))
            {
                TargetSystem = system;
                ClearDataGridViewDistancesRows();
            }

            if (TargetSystem == null)
            {
                return;
            }

            textBoxSystemName.Text = TargetSystem.name;
            labelStatus.Text       = "Enter Distances";
            labelStatus.BackColor  = Color.LightBlue;

            UnfreezeTrilaterationUI();
            dataGridViewDistances.Focus();

            PopulateSuggestedSystems();
            PopulateClosestSystems();
        }