Пример #1
0
		private void cbIDEVersion_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			registry = new ExpertRegistry(IDEVersion);
			UpdateView(lvExperts, registry);
		}
Пример #2
0
		private void UpdateView(ListView list, ExpertRegistry registry)
		{
			LoggingService.EnterMethod();
            list.SuspendLayout();
			list.Items.Clear();
			foreach (ExpertInfo expert in registry.Experts)
			{				
				AppendTo(list, expert);
			}
            list.ResumeLayout();
			LoggingService.LeaveMethod();
		}
Пример #3
0
		private void btRefresh_Click(object sender, System.EventArgs e)
		{
            registry = new ExpertRegistry(IDEVersion);
			UpdateView(lvExperts, registry);
		}