Ejemplo n.º 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;
        }
Ejemplo n.º 2
0
 public RemoveTorrentCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
Ejemplo n.º 3
0
 public TorrentRecheckCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
 public AllowUnencryptedConnectionsCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
Ejemplo n.º 5
0
 public OpenContainingFolderCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }
Ejemplo n.º 6
0
 public StartTorrentCommand(MeerkatWindowViewModel vm)
 {
     this.vm = vm;
 }