コード例 #1
0
        private void SelectedQueueUri_KeyUp(object sender, KeyEventArgs e)
        {
            e.OnEnterPressed(() =>
                                 {
                                     Uri uri;

                                     if (Uri.TryCreate(SelectedQueueUri.Text, UriKind.Absolute, out uri))
                                     {
                                         QueueSelected.Invoke(this, new QueueSelectedEventArgs(uri));
                                     }
                                 });
            e.OnKeyDown(ShowQueueForm);
            e.OnF4(ToggleQueueForm);
        }