private void buttonQuickLogin_Click(object sender, EventArgs e) { var dia = new Add("Connect"); if (dia.ShowDialog(this) == DialogResult.OK) { DoLogin(dia.LoginData); } }
private void buttonQuickLogin_Click(object sender, EventArgs e) { var dia = new Add("Connect"); if (dia.ShowDialog(this) == DialogResult.OK) { this.DoLogin(dia.LoginData); } }
private void buttonEdit_Click(object sender, EventArgs e) { var id = listBoxAccounts.SelectedIndex; var dia = new Add("Save", SelectedData); if (dia.ShowDialog(this) == DialogResult.OK) { SettingsManager.Save(); listBoxAccounts.Items[id] = DataToString(dia.LoginData); } }
private void buttonAdd_Click(object sender, EventArgs e) { var dia = new Add("Add"); if (dia.ShowDialog(this) == DialogResult.OK) { SettingsManager.LoginDatas.Add(dia.LoginData); SettingsManager.Save(); Add(dia.LoginData); } }
private void buttonEdit_Click(object sender, EventArgs e) { var id = this.listBoxAccounts.SelectedIndex; var dia = new Add("Save", this.SelectedData); if (dia.ShowDialog(this) == DialogResult.OK) { SettingsManager.Save(); this.listBoxAccounts.Items[id] = DataToString(dia.LoginData); } }
private void buttonAdd_Click(object sender, EventArgs e) { var dia = new Add("Add"); if (dia.ShowDialog(this) == DialogResult.OK) { SettingsManager.LoginDatas.Add(dia.LoginData); SettingsManager.Save(); this.Add(dia.LoginData); } }