C# Class VAGSuite.frmMain

Inheritance: DevExpress.XtraEditors.XtraForm
显示文件 Open project: Blackfrosch/VAGEDCSuite

Public Properties

Property Type Description
m_DelegateStartReleaseNotePanel DelegateStartReleaseNotePanel

Public Methods

Method Description
InitSkins ( ) : void
OnSkinClick ( object sender, DevExpress e ) : void

OnSkinClick: Als er een skin gekozen wordt door de gebruiker voer deze dan door in de user interface

airmassResult_onClose ( object sender, EventArgs e ) : void
airmassResult_onStartTableViewer ( object sender, ctrlAirmassResult e ) : void
axis_Close ( object sender, EventArgs e ) : void
axis_Save ( object sender, EventArgs e ) : void
dockPanel_ClosedPanel ( object sender, DevExpress e ) : void
frmMain ( ) : System
m_msiUpdater_onDataPump ( msiupdater e ) : void
m_msiUpdater_onUpdateProgressChanged ( msiupdater e ) : void
tabdet_onAxisEditorRequested ( object sender, MapViewerEx e ) : void
tabdet_onAxisLock ( object sender, MapViewerEx e ) : void
tabdet_onClose ( object sender, EventArgs e ) : void
tabdet_onSelectionChanged ( object sender, MapViewerEx e ) : void
tabdet_onSliderMove ( object sender, MapViewerEx e ) : void
tabdet_onSplitterMoved ( object sender, MapViewerEx e ) : void
tabdet_onSurfaceGraphViewChangedEx ( object sender, MapViewerEx e ) : void
tabdet_onSymbolRead ( object sender, MapViewerEx e ) : void
tabdet_onSymbolSave ( object sender, MapViewerEx e ) : void
tabdet_onSymbolSelect ( object sender, CompareResults e ) : void
tabdet_onSymbolSelectForFind ( object sender, CompareResults e ) : void
tabdet_onViewTypeChanged ( object sender, MapViewerEx e ) : void
translog_onNoteChanged ( object sender, frmTransactionLog e ) : void
translog_onRollBack ( object sender, frmTransactionLog e ) : void
translog_onRollForward ( object sender, frmTransactionLog e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddChecksum ( byte allBytes ) : UInt32
CheckAllTablesAvailable ( ) : bool
CheckMapViewerActive ( SymbolHelper sh ) : bool
CloseProject ( ) : void
CompareSymbolToCurrentFile ( string symbolname, int address, int length, string filename, double &diffperc, int &diffabs, double &diffavg, double correction ) : bool
CompareToFile ( string filename ) : void
CreateProjectBackupFile ( ) : void
DetectMaps ( string filename, List &newCodeBlocks, List &newAxisHelpers, bool showMessage, bool isPrimaryFile ) : SymbolCollection
DetermineNumberOfCodeblocks ( ) : int
DumpDockWindows ( ) : void
DumpECUInfo ( ECUInfo ecuinfo ) : void
EditProjectProperties ( string project ) : void
FindMaxTableValue ( string symbolname, int orgvalue ) : int
FindSymbol ( SymbolCollection curSymbols, string SymbolName ) : SymbolHelper
GetAppDataPath ( ) : string
GetBackupOlderThanDateTime ( string project, System.DateTime mileDT ) : string
GetBinaryForProject ( string projectname ) : string
GetFileDescriptionFromFile ( string file ) : string
GetLastAccessTime ( string filename ) : System.DateTime
GetMapCorrectionFactor ( string symbolname ) : double
GetMapCorrectionOffset ( string mapname ) : double
GetMapCount ( string varName, SymbolCollection newSymbols ) : int
GetNumberOfBackups ( string project ) : int
GetNumberOfTransactions ( string project ) : int
GetSymbolAddress ( SymbolCollection curSymbolCollection, string symbolname ) : System.Int64
GetSymbolHeight ( SymbolCollection curSymbolCollection, string symbolname ) : int
GetSymbolLength ( SymbolCollection curSymbolCollection, string symbolname ) : int
GetSymbolWidth ( SymbolCollection curSymbolCollection, string symbolname ) : int
GetTableMatrixWitdhByName ( string filename, SymbolCollection curSymbols, string symbolname, int &columns, int &rows ) : int
GetXAxisAddress ( SymbolCollection curSymbols, string symbolname ) : int
GetXaxisValues ( string filename, SymbolCollection curSymbols, string symbolname ) : int[]
GetYAxisAddress ( SymbolCollection curSymbols, string symbolname ) : int
GetYaxisValues ( string filename, SymbolCollection curSymbols, string symbolname ) : int[]
ImportDescriptorFile ( ImportFileType importFileType ) : void
ImportExcelSymbol ( string symbolname, string filename ) : void
ImportFileInExcelFormat ( ) : void
ImportXMLFile ( string filename, SymbolCollection coll2load, bool ImportFromRepository ) : bool
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

LoadBinaryForProject ( string projectname ) : void
LoadLayoutFiles ( ) : void
MakeDirName ( string dirname ) : string
MapsWithNameMissing ( string varName, SymbolCollection newSymbols ) : bool
OpenFile ( string fileName, bool showMessage ) : void
OpenProject ( string projectname ) : void
ParseDirectory ( string folder ) : void
RollBack ( TransactionEntry entry ) : void
RollForward ( TransactionEntry entry ) : void
RollForwardOnFile ( string file2Rollback, TransactionEntry entry ) : void
SaveAdditionalSymbols ( ) : void
SaveAxisDataIncludingSyncOption ( int address, int length, byte data, string fileName, bool useNote, string note ) : void
SaveDataIncludingSyncOption ( string fileName, string varName, int address, int length, byte data, bool useNote, string note ) : void
SaveLayoutFiles ( ) : void
SetFilterMode ( ) : void
SetMapScale ( string filename, string symbolname, int axismax, int lockmode ) : void
SetMapSliderPosition ( string filename, string symbolname, int sliderposition ) : void
SetStatusText ( string text ) : void
SetToolstripTheme ( ) : void
StartAxisViewer ( SymbolHelper symbol, Axis AxisToShow ) : void
StartCompareDifferenceViewer ( SymbolHelper sh, string Filename, int SymbolAddress ) : void
StartCompareMapViewer ( string SymbolName, string Filename, int SymbolAddress, int SymbolLength, SymbolCollection curSymbols, int symbolnumber ) : void
StartExcelExport ( ) : void
StartHexViewer ( ) : void
StartPDFFile ( string file, string errormessage ) : void
StartReleaseNotesViewer ( string xmlfilename, string version ) : void
StartTableViewer ( ) : void
StartTableViewer ( string symbolname, int codeblock ) : void
SymbolExists ( string symbolname ) : bool
TryToLoadAdditionalAS2Symbols ( string filename, SymbolCollection coll2load ) : void
TryToLoadAdditionalCSVSymbols ( string filename, SymbolCollection coll2load ) : void
TryToLoadAdditionalSymbols ( string filename, ImportFileType importFileType, SymbolCollection symbolCollection, bool fromRepository ) : void
UpdateOpenViewers ( string filename ) : void
UpdateRollbackForwardControls ( ) : void
UpdateViewer ( MapViewerEx tabdet ) : void
ValidateFile ( ) : bool
VerifyChecksum ( string filename, bool showQuestion, bool showInfo ) : void
barButtonItem1_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItem2_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItem3_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItem4_ItemClick ( object sender, ItemClickEventArgs e ) : void
barButtonItem5_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnAbout_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnActivateLaunchControl_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnActivateSmokeLimiters_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnAddNoteToProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnAirmassResult_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnAppSettings_ItemClick ( object sender, DevExpress e ) : void
btnBinaryCompare_ItemClick ( object sender, DevExpress e ) : void
btnBoostPressureLimitSVBL_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnBoostPressureLimiter_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnBuildLibrary_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnCheckForUpdates_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnChecksum_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnCloseProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnCompareFiles_ItemClick ( object sender, DevExpress e ) : void
btnCreateAProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnCreateBackup_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnDriverWish_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnEDC15PDocumentation_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnEGRMap_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnEditEEProm_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnEditProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnExcelImport_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnExportToExcel_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnExportXDF_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnFirmwareInformation_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnIQByMAF_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnIQByMap_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnInjectorDuration_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnLookupPartnumber_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnMergeFiles_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnN75Map_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnOpenFile_ItemClick ( object sender, DevExpress e ) : void
btnOpenProject_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnProduceLatestBinary_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnRebuildFile_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnRebuildFile_ItemClick_1 ( object sender, ItemClickEventArgs e ) : void
btnReleaseNotes_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnRollback_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnRollforward_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnSOILimiter_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnSaveAs_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnSearchMaps_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnShowProjectLogbook_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnShowTransactionLog_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnSmokeLimiter_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnSplitFiles_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnStartIQ_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnStartOfInjection_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnTargetBoost_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnTestFiles_ItemClick ( object sender, DevExpress e ) : void
btnTorqueLimiter_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnUserManual_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnVINDecoder_ItemClick ( object sender, ItemClickEventArgs e ) : void
btnViewFileInHex_ItemClick ( object sender, ItemClickEventArgs e ) : void
contextMenuStrip1_Opening ( object sender, CancelEventArgs e ) : void
dockManager1_LayoutUpgrade ( object sender, DevExpress e ) : void
editXAxisToolStripMenuItem_Click ( object sender, EventArgs e ) : void
editYAxisToolStripMenuItem_Click ( object sender, EventArgs e ) : void
exportToExcelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
frmMain_FormClosing ( object sender, FormClosingEventArgs e ) : void
frmMain_Load ( object sender, EventArgs e ) : void
frmMain_Shown ( object sender, EventArgs e ) : void
gridControl1_MouseMove ( object sender, MouseEventArgs e ) : void
gridView1_CustomDrawCell ( object sender, DevExpress e ) : void
gridView1_DoubleClick ( object sender, EventArgs e ) : void
gridViewSymbols_CellValueChanged ( object sender, DevExpress e ) : void
gridViewSymbols_KeyDown ( object sender, KeyEventArgs e ) : void
isSymbolDisplaySameAddress ( SymbolHelper sh, DockPanel pnl ) : bool

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

InitSkins() public method

public InitSkins ( ) : void
return void

OnSkinClick() public method

OnSkinClick: Als er een skin gekozen wordt door de gebruiker voer deze dan door in de user interface
public OnSkinClick ( object sender, DevExpress e ) : void
sender object
e DevExpress
return void

airmassResult_onClose() public method

public airmassResult_onClose ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

airmassResult_onStartTableViewer() public method

public airmassResult_onStartTableViewer ( object sender, ctrlAirmassResult e ) : void
sender object
e ctrlAirmassResult
return void

axis_Close() public method

public axis_Close ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

axis_Save() public method

public axis_Save ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

dockPanel_ClosedPanel() public method

public dockPanel_ClosedPanel ( object sender, DevExpress e ) : void
sender object
e DevExpress
return void

frmMain() public method

public frmMain ( ) : System
return System

m_msiUpdater_onDataPump() public method

public m_msiUpdater_onDataPump ( msiupdater e ) : void
e msiupdater
return void

m_msiUpdater_onUpdateProgressChanged() public method

public m_msiUpdater_onUpdateProgressChanged ( msiupdater e ) : void
e msiupdater
return void

tabdet_onAxisEditorRequested() public method

public tabdet_onAxisEditorRequested ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onAxisLock() public method

public tabdet_onAxisLock ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onClose() public method

public tabdet_onClose ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

tabdet_onSelectionChanged() public method

public tabdet_onSelectionChanged ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSliderMove() public method

public tabdet_onSliderMove ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSplitterMoved() public method

public tabdet_onSplitterMoved ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSurfaceGraphViewChangedEx() public method

public tabdet_onSurfaceGraphViewChangedEx ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSymbolRead() public method

public tabdet_onSymbolRead ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSymbolSave() public method

public tabdet_onSymbolSave ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

tabdet_onSymbolSelect() public method

public tabdet_onSymbolSelect ( object sender, CompareResults e ) : void
sender object
e CompareResults
return void

tabdet_onSymbolSelectForFind() public method

public tabdet_onSymbolSelectForFind ( object sender, CompareResults e ) : void
sender object
e CompareResults
return void

tabdet_onViewTypeChanged() public method

public tabdet_onViewTypeChanged ( object sender, MapViewerEx e ) : void
sender object
e MapViewerEx
return void

translog_onNoteChanged() public method

public translog_onNoteChanged ( object sender, frmTransactionLog e ) : void
sender object
e frmTransactionLog
return void

translog_onRollBack() public method

public translog_onRollBack ( object sender, frmTransactionLog e ) : void
sender object
e frmTransactionLog
return void

translog_onRollForward() public method

public translog_onRollForward ( object sender, frmTransactionLog e ) : void
sender object
e frmTransactionLog
return void

Property Details

m_DelegateStartReleaseNotePanel public_oe property

public DelegateStartReleaseNotePanel m_DelegateStartReleaseNotePanel
return DelegateStartReleaseNotePanel