public RegisterWindow(RegisterWindowViewModel vm):base(vm)
 {
     registerWindowVM = vm;
     MinHeight = ActualHeight;
     MinimizeButtonState = YoYoStudio.Controls.CustomWindow.WindowButtonState.None;
     MaximizeButtonState = YoYoStudio.Controls.CustomWindow.WindowButtonState.None;
     InitializeComponent();       
 }
 public RegisterWindow(RegisterWindowViewModel vm):base(vm)
 {
     registerWindowVM = vm;
     MinHeight = ActualHeight;
     InitializeComponent();       
 }