Exemple #1
0
 public Shape(Stencil stencil)
 {
     _stencil = stencil;
 }
 public void RemoveStencil(Stencil stencil)
 {
     System.Diagnostics.Debug.Assert(_stencils.Contains(stencil) == true, "Removing not added object.");
     _stencils.Remove(stencil);
 }
 public void SetSelectedStencilsFromList(List<Stencil> stencils)
 {
     Stencil[] array = new Stencil[stencils.Count];
     stencils.CopyTo(array);
     SelectedStencils = array;
 }
 public LabelShape(Stencil stencil)
     : base(stencil)
 {
 }
 public void AddStencil(Stencil stencil)
 {
     System.Diagnostics.Debug.Assert(_stencils.Contains(stencil) == false, "Adding objectItem more than 1 time.");
     _stencils.Add(stencil);
 }
Exemple #6
0
 public void RemoveStencil(Stencil stencil)
 {
     System.Diagnostics.Debug.Assert(_stencils.Contains(stencil) == true, "Removing not added object.");
     _stencils.Remove(stencil);
 }
 public Shape(Stencil stencil)
 {
     _stencil = stencil;
 }
Exemple #8
0
 public void AddStencil(Stencil stencil)
 {
     System.Diagnostics.Debug.Assert(_stencils.Contains(stencil) == false, "Adding objectItem more than 1 time.");
     _stencils.Add(stencil);
 }
Exemple #9
0
 public void SetSelectedStencilsFromList(List <Stencil> stencils)
 {
     Stencil[] array = new Stencil[stencils.Count];
     stencils.CopyTo(array);
     SelectedStencils = array;
 }
Exemple #10
0
 public LabelShape(Stencil stencil) : base(stencil)
 {
 }
 public RectangleShape(Stencil stencil) : base(stencil)
 {
 }
 public RectangleShape(Stencil stencil)
     : base(stencil)
 {
 }