protected override void InitializeControls() { this.to = (Microsoft.Office.Interop.Outlook._DRecipientControl)GetFormRegionControl("To"); this.cC = (Microsoft.Office.Interop.Outlook._DRecipientControl)GetFormRegionControl("CC"); this._DocSiteControl1 = (Microsoft.Office.Interop.Outlook._DDocSiteControl)GetFormRegionControl("_DocSiteControl1"); this.toButton = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("ToButton"); this.cCButton = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("CCButton"); this.subject = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("Subject"); this.subjectLabel = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("SubjectLabel"); this.cmd_Unternehmen = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_Unternehmen"); this.cmd_WE = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_WE"); this.cmd_Haus = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_Haus"); this.cmd_Wohnung = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_Wohnung"); this.cmd_Mieter = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_Mieter"); //this.cmd_Kreditor = (Microsoft.Office.Interop.Outlook.OlkCommandButton)GetFormRegionControl("cmd_Kreditor"); this.txtUnternehmen = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtUnternehmen"); this.lbl_Unternehmen = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lbl_Unternehmen"); this.txtWE = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtWE"); this.olkLabel2 = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("OlkLabel2"); this.txtWohnung = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtWohnung"); this.lbl_Wohnung = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lbl_Wohnung"); this.txtHaus = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtHaus"); this.lblHaus = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lblHaus"); this.txtMieter = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtMieter"); this.lblMieter = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lblMieter"); this.txtKreditor = (Microsoft.Office.Interop.Outlook.OlkTextBox)GetFormRegionControl("txtKreditor"); this.olkLabel6 = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("OlkLabel6"); this.cbx_Dokuart = (Microsoft.Office.Interop.Outlook.OlkComboBox)GetFormRegionControl("cbx_Dokuart"); this.lbl_Dokuart = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lbl_Dokuart"); this.cbx_VorgangKZ = (Microsoft.Office.Interop.Outlook.OlkComboBox)GetFormRegionControl("cbx_VorgangKZ"); this.lbl_VorgangKZ = (Microsoft.Office.Interop.Outlook.OlkLabel)GetFormRegionControl("lbl_VorgangKZ"); }
protected override void InitializeControls() { this._RecipientControl2 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook._DRecipientControl>("_RecipientControl2"); this.btnTo = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkCommandButton>("btnTo"); this.comboBox1 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkComboBox>("ComboBox1"); this._DocSiteControl1 = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook._DDocSiteControl>("_DocSiteControl1"); this.btnSend = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkCommandButton>("btnSend"); this.btnAdd = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkCommandButton>("btnAdd"); this.btnRemove = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkCommandButton>("btnRemove"); this.btnDisable = this.GetFormRegionControl<Microsoft.Office.Interop.Outlook.OlkCommandButton>("btnDisable"); }