public MainPage()
{
InitializeComponent();
meAlert.Volume = 0.5;
GridMainLayout.Width = ActualWidth;
GridMainLayout.Height = ActualHeight;
SizeChanged += new SizeChangedEventHandler(MainPage_SizeChanged);
}
void MainPage_SizeChanged(object sender, SizeChangedEventArgs e)
{
GridMainLayout.Width = ActualWidth;
GridMainLayout.Height = ActualHeight;
}
|