public RadioPanelPZ69UserControlUH1H(HIDSkeleton hidSkeleton, TabItem parentTabItem) { InitializeComponent(); ParentTabItem = parentTabItem; HideAllImages(); _radioPanelPZ69 = new RadioPanelPZ69UH1H(hidSkeleton) { FrequencyKnobSensitivity = Settings.Default.RadioFrequencyKnobSensitivity }; AppEventHandler.AttachGamingPanelListener(this); }
public RadioPanelPZ69UserControlUH1H(HIDSkeleton hidSkeleton, TabItem parentTabItem, IGlobalHandler globalHandler) { InitializeComponent(); _parentTabItem = parentTabItem; _parentTabItemHeader = _parentTabItem.Header.ToString(); HideAllImages(); _radioPanelPZ69 = new RadioPanelPZ69UH1H(hidSkeleton); _radioPanelPZ69.FrequencyKnobSensitivity = Settings.Default.RadioFrequencyKnobSensitivity; _radioPanelPZ69.Attach((ISaitekPanelListener)this); globalHandler.Attach(_radioPanelPZ69); _globalHandler = globalHandler; //LoadConfiguration(); }
public RadioPanelPZ69UserControlUH1H(HIDSkeleton hidSkeleton, TabItem parentTabItem, IGlobalHandler globalHandler) { InitializeComponent(); ParentTabItem = parentTabItem; hidSkeleton.HIDReadDevice.Removed += DeviceRemovedHandler; HideAllImages(); _radioPanelPZ69 = new RadioPanelPZ69UH1H(hidSkeleton); _radioPanelPZ69.FrequencyKnobSensitivity = Settings.Default.RadioFrequencyKnobSensitivity; _radioPanelPZ69.Attach((IGamingPanelListener)this); globalHandler.Attach(_radioPanelPZ69); GlobalHandler = globalHandler; //LoadConfiguration(); }