This way:
public partial class Form1 : Form
{
Dictionary<string, string> dictionary = new Dictionary<string, string>();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
dictionary.Add("Name", this.txtName.Text);
dictionary.Add("SexType", this.comboBox1.SelectedItem.ToString());
this.txtName.Text = string.Empty;
this.comboBox1.SelectedIndex = -1;
}
private void btnGet_Click(object sender, EventArgs e)
{
this.txtName.Text = dictionary["Name"].ToString();
this.comboBox1.SelectedText = dictionary["SexType"].ToString();
}
}
Image of form:

Thank You.