public MainView()
 {
     InitializeComponent();
     View = this;
 }