Skip to content

Commit

Permalink
changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalis95 committed Oct 15, 2024
1 parent 18a67d4 commit d0c13b3
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions instat/dlgExportToClimsoft.vb
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,22 @@ Public Class dlgExportToClimsoft
SettingBaseFunction()
End Sub

Private Sub ucrInputExportFile_ControlValueChanged(ucrChangedControl As ucrCore)

Private Sub ucrDataFrameSheets_Load(sender As Object, e As EventArgs) Handles ucrDataFrameSheets.Load
If ucrDataFrameSheets.cboAvailableDataFrames.Items.Count > 0 Then
' Check if the .comment dataframe exists
Dim commentExists As Boolean = False
For Each dataframe As String In ucrDataFrameSheets.cboAvailableDataFrames.Items
If dataframe = ".comment" Then
commentExists = True
Exit For
End If
Next

' Set .comment as the default selection if it exists
If commentExists Then
ucrDataFrameSheets.cboAvailableDataFrames.SelectedItem = ".comment"
End If
End If
End Sub

Private Sub cmdBrowse_Click(sender As Object, e As EventArgs) Handles cmdBrowse.Click
Expand Down Expand Up @@ -307,10 +321,6 @@ Public Class dlgExportToClimsoft
End If
End Sub

'Private Sub ucrInputExportFile_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrInputExportFile.ControlValueChanged
' EnableDisableComments()
'End Sub

Private Sub ucrPnlOutput_ControlValueChanged(ucrChangedControl As ucrCore) Handles ucrPnlOutput.ControlValueChanged
SettingBaseFunction()
TestOkEnabled()
Expand Down

0 comments on commit d0c13b3

Please sign in to comment.