コード例 #1
0
        public void Run()
        {
            Form      form   = new Form();
            Button    button = new Button();
            TextInput text   = new TextInput();
            CheckBox  check  = new CheckBox();

            button.Draw();
            text.Draw();
            check.Draw();
            form.AddElement(button);
            form.AddElement(text);
            form.AddElement(check);
            form.DrawAll();
            form.ShowErrors();
        }
コード例 #2
0
 public MySimulation(ConsoleGUI gui, TextInput input)
 {
     this.gui   = gui;
     this.input = input;
 }