예제 #1
0
        public CuiHelperFactory(string path, CuiHelperAppInterface app, WebBrowser browser, TextBox inputTextBox, ComboBox inputComboBox)
        {
            m_settingFile   = path;
            m_inputTextBox  = inputTextBox;
            m_inputComboBox = inputComboBox;
            m_jsonParser    = new CuiHelperJsonParser();
            bool success = settingThisApplication();

            if (!success)
            {
                return;
            }
            m_data       = new CuiHelperData();
            m_bot        = new CuiHelperBot(m_imagePath, m_data);
            m_browser    = new CuiHelperBrowser(browser, m_contentsPath);
            m_app        = app;
            m_appManager = new CuiHelperAppManager(m_app, m_inputTextBox);
        }
예제 #2
0
 public CuiHelperBot(string path, CuiHelperData data)
 {
     m_basePath = path;
     m_data     = data;
 }