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