private void btnAddAttributes_Click(object sender, EventArgs e) { if (attrForm.IsDisposed) attrForm = new Attributes(this); attrForm.Show(); attrForm.CheckAttributes(GetBinaryArray(AttributeValues)); }
public EffectEditor() { this.FormBorderStyle = FormBorderStyle.FixedDialog; InitializeComponent(); this.cmbInfoID.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbTargets.DropDownStyle = ComboBoxStyle.DropDownList; this.cmbType.DropDownStyle = ComboBoxStyle.DropDownList; Maze.Classes.DBStores.Load(); EffectIDsLoad(); attrForm = new Attributes(this); effectInfo = new Maze.Classes.EffectEntry(); tabIndex = 1; }