public EnchantSettingForm(EnchantData enchantData)
        {
            InitializeComponent();

            this.enchantData = enchantData;
            Init();
        }
示例#2
0
        private void DataAdd()
        {
            EnchantData        enchantData        = new EnchantData();
            EnchantSettingForm enchantSettingForm = new EnchantSettingForm(enchantData);

            if (enchantSettingForm.ShowDialog() == DialogResult.OK)
            {
                enchantListBox.Items.Add(enchantData);
            }
        }