private async void brandsButton_Click(object sender, EventArgs e) { Hide(); await using (var presenter = new BrandListPresenter(true)) presenter.ShowView(); await SetCountToolTips(); Show(); }
public BrandItemView(BrandListPresenter presenter) { InitializeComponent(); Disposed += OnDispose; _presenter = presenter; if (presenter.AdminMode) { return; } mainButton.Text = "Seç"; deleteButton.Visible = false; }