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