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