コード例 #1
0
ファイル: EditorDocument.cs プロジェクト: bensenplus/breeze
 public EditorDocument(WEditorView context)
 {
     //默认分页视图
     CurrentViewType = MConstant.ViewType.Pagination;
     Context = context;
     Initialize();
 }
コード例 #2
0
ファイル: MDocument.cs プロジェクト: bensenplus/breeze
 /// <summary>
 /// 构造参数
 /// </summary>
 /// <param name="context">视图环境</param>
 public MDocument(WEditorView context)
 {
     Context = context;
 }
コード例 #3
0
ファイル: MDocument.cs プロジェクト: bensenplus/breeze
 /// <summary>
 /// 设置视图环境
 /// </summary>
 /// <param name="context">视图环境</param>
 public void SetContext(WEditorView context)
 {
     Context = context;
 }
コード例 #4
0
ファイル: WPagePainter.cs プロジェクト: bensenplus/breeze
 public void SetContext(WEditorView context)
 {
     _view = context;
 }