Example #1
0
        public LDQuizInfoPanel()
        {
            RectangleShape tmp;

            tmp = new RectangleShape(LDTheme.QuizInfoPanelBound);
            tmp.FillColor = Color.Purple;
            tmp.BorderColor = Color.Green;
            addComponent(tmp);
        }
Example #2
0
        public LDQuestionBlock()
        {
            RectangleShape tmp;

            tmp = new RectangleShape(LDTheme.QuestionBlockBound);
            tmp.FillColor = Color.AliceBlue;
            tmp.BorderColor = Color.Green;
            addComponent(tmp);
        }
Example #3
0
 public override void OnLoad()
 {
     base.OnLoad();
     RectangleShape tmp;
     tmp = new RectangleShape(LDTheme.AnswerBlockBound);
     tmp.FillColor = Color.Blue;
     tmp.BorderColor = Color.Green;
     addComponent(tmp);
 }
Example #4
0
        public LDQuestionInfoPanel()
        {
            this.Bound = LDTheme.QuestionInfoPanelBound;

            RectangleShape tmp;

            tmp = new RectangleShape(LDTheme.QuestionInfoPanelBound);
            //tmp.FillColor = Color.Beige;
            tmp.BorderColor = Color.Green;
            addComponent(tmp);
        }
Example #5
0
 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);
 }