Skip to content

Commit

Permalink
add use of Python compile constant
Browse files Browse the repository at this point in the history
  • Loading branch information
jlkittle committed Feb 12, 2019
1 parent de9f925 commit 7114173
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions atcGraphExperimental/atcGraphPlugin.vb
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ Public Class atcGraphPlugin
Else
lForm.Grapher = lGrapher
If pIcon IsNot Nothing Then lForm.Icon = pIcon
#If Python = "Yes" Then
lForm.ShowDialog()
#Else
lForm.Show()
#End If
Return lForm
End If
End Function
Expand Down
5 changes: 5 additions & 0 deletions atcSynopticAnalysis/atcSynopticAnalysisPlugin.vb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ Public Class atcSynopticAnalysisPlugin
As Object 'System.Windows.Forms.Form
Dim lForm As New frmSynoptic
lForm.Initialize(aTimeseriesGroup)
#If Python = "Yes" Then
lForm.Visible = False
lForm.ShowDialog()
#Else
Return lForm
#End If
End Function

Public Overrides Sub Save(ByVal aTimeseriesGroup As atcDataGroup, _
Expand Down

0 comments on commit 7114173

Please sign in to comment.