예제 #1
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Set up the test form.
 /// </summary>
 /// <param name="ws"></param>
 /// <param name="options"></param>
 /// ------------------------------------------------------------------------------------
 protected void ShowForm(int ws, SimpleRootSiteDataProviderVc.DisplayOptions options)
 {
     MakeRoot(m_hvoRoot, 0, SimpleRootSiteDataProviderBaseVc.kfragRoot, ws, CreateVc(options));
     ShowForm(new DisplayOptions {
         ReadOnlyView = options.ReadOnlyView
     });
 }
예제 #2
0
 protected virtual SimpleRootSiteDataProviderBaseVc CreateVc(SimpleRootSiteDataProviderVc.DisplayOptions options)
 {
     return(new SimpleRootSiteDataProviderVc(options));
 }
예제 #3
0
 /// ------------------------------------------------------------------------------------
 /// <summary>
 /// Insert the specified paragraph box content and display the view.
 /// </summary>
 /// <param name="ws"></param>
 /// <param name="s">the content to add to the views paragraph</param>
 /// <param name="options">options to configure the view</param>
 /// ------------------------------------------------------------------------------------
 public void ShowForm(int ws, string s, SimpleRootSiteDataProviderVc.DisplayOptions options)
 {
     AddSimpleString(ws, s);
     ShowForm(ws, options);
 }