Esempio n. 1
0
        private async void graphicsCardsButton_Click(object sender, EventArgs e)
        {
            Hide();

            await using (var presenter = new GraphicsCardListPresenter(true))
                presenter.ShowView();

            await SetCountToolTips();

            Show();
        }
Esempio n. 2
0
        public GraphicsCardItemView(GraphicsCardListPresenter presenter)
        {
            InitializeComponent();
            Disposed += OnDispose;

            _presenter = presenter;

            if (presenter.AdminMode)
            {
                return;
            }

            mainButton.Text      = "Seç";
            deleteButton.Visible = false;
        }