Exemplo n.º 1
0
        private async void chipsetsButton_Click(object sender, EventArgs e)
        {
            Hide();

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

            await SetCountToolTips();

            Show();
        }
Exemplo n.º 2
0
        public ChipsetItemView(ChipsetListPresenter presenter)
        {
            InitializeComponent();
            Disposed += OnDispose;

            _presenter = presenter;

            if (presenter.AdminMode)
            {
                return;
            }

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