public RadioPanelPZ69UserControlAV8BNA(HIDSkeleton hidSkeleton, TabItem parentTabItem, IGlobalHandler globalHandler) { InitializeComponent(); _parentTabItem = parentTabItem; _parentTabItemHeader = _parentTabItem.Header.ToString(); HideAllImages(); _radioPanelPZ69 = new RadioPanelPZ69AV8BNA(hidSkeleton); _radioPanelPZ69.FrequencyKnobSensitivity = -1;//doesn't work with 0 value Settings.Default.RadioFrequencyKnobSensitivity; _radioPanelPZ69.Attach((IGamingPanelListener)this); globalHandler.Attach(_radioPanelPZ69); _globalHandler = globalHandler; //LoadConfiguration(); }
public RadioPanelPZ69UserControlAV8BNA(HIDSkeleton hidSkeleton, TabItem parentTabItem, IGlobalHandler globalHandler) { InitializeComponent(); ParentTabItem = parentTabItem; hidSkeleton.HIDReadDevice.Removed += DeviceRemovedHandler; HideAllImages(); _radioPanelPZ69 = new RadioPanelPZ69AV8BNA(hidSkeleton); _radioPanelPZ69.FrequencyKnobSensitivity = -1;//doesn't work with 0 value Settings.Default.RadioFrequencyKnobSensitivity; _radioPanelPZ69.Attach((IGamingPanelListener)this); globalHandler.Attach(_radioPanelPZ69); GlobalHandler = globalHandler; }