public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Procbel.Apps.Silverlight.Modules.Incidencias;component/Views/CreateTicketUserCon" +
                 "trol.xaml", System.UriKind.Relative));
     this.HtmlProvider = ((HtmlDataProvider)(this.FindName("HtmlProvider")));
     this.richTextBox = ((RadRichTextBox)(this.FindName("richTextBox")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/Procbel.Apps.Silverlight.Modules.Incidencias;component/Views/EditTicketUserContr" +
                 "ol.xaml", System.UriKind.Relative));
     this.HtmlProvider = ((HtmlDataProvider)(this.FindName("HtmlProvider")));
     this.richTextBox = ((RadRichTextBox)(this.FindName("richTextBox")));
     this.uploadBackground = ((System.Windows.Shapes.Rectangle)(this.FindName("uploadBackground")));
     this.RadUpload1 = ((RadUpload)(this.FindName("RadUpload1")));
 }
Esempio n. 3
0
        public async Task LoadHtml()
        {
            var config = new LocalStorageDataConfig
            {
                FilePath = "/Assets/LocalHtml.htm"
            };

            var dataProvider = new HtmlDataProvider();
            IEnumerable <HtmlSchema> data = await dataProvider.LoadDataAsync(config);

            Assert.IsNotNull(data);
            Assert.AreEqual(data.Count(), 1);
        }
 public CONSEILDELECTURE1Section()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public LitteratureEtSocieteSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 6
0
		public ORGANIGRAMMESection()
		{
			_dataProvider = new HtmlDataProvider();
		}
 public AnglaisEtSectionEuropeenneSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 8
0
 public LanguesEtCulturesSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 9
0
 public ItalienSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public PresentationGeneraleSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public EMEANGLASITALIENSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 12
0
 public TheatreSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public AboutMeSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 14
0
 public CANDIDATUREPROCEDURESection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public HistoireDesArtsSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 16
0
 public ENSASection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public CinemaAudiovisuelSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 18
0
 public TERMINALESMATHSSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 19
0
 public AllemandSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public BibliographiesSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public VUEDELACITESCOLAIRESection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 22
0
 public HtmlEGP(HtmlDataProvider provider)
 {
     this.provider = provider;
 }
Esempio n. 23
0
 public EMEANGLAISALLEMANDSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 24
0
 public HISTOIREDERODINSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 25
0
 public TERMINALESNUMERIQUESection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public SciencesPhysiquesSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 27
0
 public LESREPASSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 28
0
 public ActuSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
 public SectionEuropeenneEspagnol1Section()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 30
0
 public SESSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 31
0
 public CLASSESHORAIRESAMENAGESSection()
 {
     _dataProvider = new HtmlDataProvider();
 }
Esempio n. 32
0
        /// <summary>
        /// Shows the richtext box.
        /// </summary>
        /// <param name="contentControl">The content control.</param>
        private static void ShowRichtextBox(RichToolTip contentControl)
        {
            if (htmlDataProvider == null)
                htmlDataProvider = new HtmlDataProvider
                {
                    RichTextBox = richTextBox,
                };

            htmlDataProvider.Html = contentControl.Tooltip;

            if (richTextBox.Parent != null && richTextBox.Parent != contentControl._popupContent)
            {
                var control = richTextBox.Parent as ContentControl;
                if (control != null)
                {
                    control.Content = null;
                }
            }
            contentControl._popupContent.ContentTemplate = null;
            contentControl._popupContent.Content = richTextBox;
            loadingContent = false;
        }
Esempio n. 33
0
 public PRESENTATIONSection()
 {
     _dataProvider = new HtmlDataProvider();
 }