Exemple #1
0
        private void JumpList_JumpItemsRemovedByUser(object sender, System.Windows.Shell.JumpItemsRemovedEventArgs e)
        {
            StringBuilder sb = new StringBuilder();

            sb.AppendFormat("{0} Jump Items Removed by the user:\n", e.RemovedItems.Count);
            for (int i = 0; i < e.RemovedItems.Count; ++i)
            {
                sb.AppendFormat("{0}\n", e.RemovedItems[i]);
            }

            MessageBox.Show(sb.ToString());
        }
Exemple #2
0
		/// <summary>
		/// Pievieno ignorētajiem kanāliem tos, kurus dzēsa lietotājs kopš iepriekšējām kanālu saraksta izmaiņām.
		/// </summary>
		private void jumpList_JumpItemsRemovedByUser(object sender, JumpItemsRemovedEventArgs e) {
			var ignoredList=new List<string>(ignoredChannels.Length+e.RemovedItems.Count); // Visu dzēsto kanālu identifikatori.
			ignoredList.AddRange(ignoredChannels);
			foreach (JumpTask item in e.RemovedItems) {
				string[] id=item.Arguments.Split(ChannelIdSeparator);
				// Dinamiskā raidstacija pati dzēš savus kanālus, ..
				DynamicStation station=Stations[id[0]] as DynamicStation;
				if (station != null) station.RemoveChannel(uint.Parse(id[1]));
				else
					// .. pārējos kanālus iegaumē.
					ignoredList.Add(item.Arguments);
			}
			Settings.Default.IgnoredChannels=String.Join(ChannelSeparator, ignoredList);
			ignoredChannels=ignoredList.ToArray();
		}
 private void CurrentJumpListOnJumpItemsRemovedByUser(object sender, JumpItemsRemovedEventArgs jumpItemsRemovedEventArgs)
 {
 }
Exemple #4
0
 private void OnJumpListItemRemovedByUser(object sender, JumpItemsRemovedEventArgs e)
 {
     // Item removed by user
 }
Exemple #5
0
 private void JumpList_JumpItemsRemovedByUser(object sender, JumpItemsRemovedEventArgs e)
 {
     throw new NotImplementedException();
 }
Exemple #6
0
 private void JumpList_JumpItemsRemovedByUser(object sender, JumpItemsRemovedEventArgs e)
 {
 }