AsterixDisplayAnalyser.FormMain.UpdateConnectionBoxInfo C# (CSharp) Метод

UpdateConnectionBoxInfo() публичный Метод

public UpdateConnectionBoxInfo ( ) : void
Результат void
        public void UpdateConnectionBoxInfo()
        {
            this.labelActiveConnName.Text = SharedData.ConnName;

            string Port;
            if (SharedData.Current_Port == 0)
            {
                Port = "N/A";
                this.buttonStopRun.Enabled = false;
            }
            else
            {
                Port = SharedData.Current_Port.ToString();
                this.buttonStopRun.Enabled = true;
            }

            this.labelConnIpAndPort.Text = SharedData.CurrentMulticastAddress.ToString() + " : " + Port;
            this.labelLocalInterface.Text = SharedData.CurrentInterfaceIPAddress.ToString();
            this.Text = "AMER KAPETANOVIC - ASTERIX DARR  3.1";
        }
FormMain