Exemple #1
0
 /// <summary>
 /// Creates a Dlgo with the given values and a default control.
 /// </summary>
 public Dlgo(string name, Shape shape)
 {
     Name  = name;
     Shape = shape;
     if (shape is Shape.ScrollText)
     {
         Control = new Control.ScrollTextDummy();
     }
     else
     {
         Control = new Control.Static();
     }
 }
Exemple #2
0
 /// <summary>
 /// Creates a Dlgo with default values.
 /// </summary>
 public Dlgo()
 {
     Name    = "";
     Shape   = new Shape.Null();
     Control = new Control.Static();
 }