Created
June 28, 2013 17:34
-
-
Save cwensley/5886507 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserInfoPanel : Panel | |
{ | |
public UserInfoPanel() | |
{ | |
var layout = new DynamicLayout(this); | |
layout.Add(new Label | |
{ | |
Text = "User Info", | |
Font = new Font(SystemFont.Bold, 15) | |
}); | |
layout.Add(new Label | |
{ | |
Text = "User Age" | |
}); | |
TextBox userNameBox = new TextBox(); | |
userNameBox.PlaceholderText = "Insert Age"; | |
layout.Add(userNameBox); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment