示例#1
0
 public CCAPIWindow(IConnectAPI api, ResourceDictionary resources)
 {
     Api       = api;
     ViewModel = new CCAPIViewModel(this, api, resources);
     InitializeComponent();
     this.Resources = resources;
     listView.Focus();
 }
示例#2
0
 public CCAPIView(IConnectAPI api, ResourceDictionary resources)
 {
     Api       = api;
     ViewModel = new CCAPIViewModel(this, api, resources, DialogCoordinator.Instance);
     InitializeComponent();
     Resources = resources;
     listView.Focus();
 }