Esempio n. 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);
        }
Esempio n. 2
0
 public CuiHelperAppManager(CuiHelperAppInterface app, TextBox inputTextBox)
 {
     m_inputTextBox = inputTextBox;
     m_app          = app;
 }