Ejemplo n.º 1
0
 public void ClearButton()
 {
     OutputList.Clear();
     CheckCheckBox    = false;
     CheckRadioButton = false;
     CheckLabel       = "";
     CheckTextBox     = "";
 }
Ejemplo n.º 2
0
 public void Expand()
 {
     Level++;
     OutputList.Clear();
     foreach (var ns in Namespaces)
     {
         ExpandChildren(ns, 0);
         PrintChildren(ns, 0);
     }
 }
Ejemplo n.º 3
0
        public void Dispose()
        {
            InputList.Clear();
            FieldList.Clear();

            foreach (var m in OutputList)
            {
                m.Dispose();
            }
            OutputList.Clear();
        }
Ejemplo n.º 4
0
        public void Shrink()
        {
            if (Level > 1)
            {
                Level--;

                OutputList.Clear();
                foreach (var ns in Namespaces)
                {
                    ShrinkChildren(ns, 0);
                    PrintChildren(ns, 0);
                }
            }
        }
Ejemplo n.º 5
0
        public void CheckButton()
        {
            OutputList.Clear();

            if (CheckTextBox != "")
            {
                OutputList.Add("Text Box is not empty");
            }

            if (CheckCheckBox == true)
            {
                OutputList.Add("Check Box is checked");
            }

            if (CheckRadioButton == true)
            {
                OutputList.Add("Radio Button is checked");
            }

            if (CheckCheckBox == true && CheckRadioButton == true)
            {
                CheckLabel = "Activated Label";
                OutputList.Add("Label is not empty");
            }

            switch (Index)
            {
            case choices.One:
                OutputList.Add("Number 1 was selected");
                break;

            case choices.Two:
                OutputList.Add("Number 2 was selected");
                break;

            case choices.Three:
                OutputList.Add("Number 3 was selected");
                break;

            case choices.Four:
                OutputList.Add("Number 4 was selected");
                break;

            default:
                break;
            }
        }
Ejemplo n.º 6
0
 public void onClickOl2ClearText(object sender, EventArgs e)
 {
     ol2.Clear();
 }