using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using System.Windows.Media;
public class TransformedButtons : Window
{
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new TransformedButtons());
}
public TransformedButtons()
{
Canvas canv = new Canvas();
Content = canv;
Button btn = new Button();
btn.Content = "Untransformed";
canv.Children.Add(btn);
Canvas.SetLeft(btn, 50);
Canvas.SetTop(btn, 100);
}
}
|