Ejemplo n.º 1
0
        //create a new filter
        private void BtnCreateFilter_Click(object sender, EventArgs e)
        {
            //Creates a filterbuilder window
            NewFilterBuilder FilterWin = new NewFilterBuilder();

            //Checks that the "Create Filter" button was pressed on the filterbuilder window and then adds that filter to the list
            if (FilterWin.ShowDialog(this) == DialogResult.OK && FilterWin.filterName != null)
            {
                BuildFilters();
            }
        }
Ejemplo n.º 2
0
 //create a new filter
 private void BtnCreateFilter_Click(object sender, EventArgs e)
 {
     //Creates a filterbuilder window
     NewFilterBuilder FilterWin = new NewFilterBuilder();
     //Checks that the "Create Filter" button was pressed on the filterbuilder window and then adds that filter to the list
     if (FilterWin.ShowDialog(this) == DialogResult.OK && FilterWin.filterName!=null)
     {
         BuildFilters();
     }
 }