Пример #1
0
        public MainWindow()
        {
            Boolean ret;

            m_bErrFlag = false;
            InitializeComponent();
            m_nFirst          = 1;
            m_libCmn          = new LibCommon();
            m_libCurve        = new LibCurve();
            m_libCanvas       = new LibCanvas();
            m_libEsFont       = new LibEsFont();
            m_libWinFont      = new LibWinFont();
            m_scrnEnv         = new ScrnEnv();
            m_sExecPath       = InitExePath();
            m_bModify         = false;
            m_nNafudaSlctLine = 0;
            m_sBaindString    = "col_wakuname";
            ret = loadEnv();
            if (ret == false)
            {
                m_bErrFlag = true;
            }
            else
            {
                m_libWinFont.SetLibCmn(m_libCmn);
                m_libWinFont.SetExecPath(m_sExecPath);
                m_libWinFont.SetWinFontPath("c:\\windows\\Fonts");

                m_libEsFont.SetLibCmn(m_libCmn);
                m_libEsFont.SetLibCurve(m_libCurve);
                m_libEsFont.SetEsFontPath(m_sFontBasePath);
            }
        }
Пример #2
0
 public void SetLibCurve(LibCurve libCurve)
 {
     m_libCurve = libCurve;
 }