//void WindowLoaded(object sender, RoutedEventArgs e) //{ // CustomCommands.BindCommandsToWindow(this); //} public Netflix() { Parameter = new CommandParameter {CanEditBeExecuted = false}; InitializeComponent(); Application.Current.MainWindow.SizeToContent = SizeToContent.WidthAndHeight; //Loaded += new RoutedEventHandler(WindowLoaded); LoadWatchInstantly(); }
public ManageCollection() { Parameter = new CommandParameter {CanEditBeExecuted = true}; InitializeComponent(); }