Пример #1
0
        private void setFilter(Filter f)
        {
            filter = FilterFabrica.createFilter(f);
            hideAllElsFilter();
            if (string.IsNullOrEmpty(filter.getFirstParamName()))
            {
                return;
            }
            setText(aTextBox, aLabel, filter.getFirstParamName());


            if (string.IsNullOrEmpty(filter.getSecondParamName()))
            {
                return;
            }
            setText(bTextBox, bLabel, filter.getSecondParamName());

            darkCheckBox.Visible = filter.hasDarknessParam();
        }
Пример #2
0
 public Form1()
 {
     InitializeComponent();
     filter = FilterFabrica.createFilter(0);
 }