public frmAdvStatusPopup(AdvsSettings advSettings) { InitializeComponent(); if (CurrentOS.IsMac) { this.FormBorderStyle = FormBorderStyle.None; } m_AdvSettings = advSettings; }
private AdvsSettings BuildCurrentSettings() { var rv = new AdvsSettings() { PopupTimestamp = cbxAdvsPopupTimeStamp.Checked, PopupExposure = cbxAdvsPopupExposure.Checked, PopupVideoCameraFrameId = cbxAdvsPopupVideoCameraFrameId.Checked, PopupSystemTime = cbxAdvsPopupSystemTime.Checked, PopupSatellites = cbxAdvsPopupSatellites.Checked, PopupOffset = cbxAdvsPopupOffset.Checked, PopupGamma = cbxAdvsPopupGamma.Checked, PopupGain = cbxAdvsPopupGain.Checked, PopupGPSFix = cbxAdvsPopupGPSFix.Checked, PopupAlmanac = cbxAdvsPopupAlmanac.Checked, }; return(rv); }
public void UpdateSettings(AdvsSettings advSettings) { m_AdvSettings = advSettings; }