public LDQuizInfoPanel() { RectangleShape tmp; tmp = new RectangleShape(LDTheme.QuizInfoPanelBound); tmp.FillColor = Color.Purple; tmp.BorderColor = Color.Green; addComponent(tmp); }
public LDQuestionBlock() { RectangleShape tmp; tmp = new RectangleShape(LDTheme.QuestionBlockBound); tmp.FillColor = Color.AliceBlue; tmp.BorderColor = Color.Green; addComponent(tmp); }
public override void OnLoad() { base.OnLoad(); RectangleShape tmp; tmp = new RectangleShape(LDTheme.AnswerBlockBound); tmp.FillColor = Color.Blue; tmp.BorderColor = Color.Green; addComponent(tmp); }
public LDQuestionInfoPanel() { this.Bound = LDTheme.QuestionInfoPanelBound; RectangleShape tmp; tmp = new RectangleShape(LDTheme.QuestionInfoPanelBound); //tmp.FillColor = Color.Beige; tmp.BorderColor = Color.Green; addComponent(tmp); }
public TestRelativeLayout() { container.Location = new Point(100, 100); container.Width = 400; container.Height = 300; XXButton button = new XXButton(); addComponent(button); RectangleShape tmp = new RectangleShape(container); tmp.BorderColor = Color.Red; addComponent(tmp); }