示例#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();
			}
		}