private void addFeatTypeButton_Click(object sender, EventArgs e)
        {
            FeatTypeForm ftf = new FeatTypeForm();
            ftf.StartPosition = FormStartPosition.CenterParent;
            ftf.ShowDialog(this);

            this.featTypeList.Add(ftf.FeatType);
            this.featTypeBox.DataSource = null;
            this.featTypeBox.DataSource = this.featTypeList;
        }
Example #2
0
        private void addFeatTypeButton_Click(object sender, EventArgs e)
        {
            FeatTypeForm ftf = new FeatTypeForm();

            ftf.StartPosition = FormStartPosition.CenterParent;
            ftf.ShowDialog(this);

            this.featTypeList.Add(ftf.FeatType);
            this.featTypeBox.DataSource = null;
            this.featTypeBox.DataSource = this.featTypeList;
        }