예제 #1
0
        private void UpdatePopupButtonElements()
        {
            __PopUpButton.SelectItemWithTag((int)NetworkAction.Action);

            if (NetworkAction.Action == WiFiActionTypeEnum.Default)
            {
                __Title.AttributedStringValue = GuiHelpers.AttributedString.Create(NetworkAction.Network.SSID, NSColor.SystemGrayColor);
            }
            else
            {
                __Title.StringValue = NetworkAction.Network.SSID;
            }
        }