public FormTransitionKeyboard(SceneTransition t) { InitializeComponent(); transition = (SceneTransitionKeyboard)t; checkBox1.Checked = transition.showOverlay; textBoxCaption.Text = transition.caption; textBoxKey.Text = transition.GetKeyName(); }
private void FormTransitionKeyboard_KeyPress(object sender, KeyEventArgs e) { transition.keycode = e.KeyValue; textBoxKey.Text = transition.GetKeyName(); }