public DCSBiosOutputFormulaWindow(DCSAirframe dcsAirframe, string description, DCSBIOSOutputFormula dcsBiosOutputFormula) { InitializeComponent(); _dcsAirframe = dcsAirframe; _description = description; _dcsbiosOutputFormula = dcsBiosOutputFormula; DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); }
public DCSBiosOutputWindow(string description, bool userEditsDescription = false) { InitializeComponent(); _description = description; _userEditsDescription = userEditsDescription; _dcsBiosOutput = new DCSBIOSOutput(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); }
public DCSBiosOutputTriggerWindow(string description, bool showCriteria = true) { InitializeComponent(); _showCriteria = showCriteria; _description = description; _dcsBiosOutput = new DCSBIOSOutput(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); }
public DCSBiosInputWindow() { InitializeComponent(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetInputControls(); foreach (var dcsbiosControl in _dcsbiosControls) { Debug.Print(dcsbiosControl.identifier); } }
public JaceSandboxWindow() { BIOSEventHandler.AttachDataListener(this); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); var thread = new Thread(ThreadLoop); thread.Start(); InitializeComponent(); }
public StreamDeckDCSBIOSDecoderWindow(DCSBIOSDecoder dcsbiosDecoder, StreamDeckPanel streamDeckPanel) { InitializeComponent(); _dcsbiosDecoder = dcsbiosDecoder; DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); _streamDeckPanel = streamDeckPanel; BIOSEventHandler.AttachDataListener(this); }
public JaceSandboxWindow(DCSBIOS dcsbios) { _dcsbios = dcsbios; _dcsbios.AttachDataReceivedListener(this); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); var thread = new Thread(ThreadLoop); thread.Start(); InitializeComponent(); }
public DCSBiosOutputTriggerWindow(DCSAirframe dcsAirframe, string description, DCSBIOSOutput dcsBiosOutput, bool showCriteria = true) { InitializeComponent(); _showCriteria = showCriteria; _dcsAirframe = dcsAirframe; _description = description; _dcsBiosOutput = dcsBiosOutput; DCSBIOSControlLocator.LoadControls(); _dcsbiosControl = DCSBIOSControlLocator.GetControl(_dcsBiosOutput.ControlId); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); }
public StreamDeckDCSBIOSDecoderWindow(DCSBIOSDecoder dcsbiosDecoder, StreamDeckPanel streamDeckPanel) { InitializeComponent(); _dcsbiosDecoder = dcsbiosDecoder; DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); _streamDeckPanel = streamDeckPanel; var thread = new Thread(ThreadLoop); thread.Start(); }
public DCSBiosOutputFormulaWindow(DCSAirframe dcsAirframe, string description, DCSBIOSOutput dcsBiosOutput, bool userEditsDescription = false) { InitializeComponent(); _dcsAirframe = dcsAirframe; _description = description; _userEditsDescription = userEditsDescription; _dcsBiosOutput = dcsBiosOutput; DCSBIOSControlLocator.LoadControls(); _dcsbiosControl = DCSBIOSControlLocator.GetControl(_dcsBiosOutput.ControlId); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); }
public DCSBiosOutputFormulaWindow(string description, bool userEditsDescription = false, bool showDecimalSetting = false) { InitializeComponent(); _description = description; _userEditsDescription = userEditsDescription; _showDecimalSetting = showDecimalSetting; _dcsBiosOutput = new DCSBIOSOutput(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); BIOSEventHandler.AttachDataListener(this); }
public StreamDeckDCSBIOSDecoderWindow(string streamDeckInstanceId, EnumStreamDeckButtonNames streamDeckButton) { InitializeComponent(); _dcsbiosDecoder = new DCSBIOSDecoder(); _dcsbiosDecoder.SetEssentials(streamDeckInstanceId, streamDeckButton); LoadDefaults(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); _dcsbiosDecoder.StreamDeckButtonName = streamDeckButton; _streamDeckInstanceId = streamDeckInstanceId; var thread = new Thread(ThreadLoop); thread.Start(); }
public DCSBiosOutputFormulaWindow(string description, DCSBIOSOutput dcsBiosOutput, bool limitDecimals, int decimalPlaces, bool userEditsDescription = false, bool showDecimalSetting = false) { InitializeComponent(); _description = description; _userEditsDescription = userEditsDescription; _showDecimalSetting = showDecimalSetting; _dcsBiosOutput = dcsBiosOutput; _limitDecimals = limitDecimals; _decimalPlaces = decimalPlaces; DCSBIOSControlLocator.LoadControls(); _dcsbiosControl = DCSBIOSControlLocator.GetControl(_dcsBiosOutput.ControlId); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); BIOSEventHandler.AttachDataListener(this); }
public StreamDeckDCSBIOSDecoderWindow(StreamDeckPanel streamDeckPanel) { InitializeComponent(); _streamDeckPanel = streamDeckPanel; _dcsbiosDecoder = new DCSBIOSDecoder { DecoderSourceType = DCSBiosOutputType.IntegerType, StreamDeckPanelInstance = streamDeckPanel, StreamDeckButtonName = streamDeckPanel.SelectedButtonName }; LoadDefaults(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); BIOSEventHandler.AttachDataListener(this); }
public StreamDeckDCSBIOSDecoderWindow(string panelHash) { InitializeComponent(); _dcsbiosDecoder = new DCSBIOSDecoder(); _dcsbiosDecoder.DecoderSourceType = DCSBiosOutputType.INTEGER_TYPE; _dcsbiosDecoder.PanelHash = panelHash; LoadDefaults(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetIntegerOutputControls(); _dcsbiosDecoder.StreamDeckButtonName = StreamDeckPanel.GetInstance(panelHash).SelectedButtonName; _panelHash = panelHash; var thread = new Thread(ThreadLoop); thread.Start(); }
public DCSBiosInputWindow() { InitializeComponent(); DCSBIOSControlLocator.LoadControls(); _dcsbiosControls = DCSBIOSControlLocator.GetInputControls(); }