Пример #1
0
        public MainWindow()
        {
            InitializeComponent();
            m_sExecPath = initExePath();
            m_libCmn    = new LibCommon();
            m_libCnvs   = new LibCanvas();
            m_libOdbc   = new LibOdbc();
            m_libOdbc.setLibCommonClass(m_libCmn);
            m_libOdbc.setExecPath(m_sExecPath);

            m_sEnvPath = initEnvPath();
            m_libOdbc.setEnvPath(m_sEnvPath);
            loadEnv();

            odbcLoadEnv();

            m_sMapPath       = m_sEnvPath + "\\東京都";
            m_dBaseLat       = 36.03150;
            m_d18BlockLatAdd = -0.001111;
            m_dStepLatSub    = -0.0000001579;
            //m_d18BlockLatAdd = -0.0011185;
            //m_dStepLatSub = -0.0000001578;
            //m_d18BlockLatAdd = -0.001111;
            //m_dStepLatSub = -0.0000006;
            m_n18BlockLatLast = m_tblEndY[8] - m_tblBaseY[8];
            m_bRetouMode      = false;
            m_tbCrt           = null;
            m_clsObserve      = null;
            m_nClsCardCrtIdx  = -1;
        }
Пример #2
0
 public UnderWin()
 {
     InitializeComponent();
     m_libCmn  = new LibCommon();
     m_libCnvs = new LibCanvas();
 }
Пример #3
0
 public void setLibCommonClass(LibCommon libCmn)
 {
     m_libCmn = libCmn;
 }