public void Refresh()
 {
     OpratiorContainer.Children.Clear();
     if (_oprationList != null && _oprationList.Count != 0)
     {
         for (int i = 0; i < _oprationList.Count; i++)
         {
             UserOpration opration = new UserOpration();
             opration.MyOperation   = _oprationList[i];
             opration.Index         = i;
             opration.OnSelectThis += opration_OnseleceThis;
             opration.OnEditThis   += opration_OnEditThis;
             OpratiorContainer.Children.Add(opration);
         }
         InvalidateVisual();
     }
 }
 public void Refresh()
 {
     OpratiorContainer.Children.Clear();
     if (_oprationList != null && _oprationList.Count != 0)
     {
         for (int i = 0; i < _oprationList.Count; i++)
         {
             UserOpration opration = new UserOpration();
             opration.MyOperation = _oprationList[i];
             opration.Index = i;
             opration.OnSelectThis += opration_OnseleceThis;
             opration.OnEditThis += opration_OnEditThis;
             OpratiorContainer.Children.Add(opration);
         }
         InvalidateVisual();
     }
 }