Example #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
     });
 }
Example #2
0
 protected virtual SimpleRootSiteDataProviderBaseVc CreateVc(SimpleRootSiteDataProviderVc.DisplayOptions options)
 {
     return(new SimpleRootSiteDataProviderVc(options));
 }
Example #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);
 }