Exemplo n.º 1
0
 public ComparisonItem(object left, object right, string name)
 {
     Left = new ComparisonSide()
     {
         Object = left, Presentation = name
     };
     Right = new ComparisonSide {
         Object = right, Presentation = name
     };
     m_Items = new ItemsCollection(this);
 }
Exemplo n.º 2
0
 private void FillSide(ComparisonSide SideObject, IMDTreeItem Value)
 {
     SideObject.Object = Value;
     if (Value == null)
     {
         SideObject.Presentation = "<отсутствует>";
     }
     else
     {
         SideObject.Presentation = Value.Text;
     }
 }
Exemplo n.º 3
0
 public ComparisonItem()
 {
     Left    = new ComparisonSide();
     Right   = new ComparisonSide();
     m_Items = new ItemsCollection(this);
 }