public TableElementChooser(string table_name)
 {
     InitializeComponent();
     TableName    = table_name;
     TableManager = new SimpleTableManager(SqliteFinanceiro.Handler, table_name);
     PesquisarB_Click(null, null);
 }
        public SimpleTableElementCreate(string table_name, long?rd = null)
        {
            InitializeComponent();
            var f = new SqliteFinanceiro();

            Manager          = new SimpleTableManager(f.Handler, table_name);
            RegistrationDate = rd;
            string a = table_name switch {
                "Entity" => "entidade",
                "Source" => "fonte",
                _ => "?"
            };

            Title = $"Criar {a}";
            if (rd.HasValue)
            {
                NomeTB.Text = Manager.Get(rd);
            }
        }

        SimpleTableManager Manager {
            get;
        }
        long?RegistrationDate {
            get;
        }