INIT OK 20.1.4
This commit is contained in:
+2
-2
@@ -39,7 +39,7 @@ Public Class ContractTemplate_VC
|
|||||||
Dim _ContractTemplate As ContractTemplate = TryCast(View.SelectedObjects(0), ContractTemplate)
|
Dim _ContractTemplate As ContractTemplate = TryCast(View.SelectedObjects(0), ContractTemplate)
|
||||||
If _ContractTemplate Is Nothing Then Throw New Exception("*Váratlan hiba történt, a folyamat megszakadt!")
|
If _ContractTemplate Is Nothing Then Throw New Exception("*Váratlan hiba történt, a folyamat megszakadt!")
|
||||||
If String.IsNullOrEmpty(_ContractTemplate.ContractsProperties) Then Throw New Exception("*Nem lett kiválasztva a kapcsolódó objektum!")
|
If String.IsNullOrEmpty(_ContractTemplate.ContractsProperties) Then Throw New Exception("*Nem lett kiválasztva a kapcsolódó objektum!")
|
||||||
_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE Contracts." + _ContractTemplate.ContractsProperties)
|
'_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE Contracts." + _ContractTemplate.ContractsProperties)
|
||||||
_ContractTemplate.ContractsProperties = ""
|
_ContractTemplate.ContractsProperties = ""
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
||||||
@@ -57,7 +57,7 @@ Public Class ContractTemplate_VC
|
|||||||
Dim _ContractTemplate As ContractTemplate = TryCast(View.SelectedObjects(0), ContractTemplate)
|
Dim _ContractTemplate As ContractTemplate = TryCast(View.SelectedObjects(0), ContractTemplate)
|
||||||
If _ContractTemplate Is Nothing Then Throw New Exception("*Váratlan hiba történt, a folyamat megszakadt!")
|
If _ContractTemplate Is Nothing Then Throw New Exception("*Váratlan hiba történt, a folyamat megszakadt!")
|
||||||
If String.IsNullOrEmpty(_ContractTemplate.APCSheetByProductsProperties) Then Throw New Exception("*Nem lett kiválasztva a kapcsolódó objektum!")
|
If String.IsNullOrEmpty(_ContractTemplate.APCSheetByProductsProperties) Then Throw New Exception("*Nem lett kiválasztva a kapcsolódó objektum!")
|
||||||
_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE APCSheetByProducts." + _ContractTemplate.APCSheetByProductsProperties)
|
'_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE APCSheetByProducts." + _ContractTemplate.APCSheetByProductsProperties)
|
||||||
_ContractTemplate.APCSheetByProductsProperties = ""
|
_ContractTemplate.APCSheetByProductsProperties = ""
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
||||||
|
|||||||
+3
-3
@@ -429,7 +429,7 @@ Public Class ImmovablesCostRecordExcelVC
|
|||||||
Dim _ActImmovables As XPCollection = _ocur.CreateCollection(GetType(Immovables), CriteriaOperator.Parse("1=2"))
|
Dim _ActImmovables As XPCollection = _ocur.CreateCollection(GetType(Immovables), CriteriaOperator.Parse("1=2"))
|
||||||
Dim _ImmovablesCostRecordGroup As XPCollection = _ocur.CreateCollection(GetType(ImmovablesCostRecordGroup), CriteriaOperator.Parse("1=1"))
|
Dim _ImmovablesCostRecordGroup As XPCollection = _ocur.CreateCollection(GetType(ImmovablesCostRecordGroup), CriteriaOperator.Parse("1=1"))
|
||||||
Dim _OpenFileDialog As New OpenFileDialog
|
Dim _OpenFileDialog As New OpenFileDialog
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Dim _xlsFile As String = _OpenFileDialog.FileName
|
Dim _xlsFile As String = _OpenFileDialog.FileName
|
||||||
_cs = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
_cs = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
||||||
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
||||||
@@ -484,7 +484,7 @@ Public Class ImmovablesCostRecordExcelVC
|
|||||||
MsgBox(ex.Message)
|
MsgBox(ex.Message)
|
||||||
conn.Close()
|
conn.Close()
|
||||||
Finally
|
Finally
|
||||||
_Waitformclass.FinalWork()
|
_WaitFormClass.FinalWork()
|
||||||
End Try
|
End Try
|
||||||
End If
|
End If
|
||||||
|
|
||||||
@@ -552,7 +552,7 @@ Public Class ImmovablesCostRecordExcelVC
|
|||||||
Dim _ImmovablesName As New ArrayList
|
Dim _ImmovablesName As New ArrayList
|
||||||
Dim _SID As New ArrayList
|
Dim _SID As New ArrayList
|
||||||
Dim _OpenFileDialog As New OpenFileDialog
|
Dim _OpenFileDialog As New OpenFileDialog
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
|
|
||||||
Dim _xlsFile As String = _OpenFileDialog.FileName
|
Dim _xlsFile As String = _OpenFileDialog.FileName
|
||||||
|
|
||||||
|
|||||||
+3
-3
@@ -51,7 +51,7 @@ Public Class ImmovablesVC
|
|||||||
Dim _OpenFileDialog As New OpenFileDialog
|
Dim _OpenFileDialog As New OpenFileDialog
|
||||||
_OpenFileDialog.Filter = "Xls Files (.xls)|*.xls|Xlsx Files (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
_OpenFileDialog.Filter = "Xls Files (.xls)|*.xls|Xlsx Files (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
||||||
|
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
If Not String.IsNullOrEmpty(_OpenFileDialog.FileName) Then
|
If Not String.IsNullOrEmpty(_OpenFileDialog.FileName) Then
|
||||||
Dim _xlsFile As String = _OpenFileDialog.FileName
|
Dim _xlsFile As String = _OpenFileDialog.FileName
|
||||||
|
|
||||||
@@ -97,7 +97,7 @@ Public Class ImmovablesVC
|
|||||||
End Try
|
End Try
|
||||||
|
|
||||||
|
|
||||||
_WaitFormClass.InitWork(0, 1, _Array_UniqueObjects.Count)
|
_WaitFormClass.Initwork(0, 1, _Array_UniqueObjects.Count)
|
||||||
For ik = 0 To _Array_UniqueObjects.Count - 1 Step 1
|
For ik = 0 To _Array_UniqueObjects.Count - 1 Step 1
|
||||||
Dim _UniqueObjects As UniqueObjects = _ocur.FindObject(Of UniqueObjects)(CriteriaOperator.Parse("Name=?", _Array_UniqueObjects(ik)))
|
Dim _UniqueObjects As UniqueObjects = _ocur.FindObject(Of UniqueObjects)(CriteriaOperator.Parse("Name=?", _Array_UniqueObjects(ik)))
|
||||||
If _UniqueObjects IsNot Nothing Then
|
If _UniqueObjects IsNot Nothing Then
|
||||||
@@ -122,7 +122,7 @@ Public Class ImmovablesVC
|
|||||||
Next
|
Next
|
||||||
End If
|
End If
|
||||||
_ocur.CommitChanges()
|
_ocur.CommitChanges()
|
||||||
_Waitformclass.FinalWork()
|
_WaitFormClass.FinalWork()
|
||||||
If _MissingImmovable > 0 Then
|
If _MissingImmovable > 0 Then
|
||||||
Dim _UOList As String = ""
|
Dim _UOList As String = ""
|
||||||
For Each _UO As String In _MissingImmovablesUO
|
For Each _UO As String In _MissingImmovablesUO
|
||||||
|
|||||||
+1
-1
@@ -229,7 +229,7 @@ Public Class OfferOutVC
|
|||||||
|
|
||||||
Private Sub Grid_HandleCreated(sender As Object, e As System.EventArgs)
|
Private Sub Grid_HandleCreated(sender As Object, e As System.EventArgs)
|
||||||
RemoveHandler _Grid.GridControl.HandleCreated, AddressOf Grid_HandleCreated
|
RemoveHandler _Grid.GridControl.HandleCreated, AddressOf Grid_HandleCreated
|
||||||
_GridListEditor.Grid.BeginInvoke(New Windows.Forms.MethodInvoker(AddressOf SelectAll))
|
_GridListEditor.Grid.BeginInvoke(New System.Windows.Forms.MethodInvoker(AddressOf SelectAll))
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub SelectAll()
|
Private Sub SelectAll()
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ Public Class ProductFinderVC
|
|||||||
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub Edit_QTT_Will_Cell()
|
Private Sub Edit_QTT_Will_Cell()
|
||||||
'e.KeyCode = Windows.Forms.Keys.Enter And
|
'e.KeyCode = System.Windows.Forms.Keys.Enter And
|
||||||
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
||||||
'_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.GetVisibleColumn(_GridListEditor_Select.FindColumn("QTT_Will").VisibleIndex)
|
'_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.GetVisibleColumn(_GridListEditor_Select.FindColumn("QTT_Will").VisibleIndex)
|
||||||
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ Public Class ProductSelect_VC
|
|||||||
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub Edit_QTT_Will_Cell()
|
Private Sub Edit_QTT_Will_Cell()
|
||||||
'e.KeyCode = Windows.Forms.Keys.Enter And
|
'e.KeyCode = System.Windows.Forms.Keys.Enter And
|
||||||
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
||||||
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
||||||
_GridListEditor_Select.GridView.HideEditor()
|
_GridListEditor_Select.GridView.HideEditor()
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ Public Class ServiceFinderVC
|
|||||||
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
_GridListEditor_Select.GridView.GridControl.Invoke(New EditCellDelegate(AddressOf Edit_QTT_Will_Cell))
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub Edit_QTT_Will_Cell()
|
Private Sub Edit_QTT_Will_Cell()
|
||||||
'e.KeyCode = Windows.Forms.Keys.Enter And
|
'e.KeyCode = System.Windows.Forms.Keys.Enter And
|
||||||
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
If _GridListEditor_Select.GridView.FocusedRowHandle = GridControl.AutoFilterRowHandle And _GridListEditor_Select.GridView.RowCount >= 1 Then
|
||||||
'_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.GetVisibleColumn(_GridListEditor_Select.FindColumn("QTT_Will").VisibleIndex)
|
'_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.GetVisibleColumn(_GridListEditor_Select.FindColumn("QTT_Will").VisibleIndex)
|
||||||
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
_GridListEditor_Select.GridView.FocusedColumn = _GridListEditor_Select.GridView.Columns("QTT_Will")
|
||||||
|
|||||||
+1
-1
@@ -173,7 +173,7 @@ Public Class GLAccountsVC
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub StringComboUserControl_KeyDown(sender As Object, e As Windows.Forms.KeyEventArgs)
|
Private Sub StringComboUserControl_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs)
|
||||||
If e.KeyCode = System.Windows.Forms.Keys.F12 Then
|
If e.KeyCode = System.Windows.Forms.Keys.F12 Then
|
||||||
'// Kell egy mentés
|
'// Kell egy mentés
|
||||||
If TryCast(sender, DevExpress.XtraEditors.ComboBoxEdit) IsNot Nothing Then
|
If TryCast(sender, DevExpress.XtraEditors.ComboBoxEdit) IsNot Nothing Then
|
||||||
|
|||||||
+1
-1
@@ -519,7 +519,7 @@ Public Class BankImportVC
|
|||||||
_GLRows.BankImportHeaderSumDetail.BankImportHeaderSum.GLBank.IsEditable = False
|
_GLRows.BankImportHeaderSumDetail.BankImportHeaderSum.GLBank.IsEditable = False
|
||||||
_ocur.CommitChanges()
|
_ocur.CommitChanges()
|
||||||
|
|
||||||
Windows.Forms.MessageBox.Show("Az aktuális banki kivonathoz tartozó fõkönyvi bejegyzés végledesítésre került.")
|
System.Windows.Forms.MessageBox.Show("Az aktuális banki kivonathoz tartozó fõkönyvi bejegyzés végledesítésre került.")
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
+1
-1
@@ -32,7 +32,7 @@ Public Class GIROInfo_VC
|
|||||||
Dim _OpenFileDialog As New OpenFileDialog
|
Dim _OpenFileDialog As New OpenFileDialog
|
||||||
_OpenFileDialog.Filter = "xls Files (.xls)|*.xls|xlsx Files (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
_OpenFileDialog.Filter = "xls Files (.xls)|*.xls|xlsx Files (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
||||||
_OpenFileDialog.FilterIndex = 1
|
_OpenFileDialog.FilterIndex = 1
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK And (Not String.IsNullOrEmpty(_OpenFileDialog.FileName)) Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK And (Not String.IsNullOrEmpty(_OpenFileDialog.FileName)) Then
|
||||||
Dim _xlsFile As String = _OpenFileDialog.FileName
|
Dim _xlsFile As String = _OpenFileDialog.FileName
|
||||||
_cs = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
_cs = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
||||||
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
||||||
|
|||||||
+3
-3
@@ -132,7 +132,7 @@ Public Class BallanceVC
|
|||||||
|
|
||||||
Dim _workbook As DevExpress.Spreadsheet.IWorkbook = _SpreadsheetControl.Document
|
Dim _workbook As DevExpress.Spreadsheet.IWorkbook = _SpreadsheetControl.Document
|
||||||
Dim _worksheet As Worksheet = _workbook.Worksheets("Borító")
|
Dim _worksheet As Worksheet = _workbook.Worksheets("Borító")
|
||||||
Dim _worksheet_range As DevExpress.Spreadsheet.Range
|
Dim _worksheet_range As DevExpress.Spreadsheet.CellRange
|
||||||
|
|
||||||
_worksheet_range = _worksheet.GetUsedRange()
|
_worksheet_range = _worksheet.GetUsedRange()
|
||||||
|
|
||||||
@@ -162,7 +162,7 @@ Public Class BallanceVC
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub aSpreadImportXML_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImportXML.Execute
|
Private Sub aSpreadImportXML_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImportXML.Execute
|
||||||
Dim openFileDialog1 As New Windows.Forms.OpenFileDialog()
|
Dim openFileDialog1 As New System.Windows.Forms.OpenFileDialog()
|
||||||
|
|
||||||
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
||||||
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
||||||
@@ -175,7 +175,7 @@ Public Class BallanceVC
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub aSpreadExportXML_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadExportXML.Execute
|
Private Sub aSpreadExportXML_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadExportXML.Execute
|
||||||
Dim openFileDialog1 As New Windows.Forms.SaveFileDialog()
|
Dim openFileDialog1 As New System.Windows.Forms.SaveFileDialog()
|
||||||
|
|
||||||
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
||||||
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
||||||
|
|||||||
+1
-1
@@ -242,7 +242,7 @@ Public Class BusinessDirectory_VC
|
|||||||
Private Sub aOpenRTFDocument_InsertDocVariable_Execute(sender As Object, e As PopupWindowShowActionExecuteEventArgs) Handles aOpenRTFDocument_InsertDocVariable.Execute
|
Private Sub aOpenRTFDocument_InsertDocVariable_Execute(sender As Object, e As PopupWindowShowActionExecuteEventArgs) Handles aOpenRTFDocument_InsertDocVariable.Execute
|
||||||
Try
|
Try
|
||||||
Dim _RTFDocumanetsHandler_DocVariable_PopUp As RTFDocumanetsHandler_DocVariable_PopUp = TryCast(e.PopupWindow.View.SelectedObjects(0), RTFDocumanetsHandler_DocVariable_PopUp)
|
Dim _RTFDocumanetsHandler_DocVariable_PopUp As RTFDocumanetsHandler_DocVariable_PopUp = TryCast(e.PopupWindow.View.SelectedObjects(0), RTFDocumanetsHandler_DocVariable_PopUp)
|
||||||
_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE " + _RTFDocumanetsHandler_DocVariable_PopUp.DocVariableString)
|
'_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE " + _RTFDocumanetsHandler_DocVariable_PopUp.DocVariableString)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
||||||
End Try
|
End Try
|
||||||
|
|||||||
+1
-1
@@ -135,7 +135,7 @@ Public Class RTFDocumentsHandlerVC
|
|||||||
Private Sub aRTFDocuments_InsertRTFDocVariable_Execute(sender As Object, e As PopupWindowShowActionExecuteEventArgs) Handles aRTFDocuments_InsertRTFDocVariable.Execute
|
Private Sub aRTFDocuments_InsertRTFDocVariable_Execute(sender As Object, e As PopupWindowShowActionExecuteEventArgs) Handles aRTFDocuments_InsertRTFDocVariable.Execute
|
||||||
Try
|
Try
|
||||||
Dim _RTFDocumanetsHandler_DocVariable_PopUp As RTFDocumanetsHandler_DocVariable_PopUp = TryCast(e.PopupWindow.View.SelectedObjects(0), RTFDocumanetsHandler_DocVariable_PopUp)
|
Dim _RTFDocumanetsHandler_DocVariable_PopUp As RTFDocumanetsHandler_DocVariable_PopUp = TryCast(e.PopupWindow.View.SelectedObjects(0), RTFDocumanetsHandler_DocVariable_PopUp)
|
||||||
_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE " + _RTFDocumanetsHandler_DocVariable_PopUp.DocVariableString)
|
'_RichEditControl.Document.Fields.Add(_RichEditControl.Document.CaretPosition, "DOCVARIABLE " + _RTFDocumanetsHandler_DocVariable_PopUp.DocVariableString)
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
MsgBox(ex.Message, MsgBoxStyle.OkOnly + MsgBoxStyle.Critical, "Hiba!")
|
||||||
End Try
|
End Try
|
||||||
|
|||||||
@@ -120,7 +120,7 @@ Partial Public Class SpreadImportVC
|
|||||||
|
|
||||||
|
|
||||||
Private Sub aSpreadImport_LoadDocument_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImport_LoadDocument.Execute
|
Private Sub aSpreadImport_LoadDocument_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImport_LoadDocument.Execute
|
||||||
Dim openFileDialog1 As New Windows.Forms.OpenFileDialog()
|
Dim openFileDialog1 As New System.Windows.Forms.OpenFileDialog()
|
||||||
|
|
||||||
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
||||||
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
||||||
@@ -133,7 +133,7 @@ Partial Public Class SpreadImportVC
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub aSpreadImport_SaveDocument_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImport_SaveDocument.Execute
|
Private Sub aSpreadImport_SaveDocument_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aSpreadImport_SaveDocument.Execute
|
||||||
Dim openFileDialog1 As New Windows.Forms.SaveFileDialog()
|
Dim openFileDialog1 As New System.Windows.Forms.SaveFileDialog()
|
||||||
|
|
||||||
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
openFileDialog1.InitialDirectory = My.Computer.FileSystem.SpecialDirectories.MyDocuments
|
||||||
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
openFileDialog1.Filter = "XML files (*.xml)|*.xml|All files (*.*)|*.*"
|
||||||
|
|||||||
@@ -1458,7 +1458,7 @@ Public Class XLSImportsVC
|
|||||||
Dim _Import_PH_Immovables_PopUp As Import_PH_Immovables_PopUp = TryCast(View.SelectedObjects(0), Import_PH_Immovables_PopUp)
|
Dim _Import_PH_Immovables_PopUp As Import_PH_Immovables_PopUp = TryCast(View.SelectedObjects(0), Import_PH_Immovables_PopUp)
|
||||||
If _Import_PH_Immovables_PopUp Is Nothing Then Throw New Exception("*Váratlan hiba történt a folyamat megszakadt!")
|
If _Import_PH_Immovables_PopUp Is Nothing Then Throw New Exception("*Váratlan hiba történt a folyamat megszakadt!")
|
||||||
|
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
_Import_PH_Immovables_PopUp.FileName = _OpenFileDialog.FileName
|
_Import_PH_Immovables_PopUp.FileName = _OpenFileDialog.FileName
|
||||||
End If
|
End If
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
@@ -139,10 +139,10 @@ Public Class ListViewModelManagerVC
|
|||||||
Private Sub aListViewModelManager_FileBrowser_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aListViewModelManager_FileBrowser.Execute
|
Private Sub aListViewModelManager_FileBrowser_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aListViewModelManager_FileBrowser.Execute
|
||||||
Dim _ListViewCustomization As ListViewCustomization = TryCast(View.SelectedObjects(0), ListViewCustomization)
|
Dim _ListViewCustomization As ListViewCustomization = TryCast(View.SelectedObjects(0), ListViewCustomization)
|
||||||
If _ListViewCustomization IsNot Nothing Then
|
If _ListViewCustomization IsNot Nothing Then
|
||||||
Dim _OpenFileDialog As New Windows.Forms.OpenFileDialog
|
Dim _OpenFileDialog As New System.Windows.Forms.OpenFileDialog
|
||||||
_OpenFileDialog.Filter = "XAFML file (.xafml)|*.xafml|All Files (*.*)|*.*"
|
_OpenFileDialog.Filter = "XAFML file (.xafml)|*.xafml|All Files (*.*)|*.*"
|
||||||
|
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
_ListViewCustomization.XMLFileName = _OpenFileDialog.FileName
|
_ListViewCustomization.XMLFileName = _OpenFileDialog.FileName
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -172,15 +172,15 @@ Public Class MasterDetailVC
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub view_KeyDown(ByVal sender As Object, ByVal e As Windows.Forms.KeyEventArgs)
|
Private Sub view_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs)
|
||||||
If _view.FocusedColumn IsNot column OrElse e.KeyCode <> Windows.Forms.Keys.Space Then
|
If _view.FocusedColumn IsNot column OrElse e.KeyCode <> System.Windows.Forms.Keys.Space Then
|
||||||
Return
|
Return
|
||||||
End If
|
End If
|
||||||
InvertRowSelection(_view.FocusedRowHandle)
|
InvertRowSelection(_view.FocusedRowHandle)
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub View_Click(ByVal sender As Object, ByVal e As EventArgs)
|
Private Sub View_Click(ByVal sender As Object, ByVal e As EventArgs)
|
||||||
Dim info As GridHitInfo
|
Dim info As GridHitInfo
|
||||||
Dim pt As Point = _view.GridControl.PointToClient(Windows.Forms.Control.MousePosition)
|
Dim pt As Point = _view.GridControl.PointToClient(System.Windows.Forms.Control.MousePosition)
|
||||||
info = _view.CalcHitInfo(pt)
|
info = _view.CalcHitInfo(pt)
|
||||||
If info.Column Is column Then
|
If info.Column Is column Then
|
||||||
If info.InColumn Then
|
If info.InColumn Then
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ Public Class ZIPHUVC
|
|||||||
_OpenFileDialog.Filter = "XLS file (.xls)|*.xls|XLSX file (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
_OpenFileDialog.Filter = "XLS file (.xls)|*.xls|XLSX file (.xlsx)|*.xlsx|All Files (*.*)|*.*"
|
||||||
|
|
||||||
|
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Dim _xlsFile As String = _OpenFileDialog.FileName
|
Dim _xlsFile As String = _OpenFileDialog.FileName
|
||||||
Dim _cs As String = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
Dim _cs As String = "Provider=Microsoft.ACE.OLEDB.12.0;"
|
||||||
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
_cs += "Data Source=" & _xlsFile.ToString & ";"
|
||||||
|
|||||||
@@ -22,18 +22,18 @@ Public Class NotePropertyEditor
|
|||||||
Return control
|
Return control
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
Private Sub control_PreviewKeyDown(sender As Object, e As Windows.Forms.PreviewKeyDownEventArgs)
|
Private Sub control_PreviewKeyDown(sender As Object, e As System.Windows.Forms.PreviewKeyDownEventArgs)
|
||||||
Dim control As ComboBoxEdit = TryCast(sender, ComboBoxEdit)
|
Dim control As ComboBoxEdit = TryCast(sender, ComboBoxEdit)
|
||||||
If e.KeyCode = Windows.Forms.Keys.F6 Then
|
If e.KeyCode = System.Windows.Forms.Keys.F6 Then
|
||||||
MsgBox(control.Text)
|
MsgBox(control.Text)
|
||||||
control.EditValue = control.Text
|
control.EditValue = control.Text
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub control_KeyDown(sender As Object, e As Windows.Forms.KeyEventArgs)
|
Private Sub control_KeyDown(sender As Object, e As System.Windows.Forms.KeyEventArgs)
|
||||||
Dim control As ComboBoxEdit = TryCast(sender, ComboBoxEdit)
|
Dim control As ComboBoxEdit = TryCast(sender, ComboBoxEdit)
|
||||||
If control.IsPopupOpen Then
|
If control.IsPopupOpen Then
|
||||||
If e.KeyCode = Windows.Forms.Keys.F6 Then
|
If e.KeyCode = System.Windows.Forms.Keys.F6 Then
|
||||||
control.ClosePopup()
|
control.ClosePopup()
|
||||||
MsgBox(control.Text)
|
MsgBox(control.Text)
|
||||||
End If
|
End If
|
||||||
|
|||||||
+9
-9
@@ -229,7 +229,7 @@ Partial Class DashboardDesignerUserControl
|
|||||||
Me.RangeFilterAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterAreaSeriesTypeBarItem()
|
Me.RangeFilterAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterAreaSeriesTypeBarItem()
|
||||||
Me.RangeFilterStackedAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterStackedAreaSeriesTypeBarItem()
|
Me.RangeFilterStackedAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterStackedAreaSeriesTypeBarItem()
|
||||||
Me.RangeFilterFullStackedAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterFullStackedAreaSeriesTypeBarItem()
|
Me.RangeFilterFullStackedAreaSeriesTypeBarItem1 = New DevExpress.DashboardWin.Bars.RangeFilterFullStackedAreaSeriesTypeBarItem()
|
||||||
Me.MapToolsBar1 = New DevExpress.DashboardWin.Bars.MapToolsBar()
|
'Me.MapToolsBar1 = New DevExpress.DashboardWin.Bars.MapToolsBar()
|
||||||
Me.MapShowLegendBarItem1 = New DevExpress.DashboardWin.Bars.MapShowLegendBarItem()
|
Me.MapShowLegendBarItem1 = New DevExpress.DashboardWin.Bars.MapShowLegendBarItem()
|
||||||
Me.GalleryMapLegendPositionItem1 = New DevExpress.DashboardWin.Bars.GalleryMapLegendPositionItem()
|
Me.GalleryMapLegendPositionItem1 = New DevExpress.DashboardWin.Bars.GalleryMapLegendPositionItem()
|
||||||
Me.MapLoadBarItem1 = New DevExpress.DashboardWin.Bars.MapLoadBarItem()
|
Me.MapLoadBarItem1 = New DevExpress.DashboardWin.Bars.MapLoadBarItem()
|
||||||
@@ -378,7 +378,7 @@ Partial Class DashboardDesignerUserControl
|
|||||||
'
|
'
|
||||||
'BarManager1
|
'BarManager1
|
||||||
'
|
'
|
||||||
Me.BarManager1.Bars.AddRange(New DevExpress.XtraBars.Bar() {Me.HomeBar1, Me.DataSourceBar1, Me.ViewBar1, Me.PivotToolsBar1, Me.GridToolsBar1, Me.ChartToolsBar1, Me.PiesToolsBar1, Me.GaugesToolsBar1, Me.CardsToolsBar1, Me.RangeFilterToolsBar1, Me.MapToolsBar1, Me.ImageToolsBar1, Me.TextBoxToolsBar1, Me.ChoroplethMapToolsBar1, Me.GeoPointMapToolsBar1, Me.BubbleMapToolsBar1, Me.PieMapToolsBar1, Me.FilterElementToolsBar1, Me.GroupToolsBar1, Me.ScatterChartToolsBar1})
|
Me.BarManager1.Bars.AddRange(New DevExpress.XtraBars.Bar() {Me.HomeBar1, Me.DataSourceBar1, Me.ViewBar1, Me.PivotToolsBar1, Me.GridToolsBar1, Me.ChartToolsBar1, Me.PiesToolsBar1, Me.GaugesToolsBar1, Me.CardsToolsBar1, Me.RangeFilterToolsBar1, Me.ImageToolsBar1, Me.TextBoxToolsBar1, Me.ChoroplethMapToolsBar1, Me.GeoPointMapToolsBar1, Me.BubbleMapToolsBar1, Me.PieMapToolsBar1, Me.FilterElementToolsBar1, Me.GroupToolsBar1, Me.ScatterChartToolsBar1})
|
||||||
Me.BarManager1.Controller = Me.BarAndDockingController1
|
Me.BarManager1.Controller = Me.BarAndDockingController1
|
||||||
Me.BarManager1.DockControls.Add(Me.barDockControlTop)
|
Me.BarManager1.DockControls.Add(Me.barDockControlTop)
|
||||||
Me.BarManager1.DockControls.Add(Me.barDockControlBottom)
|
Me.BarManager1.DockControls.Add(Me.barDockControlBottom)
|
||||||
@@ -1356,12 +1356,12 @@ Partial Class DashboardDesignerUserControl
|
|||||||
'
|
'
|
||||||
'MapToolsBar1
|
'MapToolsBar1
|
||||||
'
|
'
|
||||||
Me.MapToolsBar1.Control = Me.DashboardDesigner1
|
'Me.MapToolsBar1.Control = Me.DashboardDesigner1
|
||||||
Me.MapToolsBar1.DockCol = 12
|
'Me.MapToolsBar1.DockCol = 12
|
||||||
Me.MapToolsBar1.DockRow = 0
|
'Me.MapToolsBar1.DockRow = 0
|
||||||
Me.MapToolsBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top
|
'Me.MapToolsBar1.DockStyle = DevExpress.XtraBars.BarDockStyle.Top
|
||||||
Me.MapToolsBar1.LinksPersistInfo.AddRange(New DevExpress.XtraBars.LinkPersistInfo() {New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.EditFilterBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.ClearFilterBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(Me.MasterFilterBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.MultipleValuesMasterFilterBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.CrossDataSourceFilteringBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.IgnoreMasterFiltersBarItem1), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.ShowItemCaptionBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.EditItemNamesBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(Me.MapShowLegendBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.GalleryMapLegendPositionItem1), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapLoadBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapImportBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapDefaultShapefileBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu)})
|
'Me.MapToolsBar1.LinksPersistInfo.AddRange(New DevExpress.XtraBars.LinkPersistInfo() {New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.EditFilterBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.ClearFilterBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(Me.MasterFilterBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.MultipleValuesMasterFilterBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.CrossDataSourceFilteringBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.IgnoreMasterFiltersBarItem1), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.ShowItemCaptionBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.EditItemNamesBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(Me.MapShowLegendBarItem1), New DevExpress.XtraBars.LinkPersistInfo(Me.GalleryMapLegendPositionItem1), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapLoadBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapImportBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu), New DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, Me.MapDefaultShapefileBarItem1, DevExpress.XtraBars.BarItemPaintStyle.CaptionInMenu)})
|
||||||
Me.MapToolsBar1.Visible = False
|
'Me.MapToolsBar1.Visible = False
|
||||||
'
|
'
|
||||||
'MapShowLegendBarItem1
|
'MapShowLegendBarItem1
|
||||||
'
|
'
|
||||||
@@ -2437,7 +2437,7 @@ Partial Class DashboardDesignerUserControl
|
|||||||
Friend WithEvents RangeFilterAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterAreaSeriesTypeBarItem
|
Friend WithEvents RangeFilterAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterAreaSeriesTypeBarItem
|
||||||
Friend WithEvents RangeFilterStackedAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterStackedAreaSeriesTypeBarItem
|
Friend WithEvents RangeFilterStackedAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterStackedAreaSeriesTypeBarItem
|
||||||
Friend WithEvents RangeFilterFullStackedAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterFullStackedAreaSeriesTypeBarItem
|
Friend WithEvents RangeFilterFullStackedAreaSeriesTypeBarItem1 As DevExpress.DashboardWin.Bars.RangeFilterFullStackedAreaSeriesTypeBarItem
|
||||||
Friend WithEvents MapToolsBar1 As DevExpress.DashboardWin.Bars.MapToolsBar
|
'Friend WithEvents MapToolsBar1 As DevExpress.DashboardWin.Bars.MapToolsBar
|
||||||
Friend WithEvents MapShowLegendBarItem1 As DevExpress.DashboardWin.Bars.MapShowLegendBarItem
|
Friend WithEvents MapShowLegendBarItem1 As DevExpress.DashboardWin.Bars.MapShowLegendBarItem
|
||||||
Friend WithEvents GalleryMapLegendPositionItem1 As DevExpress.DashboardWin.Bars.GalleryMapLegendPositionItem
|
Friend WithEvents GalleryMapLegendPositionItem1 As DevExpress.DashboardWin.Bars.GalleryMapLegendPositionItem
|
||||||
Friend WithEvents MapLoadBarItem1 As DevExpress.DashboardWin.Bars.MapLoadBarItem
|
Friend WithEvents MapLoadBarItem1 As DevExpress.DashboardWin.Bars.MapLoadBarItem
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ Public Class ExcelUserControl
|
|||||||
End Sub
|
End Sub
|
||||||
Private Sub ImportXLS_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles ImportXLS.ItemClick
|
Private Sub ImportXLS_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles ImportXLS.ItemClick
|
||||||
Me.OpenFileDialog1.Filter = "Excel (*.xls) |*.xls;*.xlsx"
|
Me.OpenFileDialog1.Filter = "Excel (*.xls) |*.xls;*.xlsx"
|
||||||
If Me.OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If Me.OpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Me.SP.OpenExcel(Me.OpenFileDialog1.FileName)
|
Me.SP.OpenExcel(Me.OpenFileDialog1.FileName)
|
||||||
_FileName = Me.OpenFileDialog1.FileName
|
_FileName = Me.OpenFileDialog1.FileName
|
||||||
End If
|
End If
|
||||||
@@ -53,7 +53,7 @@ Public Class ExcelUserControl
|
|||||||
Private Sub ExportXLS_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles ExportXLS.ItemClick
|
Private Sub ExportXLS_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles ExportXLS.ItemClick
|
||||||
'Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
|
'Me.SaveFileDialog1 = New System.Windows.Forms.SaveFileDialog()
|
||||||
Me.SaveFileDialog1.Filter = "Excel (*.xls) |*.xls;*.xlsx"
|
Me.SaveFileDialog1.Filter = "Excel (*.xls) |*.xls;*.xlsx"
|
||||||
If Me.SaveFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If Me.SaveFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Me.SP.SaveExcel(Me.SaveFileDialog1.FileName)
|
Me.SP.SaveExcel(Me.SaveFileDialog1.FileName)
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@@ -68,14 +68,14 @@ Public Class ExcelUserControl
|
|||||||
End Sub
|
End Sub
|
||||||
Private Sub BarButtonItem6_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem6.ItemClick
|
Private Sub BarButtonItem6_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem6.ItemClick
|
||||||
Me.OpenFileDialog1.Filter = "Spread (*.xml) |*.xml"
|
Me.OpenFileDialog1.Filter = "Spread (*.xml) |*.xml"
|
||||||
If Me.OpenFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If Me.OpenFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Me.SP.Open(Me.OpenFileDialog1.FileName)
|
Me.SP.Open(Me.OpenFileDialog1.FileName)
|
||||||
_FileName = Me.OpenFileDialog1.FileName
|
_FileName = Me.OpenFileDialog1.FileName
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub BarButtonItem7_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem7.ItemClick
|
Private Sub BarButtonItem7_ItemClick(sender As System.Object, e As DevExpress.XtraBars.ItemClickEventArgs) Handles BarButtonItem7.ItemClick
|
||||||
Me.SaveFileDialog1.Filter = "Spread (*.xml) |*.xml"
|
Me.SaveFileDialog1.Filter = "Spread (*.xml) |*.xml"
|
||||||
If Me.SaveFileDialog1.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If Me.SaveFileDialog1.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
Me.SP.Save(Me.SaveFileDialog1.FileName, False)
|
Me.SP.Save(Me.SaveFileDialog1.FileName, False)
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@@ -113,7 +113,7 @@ Public Class ExcelUserControl
|
|||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub SetColor(_Object As String)
|
Private Sub SetColor(_Object As String)
|
||||||
Dim _ColorDialog As New Windows.Forms.ColorDialog
|
Dim _ColorDialog As New System.Windows.Forms.ColorDialog
|
||||||
Select Case _Object
|
Select Case _Object
|
||||||
Case "CellBackColor"
|
Case "CellBackColor"
|
||||||
If (_ColorDialog.ShowDialog() = DialogResult.OK) Then
|
If (_ColorDialog.ShowDialog() = DialogResult.OK) Then
|
||||||
@@ -136,7 +136,7 @@ Public Class ExcelUserControl
|
|||||||
End Select
|
End Select
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub SP_CellClick(sender As System.Object, e As FarPoint.Win.Spread.CellClickEventArgs) Handles SP.CellClick
|
Private Sub SP_CellClick(sender As System.Object, e As FarPoint.Win.Spread.CellClickEventArgs) Handles SP.CellClick
|
||||||
If e.Button = Windows.Forms.MouseButtons.Right Then
|
If e.Button = System.Windows.Forms.MouseButtons.Right Then
|
||||||
Cursor = New Cursor(Cursor.Current.Handle)
|
Cursor = New Cursor(Cursor.Current.Handle)
|
||||||
ContextMenuStrip1.Show(New System.Drawing.Point(Cursor.Position))
|
ContextMenuStrip1.Show(New System.Drawing.Point(Cursor.Position))
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -1374,7 +1374,6 @@
|
|||||||
<Compile Include="BusinessObjects\PH Imports\VivaldiVC.vb">
|
<Compile Include="BusinessObjects\PH Imports\VivaldiVC.vb">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Controllers\ProgressForm.vb" />
|
|
||||||
<Compile Include="BusinessObjects\Repair\RepairRegistryVC.Designer.vb">
|
<Compile Include="BusinessObjects\Repair\RepairRegistryVC.Designer.vb">
|
||||||
<DependentUpon>RepairRegistryVC.vb</DependentUpon>
|
<DependentUpon>RepairRegistryVC.vb</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ Public Class APCSheetReviewHeader_VC
|
|||||||
_OpenFileDialog.Filter = "JPG file (.jpg)|*.jpg|BMP file (.bmp)|*.bmp|GIF file (.gif)|*.gif|All Files (*.*)|*.*"
|
_OpenFileDialog.Filter = "JPG file (.jpg)|*.jpg|BMP file (.bmp)|*.bmp|GIF file (.gif)|*.gif|All Files (*.*)|*.*"
|
||||||
_OpenFileDialog.Multiselect = True
|
_OpenFileDialog.Multiselect = True
|
||||||
|
|
||||||
If _OpenFileDialog.ShowDialog() = Windows.Forms.DialogResult.OK Then
|
If _OpenFileDialog.ShowDialog() = System.Windows.Forms.DialogResult.OK Then
|
||||||
RaiseEvent InitWork(1, 1, _OpenFileDialog.FileNames.Length)
|
RaiseEvent InitWork(1, 1, _OpenFileDialog.FileNames.Length)
|
||||||
For Each _FileName As String In _OpenFileDialog.FileNames
|
For Each _FileName As String In _OpenFileDialog.FileNames
|
||||||
RaiseEvent DoWork()
|
RaiseEvent DoWork()
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ Imports System.ComponentModel
|
|||||||
Imports System.Collections.Generic
|
Imports System.Collections.Generic
|
||||||
Imports System.Diagnostics
|
Imports System.Diagnostics
|
||||||
Imports System.Text
|
Imports System.Text
|
||||||
|
Imports System.Windows
|
||||||
|
|
||||||
Imports DevExpress.ExpressApp
|
Imports DevExpress.ExpressApp
|
||||||
Imports DevExpress.ExpressApp.Actions
|
Imports DevExpress.ExpressApp.Actions
|
||||||
@@ -265,8 +266,8 @@ Public Class ContactsVC
|
|||||||
|
|
||||||
Private Sub aContactEmailToClipboard_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aContactEmailToClipboard.Execute
|
Private Sub aContactEmailToClipboard_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aContactEmailToClipboard.Execute
|
||||||
Dim _ClipboardText As String = ""
|
Dim _ClipboardText As String = ""
|
||||||
If Windows.Forms.Clipboard.ContainsText(System.Windows.Forms.TextDataFormat.Text) Then
|
If System.Windows.Forms.Clipboard.ContainsText(System.Windows.Forms.TextDataFormat.Text) Then
|
||||||
_ClipboardText = Windows.Forms.Clipboard.GetText(Windows.Forms.TextDataFormat.Text)
|
_ClipboardText = Forms.Clipboard.GetText(Forms.TextDataFormat.Text)
|
||||||
End If
|
End If
|
||||||
For Each _Contacts As Contacts In View.SelectedObjects
|
For Each _Contacts As Contacts In View.SelectedObjects
|
||||||
If _ClipboardText = "" Then
|
If _ClipboardText = "" Then
|
||||||
@@ -275,10 +276,10 @@ Public Class ContactsVC
|
|||||||
_ClipboardText += ";" + _Contacts.Email
|
_ClipboardText += ";" + _Contacts.Email
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
Windows.Forms.Clipboard.SetText(_ClipboardText, Windows.Forms.TextDataFormat.UnicodeText)
|
Forms.Clipboard.SetText(_ClipboardText, Forms.TextDataFormat.UnicodeText)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub aClearClipboard_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aClearClipboard.Execute
|
Private Sub aClearClipboard_Execute(sender As Object, e As SimpleActionExecuteEventArgs) Handles aClearClipboard.Execute
|
||||||
Windows.Forms.Clipboard.Clear()
|
Forms.Clipboard.Clear()
|
||||||
End Sub
|
End Sub
|
||||||
End Class
|
End Class
|
||||||
|
|||||||
@@ -1967,12 +1967,6 @@
|
|||||||
<Compile Include="Controllers\LockObjectBeforeEditVC.vb">
|
<Compile Include="Controllers\LockObjectBeforeEditVC.vb">
|
||||||
<SubType>Component</SubType>
|
<SubType>Component</SubType>
|
||||||
</Compile>
|
</Compile>
|
||||||
<Compile Include="Controllers\LongOperationController.Designer.vb">
|
|
||||||
<DependentUpon>LongOperationController.vb</DependentUpon>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Controllers\LongOperationController.vb">
|
|
||||||
<SubType>Component</SubType>
|
|
||||||
</Compile>
|
|
||||||
<Compile Include="Controllers\MasterDetailView\IMasterDetailViewInfo.vb" />
|
<Compile Include="Controllers\MasterDetailView\IMasterDetailViewInfo.vb" />
|
||||||
<Compile Include="Controllers\MasterDetailView\MasterDetailViewControllerBase.Designer.vb">
|
<Compile Include="Controllers\MasterDetailView\MasterDetailViewControllerBase.Designer.vb">
|
||||||
<DependentUpon>MasterDetailViewControllerBase.vb</DependentUpon>
|
<DependentUpon>MasterDetailViewControllerBase.vb</DependentUpon>
|
||||||
|
|||||||
Reference in New Issue
Block a user