public GroupWindow()
 {
     DataContext = new GroupWindowViewModel();
     VM          = DataContext as GroupWindowViewModel;
     InitializeComponent();
     ButtonsRef  = Buttons;
     MainContent = WindowContent;
     Init(Settings.SettingsHolder.GroupWindowSettings, ignoreSize: false);
 }
 public GroupWindow(GroupWindowViewModel vm)
 {
     DataContext = vm;
     VM          = vm;
     InitializeComponent();
     BoundaryRef = Boundary;
     ButtonsRef  = Buttons;
     MainContent = WindowContent;
     Init(VM.Settings !);
 }