public MainWindow()
        {
            InitializeComponent();

            if (Properties.Settings.Default.LastPosX != 0 && Properties.Settings.Default.LastPosY != 0)
            {
                this.Left = Properties.Settings.Default.LastPosX;
                this.Top  = Properties.Settings.Default.LastPosY;
            }

            var vm = new GSeatViewModel();

            this.DataContext = vm;
        }
 public UIDrivenSimSim(GSeatViewModel vm)
 {
     this.vm = vm;
 }