Beispiel #1
0
        public void OnDamageFilterAdded(ComboFilter filter)
        {
            flowLayoutPanel1.Controls.Add(new ComboDamageFilter());
            if (filters.Count > 1)
            {
                flowLayoutPanel1.Controls.Add(addfilterbutton);
            }

            flowLayoutPanel1.Controls.Remove(filter);
            filters.Remove("Damage");
        }
Beispiel #2
0
        public void OnCostFilterAdded(ComboFilter filter)
        {
            flowLayoutPanel1.Controls.Add(new NumericCostFilter());
            if (filters.Count > 1)
            {
                flowLayoutPanel1.Controls.Add(addfilterbutton);
            }

            flowLayoutPanel1.Controls.Remove(filter);
            filters.Remove("MP Cost");
        }
Beispiel #3
0
        public void OnTargetFilterAdded(ComboFilter filter)
        {
            flowLayoutPanel1.Controls.Add(new ComboTargetFilter());

            if (filters.Count > 1)
            {
                flowLayoutPanel1.Controls.Add(addfilterbutton);
            }

            flowLayoutPanel1.Controls.Remove(filter);
            filters.Remove("Targets");
        }