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); }
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); }
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; } }