Esempio n. 1
0
        private void SaveBtn_Click(object sender, RoutedEventArgs e)
        {
            PanoramaInfoIni panoInfoIni = new PanoramaInfoIni("PanoramaInfo");

            panoInfoIni.ReadIni(m_nCh);

            try
            {
                panoInfoIni.dPanoImgFovH         = double.Parse(this.PanoImageFovHeightTextBox.Text);
                panoInfoIni.nPanoCaptureZoomAbs  = int.Parse(this.ZoomAbsTextBox.Text);
                panoInfoIni.dPanoImgTiltPivotDeg = double.Parse(PanoImageTiltDegTextBox.Text);
            }
            catch (Exception ee)
            {
                MessageBox.Show(String.Format("채널 {0} 잘못된 값이 입력 되었습니다.", m_nCh));
            }

            panoInfoIni.WriteIni(m_nCh);
        }