private void OperationLine(object sender, LineChangeEventArg e)
 {
     if (e.oper==Operations.ADD)
     {
         FrameworkElement obj = new CLine();
         this.tileCanvas.AddLineObject(e.Line.ToString(), obj, e.Line);
         
     }
     else if (e.oper == Operations.DEL)
     {
         this.tileCanvas.DelSubObject(e.Line.ToString());
     }
 }
 private void OnLineChanged(object sender, LineChangeEventArg e)
 {
     LineChangedEvent(this, e);
 }