private void OnActivityAdded(object sender, ActivityEventArgs e) { Log.Out("Main", "Activity Added"); AddActivityUI(e.Activity); }
private void OnActivityChanged(object sender, ActivityEventArgs e) { Log.Out("Main", "Activity Changed"); }
private void _client_ActivitySwitched(object sender, ActivityEventArgs e) { _currentActivity = e.Activity; if (e.Activity.Resources.Count != 0) foreach (Resource res in e.Activity.Resources) VisualizeResouce(res, _pairedManager.LocalPath + res.RelativePath); }
private void ClientActivityAdded(object sender, ActivityEventArgs e) { //AddActivityUI(e.Activity); }
private void ClientActivityAdded(object obj,ActivityEventArgs e) { AddActivityUi(e.Activity); Console.WriteLine("Activity Added\n"); //_client.AddResource(new FileInfo("c:/dump/abc" + count.ToString() + ".jpg"), e.Activity.Id); //count++; }
private void ClientActivityChanged(object sender, ActivityEventArgs e) { _proxies[e.Activity.Id].Activity = e.Activity; _proxies[e.Activity.Id].Button.Text = e.Activity.Name; }
void ClientActivitySwitched(object sender, ActivityEventArgs e) { VirtualDesktopManager.CurrentDesktop = _proxies[e.Activity.Id].Desktop; var activityFolder = _client.LocalPath+ e.Activity.Id; if (Directory.Exists(activityFolder)) DesktopFolderSwitcher.ChangeDesktopFolder(activityFolder); }
private void ClientActivitySwitched(object sender, ActivityEventArgs e) { _currentActivity = e.Activity; PopulateResource(e.Activity); }
private void ClientActivityAdded(object obj, ActivityEventArgs e) { AddActivityUI(e.Activity); _currentActivity = e.Activity; }