Example #1
0
        private void loadLblDataBase()
        {
            this.lblDataBase = new BaseLabel(
                "lblDataBase",
                $"Banco de dados: 'BancoDeDados'.",
                Brushes.White,
                VerticalAlignment.Center,
                HorizontalAlignment.Right,
                false,
                BaseLabel.ButtonFontSize.Medium);

            this.addChildren(ref this.lblDataBase, 2, null);
        }
Example #2
0
        private void loadLblDesenvolvimento()
        {
            this.lblDesenvolvimento = new BaseLabel(
                "lblDesenvolvimento",
                "Desenvolvido por CG-Dev.",
                Brushes.White,
                VerticalAlignment.Center,
                HorizontalAlignment.Left,
                false,
                BaseLabel.ButtonFontSize.Medium);

            this.addChildren(ref this.lblDesenvolvimento, 1, null);
        }
Example #3
0
        public void addChildren(ref BaseLabel btnChildren, int?intX = null, int?intY = null)
        {
            try
            {
                if (!intX.Equals(null))
                {
                    Grid.SetColumn(btnChildren, Convert.ToInt32(intX));
                }
                if (!intY.Equals(null))
                {
                    Grid.SetRow(btnChildren, Convert.ToInt32(intY));
                }

                this.Children.Add(btnChildren);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }