Example #1
0
        private async void motherboardsButton_Click(object sender, EventArgs e)
        {
            Hide();

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

            await SetCountToolTips();

            Show();
        }
Example #2
0
        public MotherboardItemView(MotherboardListPresenter presenter)
        {
            InitializeComponent();
            Disposed += OnDispose;

            _presenter = presenter;

            if (presenter.AdminMode)
            {
                return;
            }

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