Beispiel #1
0
        public frmAdvStatusPopup(AdvsSettings advSettings)
        {
            InitializeComponent();

            if (CurrentOS.IsMac)
                this.FormBorderStyle = FormBorderStyle.None;

            m_AdvSettings = advSettings;
        }
Beispiel #2
0
 public void UpdateSettings(AdvsSettings advSettings)
 {
     m_AdvSettings = advSettings;
 }
Beispiel #3
0
        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;
        }