2using System.Collections.Generic;
3using System.ComponentModel;
8using System.Threading.Tasks;
9using System.Windows.Forms;
13 public partial class SelectRecording : Form
15 public SelectRecording()
17 InitializeComponent();
18 foreach (var item
in Automation.Properties.Values)
20 propsBox.Items.Add(item);
22 foreach (var item
in Automation.Recordings.Values)
24 recsBox.Items.Add(item);
27 private Automation.Recording rec =
null;
28 public Automation.Recording Recording
36 private void recsBox_SelectedIndexChanged(
object sender, EventArgs e)
38 rec = (Automation.Recording)recsBox.SelectedItem;
41 private void propsBox_SelectedIndexChanged(
object sender, EventArgs e)
43 rec = (Automation.Recording)propsBox.SelectedItem;
46 private void okBut_Click(
object sender, EventArgs e)
48 DialogResult = DialogResult.OK;