Moving source files into a separate folder
This commit is contained in:
17
src/Eve-O-Mock/MainWindow.xaml.cs
Normal file
17
src/Eve-O-Mock/MainWindow.xaml.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace EveOMock
|
||||
{
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
Random random = new Random();
|
||||
this.Title += random.Next().ToString("X");
|
||||
this.grid.Background = new SolidColorBrush(Color.FromArgb(255, (byte)random.Next(0, 255), (byte)random.Next(0, 255), (byte)random.Next(0, 255)));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user