Merge pull request #950 from tig/remove_ienumerable

POC to remove IEnumerable from View & Window
This commit is contained in:
Charlie Kindel
2020-10-21 16:18:09 -06:00
committed by GitHub
7 changed files with 29 additions and 31 deletions

View File

@@ -185,16 +185,16 @@ static class Demo {
};
var tf = new Button (3, 19, "Ok");
var frameView = new FrameView (new Rect (3, 10, 25, 6), "Options");
frameView.Add (new CheckBox (1, 0, "Remember me"));
frameView.Add (new RadioGroup (1, 2, new ustring [] { "_Personal", "_Company" }));
// Add some content
container.Add (
login,
loginText,
password,
passText,
new FrameView (new Rect (3, 10, 25, 6), "Options"){
new CheckBox (1, 0, "Remember me"),
new RadioGroup (1, 2, new ustring [] { "_Personal", "_Company" }),
},
frameView,
new ListView (new Rect (59, 6, 16, 4), new string [] {
"First row",
"<>",