Exemplo n.º 1
0
        public Comparison()
        {
            selfCompare = false;
            doCompare   = false;

            hidePrimary           = false;
            showDeletedFields     = false;
            showDeletedQuestions  = false;
            reInsertDeletions     = false;
            hideIdenticalWordings = false;
            showOrderChanges      = false;
            beforeAfterReport     = false;
            ignoreSimilarWords    = false;
            convertTrackedChanges = false;
            matchOnRename         = false;

            includeWordings = false;
            bySection       = false;

            highlight       = false;
            highlightStyle  = HStyle.Classic;
            highlightScheme = HScheme.Sequential;
            highlightNR     = true;
            hybridHighlight = false;
        }
Exemplo n.º 2
0
 public void SwitchHairStyle(int i)
 {
     foreach (var HStyle in hairStyleList)
     {
         HStyle.SetActive(false);
     }
     hairStyleList[i].SetActive(true);
 }
Exemplo n.º 3
0
    public static HButton Button(string caption, int vertPadding, int horPadding, params HStyle[] prefixStyles)
    {
      HStyle hover = new HStyle(".{0}:hover")
        .Border("1px", "solid", "#aaaaaa", "2px")
        .Background("#eaeaea")
        .LinearGradient("to top right", "#cccccc", "#eaeaea");

      HStyle active = new HStyle(".{0}:active")
        .Border("2px", "double", "#2c628b", "2px")
        .Padding(vertPadding - 1, horPadding, vertPadding - 1, horPadding - 2)
        .Background("#e5f4fc")
        .LinearGradient("to top right", "#68b3db", "#e5f4fc");

      HStyle[] allStyles = new HStyle[] { hover, active };
      if (prefixStyles.Length != 0)
        allStyles = ArrayHlp.Merge(allStyles, prefixStyles);

      return new HButton(caption, allStyles)
        .Padding(vertPadding, horPadding)
        .Border("1px", "solid", "#bbbbbb", "2px")
        .Background("#f1f1f1")
        .LinearGradient("to top right", "#dddddd", "#f1f1f1");
    }
Exemplo n.º 4
0
 public HInputButton(string caption, HStyle[] pseudoClasses) :
   base("HInputButton", "")
 {
   this.caption = caption;
   this.pseudoClasses = pseudoClasses;
 }