public UserForm(ILibraryPresenter libraryPresenter) { InitializeComponent(); _libraryPresenter = libraryPresenter; presenter = new UserFormPresenter(this, _libraryPresenter, dataGridViewUsers); _libraryPresenter.Container.settings.GetSettings().ThemeChanged += ChangeTheme; }
public UserForm(string username) { InitializeComponent(); usernameLabel.Text = username; presenter = new UserFormPresenter(this); }
public UserForm() { InitializeComponent(); presenter = new UserFormPresenter(this); }