Пример #1
0
		void AddNewWatch()
		{
			AddWatchCommand command = new AddWatchCommand { Owner = this };
			command.Run();
		}
Пример #2
0
		void watchList_DoubleClick(object sender, MouseEventArgs e)
		{
			if (watchList.SelectedNode == null)
			{			
				AddWatchCommand command = new AddWatchCommand { Owner = this };
				command.Run();
			}
		}