예제 #1
0
        public AddDialog(MainWindow parent)
        {
            this.parent = parent;
            InitializeComponent();

            typeComboBox.Items.AddRange(new object[] {
                "SampleBot.SampleBot",
            });

            if (typeComboBox.Items.Count > 0)
                typeComboBox.SelectedItem = "SampleBot.SampleBot";
        }
예제 #2
0
 private void AddDialog_FormClosed(object sender, FormClosedEventArgs e)
 {
     parent = null;
 }