Exemplo n.º 1
0
        protected override void CreateActions()
        {
            AddLoadModuleActions(typeof(CharacterFormatting));
            CharacterFormatting dayViewModule = (CharacterFormatting)DemoBaseTesting.CurrentDemoModule;
            RichEditViewType    viewType      = DispatchExpr(() => dayViewModule.richEdit.ActiveViewType);

            Assert.AreEqual(RichEditViewType.PrintLayout, viewType);
        }
Exemplo n.º 2
0
 public void SetActiveViewType(RichEditViewType richEditViewType)
 {
     richEditControl1.ActiveViewType = richEditViewType;            
 }