public AlbumPhotosForm(Album i_Album, User i_LoggedInUser) { m_LoggedInUser = InputGuard.CheckNullArgument(i_LoggedInUser, nameof(i_LoggedInUser)); m_Album = InputGuard.CheckNullArgument(i_Album, nameof(i_Album)); this.Text = m_Album.Name; InitializeComponent(); CenterToScreen(); }
public ImageForm(Photo i_Photo, User i_LoggedInUser) { m_Photo = InputGuard.CheckNullArgument(i_Photo, nameof(i_Photo)); m_LoggedInUser = InputGuard.CheckNullArgument(i_LoggedInUser, nameof(i_LoggedInUser)); m_LikeHandler = new LikeHandler(); m_IsImageLiked = false; InitializeComponent(); CenterToScreen(); }
public ApplicationForm(LoginResultData i_LoginResultData, AppSettings i_AppSettings) { m_LoggedInUser = InputGuard.CheckNullArgument(i_LoginResultData, nameof(i_LoginResultData)).User; m_AppSettings = InputGuard.CheckNullArgument(i_AppSettings, nameof(i_AppSettings)); m_SettingsHandler = AppXmlSettingsHandler.Instance; m_LastAccessToken = i_LoginResultData.AccessToken; m_AlbumsUser = m_LoggedInUser; m_UserMatcher = new UserMatcher(); InitializeComponent(); CenterToScreen(); setFormViewBySettings(); }
public ApplicationManager(ILoginClient i_LoginClient) { m_loginClient = InputGuard.CheckNullArgument(i_LoginClient, nameof(i_LoginClient)); m_ExitSignal = false; try { m_AppSettings = AppXmlSettingsHandler.Instance.LoadSettingsFromFile(); } catch { useDefaultSettings(); } }
public LoginForm(ILoginClient i_LoginClient) { r_LoginClient = InputGuard.CheckNullArgument(i_LoginClient, nameof(i_LoginClient)); InitializeComponent(); CenterToScreen(); }
public BestFriendForm(User i_BestFriend) { m_BestFriend = InputGuard.CheckNullArgument(i_BestFriend, nameof(i_BestFriend)); InitializeComponent(); CenterToScreen(); }