/// <summary> /// /// </summary> public PhoneForm() { _form = this; InitializeComponent(); /////////////////////////////////////////////////////////////// // sasacoh coding /////////////////////////////////////////////////////////////// string str = new string(' ', 255); richTextBox1.Lines = new string[] { str, str, str, str, str, str, str, str, str, str, str }; //_buttons = new System.Collections.Generic.List<Button>(); control = CComponentController.getInstance(); Renderer renderer = new Renderer(this); CFactoryImpl factory = new CFactoryImpl(); control.attach(renderer); control.Factory = factory; control.Language = _langEN; // Create menu pages... new CInitPage(); new CIdlePage(); new CPhonebookPage(); new CPhonebookEditPage(); new CMenuPage(); new CSIPSettings(); new CSIPProxySettings(); new CSIPProxySettings2nd(); new CSIPProxySettings3rd(); new CRingModePage(); new CCalllogPage(); new CAccountsPage(); new CServicesPage(); new CRedirectPage(); new CMessageBoxPage(); new CMessageReceivedPage(); control.initialize(); // register callback Telephony.CCallManager.getInstance().CallStateChanged += onTelephonyRefresh; // set active page... control.showPage((int)EPages.P_INIT); }
public Renderer(PhoneForm form) : base() { mform = form; }