/// <summary>
            /// Constructor
            /// </summary>
            /// <param name="vm">The view model</param>
            public AcceptTransfer(IncomingTransferViewModel vm)
            {
                ViewModel = vm;

                //  Just to shut up the compiler
                CanExecuteChanged?.Invoke(this, EventArgs.Empty);
            }
            /// <summary>
            /// Constructor
            /// </summary>
            /// <param name="vm">The view model</param>
            public RejectTransfer(IncomingTransferViewModel vm)
            {
                ViewModel = vm;

                //  Again... shut up
                CanExecuteChanged?.Invoke(this, EventArgs.Empty);
            }
            /// <summary>
            /// Constructor
            /// </summary>
            /// <param name="parent">The parent view model</param>
            public ChooseFolder(IncomingTransferViewModel parent)
            {
                Parent = parent;

                //  Raise the event just to shut up the compiler
                CanExecuteChanged?.Invoke(this, EventArgs.Empty);
            }
 public ConnectionWindow(TcpClient client)
 {
     //InitializeComponent();
     ViewModel = new IncomingTransferViewModel(this, client);
     //DataContext = ViewModel;
 }