Пример #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            SetKeyForm skf = new SetKeyForm();
            skf.ShowDialog();
            OpenKey = skf.PressedKey;

            label2.Text = OpenKey.ToString();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            SetKeyForm skf = new SetKeyForm();

            skf.ShowDialog();
            OpenKey = skf.PressedKey;

            label2.Text = OpenKey.ToString();
        }