예제 #1
0
 private void OnActivityAdded(object sender, ActivityEventArgs e)
 {
     Log.Out("Main", "Activity Added");
     AddActivityUI(e.Activity);
 }
예제 #2
0
 private void OnActivityChanged(object sender, ActivityEventArgs e)
 {
     Log.Out("Main", "Activity Changed");
 }
예제 #3
0
 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);
 }
예제 #4
0
 private void ClientActivityAdded(object sender, ActivityEventArgs e)
 {
     //AddActivityUI(e.Activity);
 }
예제 #5
0
        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++;
        }
예제 #6
0
 private void ClientActivityChanged(object sender, ActivityEventArgs e)
 {
     _proxies[e.Activity.Id].Activity = e.Activity;
     _proxies[e.Activity.Id].Button.Text = e.Activity.Name; 
 }
예제 #7
0
        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);
        }
예제 #8
0
 private void ClientActivitySwitched(object sender, ActivityEventArgs e)
 {
     _currentActivity = e.Activity;
     PopulateResource(e.Activity);
 }
예제 #9
0
 private void ClientActivityAdded(object obj, ActivityEventArgs e)
 {
     AddActivityUI(e.Activity);
     _currentActivity = e.Activity;
 }