/// <summary> /// Obsługa wyświetlania listy miast. /// </summary> /// <param name="sender">Sender.</param> /// <param name="e">EventArgs.</param> private void citiesButtonElement_Click(object sender, EventArgs e) { ICityList view = CarsViewFactory.Factory.CreateViewInstance <ICityList>(); view.Show(ViewMode.ReadOnly); }
public void ShowSubElements() { ICityList view = CarsViewFactory.Factory.CreateViewInstance <ICityList>(View); view.Show(ViewMode.ReadOnly); }