예제 #1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Work_Data data = new Work_Data();

            data.Delete_Data(comboBox1.SelectedItem.ToString());
            comboBox1.Items.Clear();
            UsersContext context = new UsersContext();

            foreach (var r in context.Passwords.ToList())
            {
                comboBox1.Items.Add(r.login);
            }
        }