コード例 #1
0
ファイル: LoginForm.cs プロジェクト: jcmoyer/Yeena
        public LoginForm(ApplicationSettings settings) {
            _settings = settings;

            InitializeComponent();

            LoadSettings();

            if (_settings.RememberMe) {
                txtPassword.UseSystemPasswordChar = false;
                txtPassword.Text = PasswordNotNeededString;
                _infoDirty = false;
            }
        }
コード例 #2
0
ファイル: StashForm.cs プロジェクト: jcmoyer/Yeena
        public StashForm(ApplicationSettings settings, PoESiteClient client) {
            _settings = settings;
            _client = client;
            _stashFetcher = new StashFetcher(_client);
            _stashFetcher.StashTabReceived += _stashFetcher_StashTabReceived;
            _stashFetcher.StashReceived += _stashFetcher_StashReceived;
            _stashFetcher.Begin += _stashFetcher_Begin;
            _stashFetcher.End += _stashFetcher_End;
            _stashFetcher.NoStashError += _stashFetcher_NoStashError;
            _stashFetcher.ServerError += _stashFetcher_ServerError;

            InitializeComponent();
        }