コード例 #1
0
 public HandleCtl(HandleCtl rightbrother)
 {
     init();
     RightBrother = rightbrother;
     Canvas.SetLeft(RightBrother, Canvas.GetLeft(this) + 100);
     Canvas.SetTop(RightBrother, 200);
 }
コード例 #2
0
 private IntegralWorker(BasicWaveChartUC param)
 {
     ucctl                   = param;
     areagon                 = new Polygon();
     areagon.Name            = "areagon";
     areagon.Visibility      = Visibility.Visible;
     commenttx               = new TextBlock();
     commenttx.Width         = 80;
     commenttx.Height        = 20;
     commenttx.Visibility    = Visibility.Visible;
     commenttx.Name          = "commenttx";
     commenttx.TextAlignment = TextAlignment.Center;
     //main handle
     mainhandle = new HandleCtl(new HandleCtl());
 }