private static bool CompareStringParameterStrings(string preString, StringParameterString a, StringParameterString b, List <SequenceDifference> ans)
        {
            bool diffs = false;

            diffs |= CompareStrings(preString + "prefix ", a.Prefix, b.Prefix, ans);
            diffs |= CompareStrings(preString + "postfix ", a.Postfix, b.Postfix, ans);
            diffs |= CompareParameters(preString + "parameter ", a.Parameter, b.Parameter, ans);
            return(diffs);
        }
 public StringParameterStringEditor(StringParameterString sps)
     : this()
 {
     this.sps = sps;
     this.prefixTextbox.Text = sps.Prefix;
     this.postfixTextbox.Text = sps.Postfix;
     this.horizontalParameterEditor1.setParameterData(this.sps.Parameter);
     layout();
 }
 void spse_insertBelow(StringParameterString sps)
 {
     if (groupChannelData.StringParameterStrings != null)
     {
         if (groupChannelData.StringParameterStrings.Contains(sps))
         {
             groupChannelData.StringParameterStrings.Insert(
                 groupChannelData.StringParameterStrings.IndexOf(sps) +1, new StringParameterString());
             this.layout();
         }
     }
 }
 void spse_delete(StringParameterString sps)
 {
     if (groupChannelData.StringParameterStrings != null)
     {
         if (groupChannelData.StringParameterStrings.Contains(sps))
         {
             groupChannelData.StringParameterStrings.Remove(sps);
             this.layout();
         }
     }
 }
 void spse_insertBelow(StringParameterString sps)
 {
     if (sps != null)
     {
         if (groupChannelData.StringParameterStrings.Contains(sps))
         {
             int idx = groupChannelData.StringParameterStrings.IndexOf(sps);
             groupChannelData.StringParameterStrings.Insert(idx + 1, new StringParameterString());
             layout();
         }
     }
 }