using System;
using System.Windows;
using System.Windows.Input;
using System.Windows.Media;
class MainClass: Window
{
LinearGradientBrush brush;
[STAThread]
public static void Main()
{
Application app = new Application();
app.Run(new MainClass());
}
public MainClass()
{
Title = "title";
Console.WriteLine(ActualWidth);
Console.WriteLine(SystemParameters.ResizeFrameVerticalBorderWidth);
Console.WriteLine(ActualHeight );
Console.WriteLine(SystemParameters.ResizeFrameHorizontalBorderHeight );
Console.WriteLine(SystemParameters.CaptionHeight);
}
}
|