public OperationRestrictions() { InitializeComponent(); RtfLoadHelper.Load("TextWithImages.rtf", richEdit); edtMinZoomFactor.EditValue = 0.5; edtMaxZoomFactor.EditValue = 3.0; }
public HyperlinkClickHandling() { InitializeComponent(); RtfLoadHelper.Load("HyperlinkClickHandling.rtf", richEdit); ribbonControl1.SelectedPage = pageHome; this.hyperlinkMappings = CreateHyperlinkMappings(); this.GotFocus += new RoutedEventHandler(HyperlinkClickHandling_GotFocus); SubscribeRichEditEvents(); }
public MergeDatabaseRecords() { InitializeComponent(); RtfLoadHelper.Load("MailMerge.rtf", richEdit); this.ds = CreateDataSource(); IUriStreamService uriService = (IUriStreamService)richEdit.GetService(typeof(IUriStreamService)); uriService.RegisterProvider(new DBUriStreamProviderBase <DevExpress.DemoData.Models.Employee>(NWindContext.Create().Employees.ToList(), (es, id) => es.First(e => e.EmployeeID == id).Photo)); richEdit.Loaded += richEdit_Loaded; gridControl1.Loaded += gridControl1_Loaded; gridControl1.View.FocusedRowHandleChanged += View_FocusedRowChanged; }
public MasterDetailMailMerge() { InitializeComponent(); RtfLoadHelper.Load("MasterDetailMailMergeTemplate.rtf", templateRichEditControl); RtfLoadHelper.Load("MasterDetailMailMergeMaster.rtf", masterRichEditControl); RtfLoadHelper.Load("MasterDetailMailMergeDetail.rtf", detailRichEditControl); dataSetCategories = NWindContext.Create().Categories.ToList(); dataSetProducts = NWindContext.Create().Products.ToList(); dataSetOrderDetails = NWindContext.Create().OrderDetails.ToList(); IUriStreamService uriService = (IUriStreamService)masterRichEditControl.GetService(typeof(IUriStreamService)); uriService.RegisterProvider(new DBUriStreamProviderBase <Category>(NWindContext.Create().Categories.ToList(), (cs, id) => cs.First(c => c.CategoryID == id).Picture)); cultureInfo = new CultureInfo("en-US"); }
public LoadSaveRtf() { InitializeComponent(); RtfLoadHelper.Load("CharacterFormatting.rtf", richEdit); }
public SpellChecking() { InitializeComponent(); this.spellChecker = InitializeSpellChecker(); RtfLoadHelper.Load("SpellChecker.rtf", richEdit); }
public Styles() { InitializeComponent(); RtfLoadHelper.Load("Styles.rtf", richEdit); }
public BulletsAndNumbering() { InitializeComponent(); RtfLoadHelper.Load("BulletsAndNumbering.rtf", richEdit); ribbonControl1.SelectedPage = pageHome; }
public DocumentRestrictions() { InitializeComponent(); RtfLoadHelper.Load("TextWithImages.rtf", richEdit); }
public Sections() { InitializeComponent(); RtfLoadHelper.Load("Sections.rtf", richEdit); ribbonControl1.SelectedPage = pagePageLayout; }
public CharacterFormatting() { InitializeComponent(); RtfLoadHelper.Load("CharacterFormatting.rtf", richEdit); ribbonControl1.SelectedPage = pageHome; }
public Zooming() { InitializeComponent(); RtfLoadHelper.Load("Zoom.rtf", richEdit); ribbonControl1.SelectedPage = pageView; }
public FindAndReplace() { InitializeComponent(); RtfLoadHelper.Load("Search.rtf", richEdit); ribbonControl1.SelectedPage = pageHome; }
public SimpleDataMerge() { InitializeComponent(); ribbon.SelectedPage = pageMailings; RtfLoadHelper.Load("MailMergeSimple.rtf", richEdit); }
public Views() { InitializeComponent(); RtfLoadHelper.Load("TextWithImages.rtf", richEdit); ribbonControl1.SelectedPage = pageView; }