public void SetAccountBasicLayoytIPad() { if (scrollIPad != null) { ContentViewIPad.Add(scrollIPad); } txtDealerShipName.Layer.CornerRadius = 15; txtDealerShipName.ClipsToBounds = true; txtDealerShipName.Layer.BorderWidth = 1; txtAddress1IPad.Layer.CornerRadius = 15; txtAddress1IPad.ClipsToBounds = true; txtAddress1IPad.Layer.BorderWidth = 1; txtAddress2IPad.Layer.CornerRadius = 15; txtAddress2IPad.ClipsToBounds = true; txtAddress2IPad.Layer.BorderWidth = 1; txtCityIPad.Layer.CornerRadius = 15; txtCityIPad.ClipsToBounds = true; txtCityIPad.Layer.BorderWidth = 1; }
void ReleaseDesignerOutlets() { if (tblSettings != null) { tblSettings.Dispose(); tblSettings = null; } if (tblSettingsIPad != null) { tblSettingsIPad.Dispose(); tblSettingsIPad = null; } if (ContentViewIPad != null) { ContentViewIPad.Dispose(); ContentViewIPad = null; } if (scrollIPad != null) { scrollIPad.Dispose(); scrollIPad = null; } if (AccontViewIPad != null) { AccontViewIPad.Dispose(); AccontViewIPad = null; } if (txtCityIPad != null) { txtCityIPad.Dispose(); txtCityIPad = null; } if (txtAddress2IPad != null) { txtAddress2IPad.Dispose(); txtAddress2IPad = null; } if (txtAddress1IPad != null) { txtAddress1IPad.Dispose(); txtAddress1IPad = null; } if (txtDealerShipName != null) { txtDealerShipName.Dispose(); txtDealerShipName = null; } if (lblDealerAssoiciationIPad != null) { lblDealerAssoiciationIPad.Dispose(); lblDealerAssoiciationIPad = null; } if (lblPartnerAssociationIPad != null) { lblPartnerAssociationIPad.Dispose(); lblPartnerAssociationIPad = null; } if (lblPartnerDesignationIPad != null) { lblPartnerDesignationIPad.Dispose(); lblPartnerDesignationIPad = null; } }