示例#1
0
文件: MainForm.cs 项目: scerdam/Maze
        private void btnAddAttributes_Click(object sender, EventArgs e)
        {
            if (attrForm.IsDisposed)
                attrForm = new Attributes(this);
            attrForm.Show();

            attrForm.CheckAttributes(GetBinaryArray(AttributeValues));
        }
示例#2
0
文件: MainForm.cs 项目: scerdam/Maze
        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;
        }