private void textBox_remoteFolder_TextChanged(object sender, EventArgs e) { ConfigChangeInfo configChangeInfo = new ConfigChangeInfo(); configChangeInfo.changInfo = textBox_remoteFolder.Text; configChangeInfo.changeType = ConfigChangeType.remoteFolder; configChanged?.Invoke(sender, configChangeInfo); }
private void textBox_userName_TextChanged(object sender, EventArgs e) { ConfigChangeInfo configChangeInfo = new ConfigChangeInfo(); configChangeInfo.changInfo = textBox_userName.Text; configChangeInfo.changeType = ConfigChangeType.userName; configChanged?.Invoke(sender, configChangeInfo); }
private void textBox_passWord_TextChanged(object sender, EventArgs e) { ConfigChangeInfo configChangeInfo = new ConfigChangeInfo(); configChangeInfo.changInfo = textBox_passWord.Text; configChangeInfo.changeType = ConfigChangeType.passWord; configChanged?.Invoke(sender, configChangeInfo); }
private void textBox_serverAddress_TextChanged(object sender, EventArgs e) { ConfigChangeInfo configChangeInfo = new ConfigChangeInfo(); configChangeInfo.changInfo = textBox_serverAddress.Text; configChangeInfo.changeType = ConfigChangeType.serverAddress; configChanged?.Invoke(sender, configChangeInfo); }