Example #1
0
        public MeerkatWindow()
        {
            InitializeComponent();

            // TODO : Look into Unity container to hold this stuff, see video tutorial!
            OpenFileService     openFileService = new OpenFileService();
            FolderBrowerService folderBrowser   = new FolderBrowerService();

            vm = new MeerkatWindowViewModel(openFileService, folderBrowser, MeerkatBindings.BitTorrentManager.Instance());

            // All of our Data Bindings will now be in looking at our ViewModel by default
            this.DataContext = vm;
        }
Example #2
0
 public RemoveTorrentCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
Example #3
0
 public TorrentRecheckCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
 public AllowUnencryptedConnectionsCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
 public OpenContainingFolderCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
Example #6
0
 public StartTorrentCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }