B-Arts DocumentationIndice generale

BBarraDati

Linea B-Arts Legacy: questa scheda descrive B-ArtsFramework (.NET Framework 4.7.2). Non usare firme o namespace come se appartenessero alla linea Classic successiva o al BFramework moderno .NET 10.

Identità

  • Assembly/progetto: B-ArtsFramework.

  • Target: .NET Framework 4.7.2.

  • Namespace CLR: BArts.BWindows.BControls.

  • Nome completo: BArts.BWindows.BControls.BBarraDati.

  • Tipo: class.

  • Ambito: runtime/interfaccia pubblica.

Ruolo

Tipo pubblico dei controlli Windows Forms della linea Legacy B-Arts.

Dichiarazione

<ToolboxBitmap("C:\SOFT.NET\Icone\16\Controlli\MBBarraDati.bmp")> _ Public Class BBarraDati

Classe base dichiarata: System.Windows.Forms.UserControl.

Tipi annidati pubblici

Costruttori

Nome Dichiarazione
New Public Sub New()

Proprietà

Nome Dichiarazione
FlatStyle Public Property FlatStyle() As FlatStyle
BarraDatiStyle Public Property BarraDatiStyle() As mbeStyle
ForeColor Public Shadows Property ForeColor() As Color
BorderStyle Public Shadows Property BorderStyle() As BorderStyle
BDBackColor Public Property BDBackColor() As Color
BDBackColorSel Public Property BDBackColorSel() As Color
Spaziatura Public Property Spaziatura() As Double
ShowBottonsNavigator Public Property ShowBottonsNavigator() As Boolean
ShowBottonsCommand Public Property ShowBottonsCommand() As Boolean
ShowBottonsOtherCommand Public Property ShowBottonsOtherCommand() As Boolean
ShowInfoNavigator Public Property ShowInfoNavigator() As Boolean
ShowBtnNew Public Property ShowBtnNew() As Boolean
ShowBtnDelete Public Property ShowBtnDelete() As Boolean
ShowBtnUpdate Public Property ShowBtnUpdate() As Boolean
ShowBtnCancel Public Property ShowBtnCancel() As Boolean
ShowBtnRefresh Public Property ShowBtnRefresh() As Boolean
ShowBtnSearch Public Property ShowBtnSearch() As Boolean
ShowBtnPrint Public Property ShowBtnPrint() As Boolean
ShowBtnExit Public Property ShowBtnExit() As Boolean
[ReadOnly] Public Property [ReadOnly]() As Boolean
OneRecord Public Property OneRecord() As Boolean
TipoSalvataggio <Category("CLASSI"), Description("Impostare a ESTERNO per gestione con classi oggetto: salvataggio ed eliminazione.")> _ Public Property TipoSalvataggio As eTipoSalvataggio
EST_EventoOk <Category("CLASSI"), Description("Variabile per confermare avvenuto inserimento o eliminazione record in DataTable.")> _ Public Property EST_EventoOk As Boolean
EST_SP_SELECT <Category("CLASSI"), Description("Nome stored procedure per caricamento dati in DataTable: obbligatorio per TipoSalvataggio esterno.")> _ Public Property EST_SP_SELECT As String
EST_CampiChiave <Category("CLASSI"), Description("Valori assegnati ai campi chiave per gestire Parametri SQL per esecuzione stored procedure caricamento DataTable.")> _ Public ReadOnly Property EST_CampiChiave As List(Of CampiChiave)
Cnn Public Property Cnn() As BConnection
Query Public Property Query() As String
QueryDelete Public ReadOnly Property QueryDelete() As ArrayList
EnableTransaction Public Property EnableTransaction() As Boolean
DataTable Public Property DataTable() As BDataTable
CloseConnection Public Property CloseConnection() As Boolean
Stato Public Property Stato() As mbeStato
AnnullaComando Public Property AnnullaComando() As mbeBtn
DeleteMessage Public Property DeleteMessage() As Boolean
OnStartNewRecord Public Property OnStartNewRecord() As Boolean
Posizione Public Property Posizione() As Long

Eventi

Nome Dichiarazione
BeforeClick Public Event BeforeClick(ByVal btn As mbeBtn)
AfterClick Public Event AfterClick(ByVal btn As mbeBtn)
NuovoRec Public Event NuovoRec()
CambiaRec Public Event CambiaRec(ByVal dr As DataRow)
ScriviRec Public Event ScriviRec(ByVal dr As DataRow, ByVal drOld As DataRow)
StateChange Public Event StateChange(ByVal StatoOld As mbeStato)
EST_EliminaRecord Public Event EST_EliminaRecord()
EST_SalvaRecord Public Event EST_SalvaRecord(ByRef dr As DataRow, ByRef Nuovo As Boolean)

Metodi

Nome Dichiarazione
RedrawControls Public Sub RedrawControls()
Init Public Function Init(Optional ByVal Refresh As Boolean = False) As Boolean
RicaricaDati Public Function RicaricaDati(ByVal dr As DataRow, ByVal Nuovo As Boolean) As Boolean
Update Public Shadows Function Update(ByVal dr As DataRow, Optional ByVal sWhere As String = "") As Boolean
CancelUpdate Public Sub CancelUpdate(ByVal oCtl As Control)
ControllaStato Public Sub ControllaStato()
VisionaRecord Public Sub VisionaRecord()
Primo Public Sub Primo()
Indietro Public Sub Indietro()
Avanti Public Sub Avanti()
Ultimo Public Sub Ultimo()
Nuovo Public Sub Nuovo()
Salva Public Sub Salva()
Annulla Public Sub Annulla()
Elimina Public Sub Elimina()
Aggiorna Public Sub Aggiorna()
Cerca Public Sub Cerca()
Stampa Public Sub Stampa()
Uscita Public Sub Uscita()
AddCampoChiave Public Function AddCampoChiave(ByVal Campo As CampiChiave) As Boolean
AddCampoChiave Public Function AddCampoChiave(ByVal CampoNome As String, ByVal CampoValore As Object) As Boolean
DelCampoChiave Public Function DelCampoChiave(ByVal Index As Integer) As Boolean
SalvaCampoChiave Public Function SalvaCampoChiave(ByVal Index As Integer, ByVal Campo As CampiChiave) As Boolean
ClearCampiChiave Public Function ClearCampiChiave() As Boolean
AddQueryDelete Public Function AddQueryDelete(ByVal Query As String) As Boolean
DelQueryDelete Public Function DelQueryDelete(ByVal Index As Integer) As Boolean
UpdateQueryDelete Public Function UpdateQueryDelete(ByVal Index As Integer, ByVal Query As String) As Boolean
ClearQueryDelete Public Function ClearQueryDelete() As Boolean

Sorgenti verificati

  • Controls\BBarraDati\BBarraDati.vb