Exemple #1
0
        public ResultBox(int iX, int iY, ResultBoxType iType)
        {
            this.x       = iX;
            this.y       = iY;
            this.boxType = iType;
            switch (iType)
            {
            case ResultBoxType.Opened:
                brush = new SolidBrush(Color.AliceBlue);
                break;

            case ResultBoxType.Closed:
                brush = new SolidBrush(Color.LightGreen);
                break;
            }
            width  = 18;
            height = 18;
            boxRec = new Rectangle(x, y, width, height);
        }
Exemple #2
0
        public ResultBox(int iX, int iY, ResultBoxType iType)
        {
            this.x = iX;
            this.y = iY;
            this.boxType = iType;
            switch (iType)
            {
                case ResultBoxType.Opened:
                    brush = new SolidBrush(Color.AliceBlue);
                    break;
                case ResultBoxType.Closed:
                    brush = new SolidBrush(Color.LightGreen);
                    break;

            }
            width = 18;
            height = 18;
            boxRec = new Rectangle(x, y, width, height);
        }
Exemple #3
0
        public ResultBox(int x, int y, ResultBoxType resultType)
        {
            X       = x;
            Y       = y;
            BoxType = resultType;

            switch (resultType)
            {
            case ResultBoxType.Opened:
                Brush = new SolidBrush(Color.AliceBlue);
                break;

            case ResultBoxType.Closed:
                Brush = new SolidBrush(Color.LightGreen);
                break;
            }

            Width  = 18;
            Height = 18;
            BoxRec = new Rectangle(x, y, Width, Height);
        }