Skip to content

Commit

Permalink
Merge pull request #102 from africanmathsinitiative/master
Browse files Browse the repository at this point in the history
merge from main
  • Loading branch information
dannyparsons committed Mar 14, 2016
2 parents 9ad712a + 6c59a40 commit b58d5d7
Show file tree
Hide file tree
Showing 24 changed files with 289 additions and 245 deletions.
15 changes: 14 additions & 1 deletion instat/dlgColumnStats.vb
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,25 @@

Imports instat.Translations
Public Class dlgColumnStats
Public bFirstLoad As Boolean = True
Private Sub dlgColumnStats_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)
ucrReceiverMultiple.Selector = ucrAddRemove
ucrReceiverMultiple.SetMeAsReceiver()
ucrBase.clsRsyntax.SetFunction("colStats")
ucrBase.clsRsyntax.iCallType = 2
ucrBase.clsRsyntax.iCallType = 2
ucrBase.iHelpTopicID = 64
If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub

Private Sub ucrReceiverMultiple_Leave(sender As Object, e As EventArgs) Handles ucrReceiverMultiple.Leave
Expand Down
4 changes: 2 additions & 2 deletions instat/dlgCombineText.vb
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ Public Class dlgCombineText
Private Sub dlgCombineText_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

autoTranslate(Me)



If bFirstLoad Then
SetDefaults()
bFirstLoad = False
Expand Down
13 changes: 13 additions & 0 deletions instat/dlgContrasts.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,20 @@
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgContrasts
Public bFirstLoad As Boolean = True
Private Sub dlgContrasts_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
13 changes: 13 additions & 0 deletions instat/dlgDeleteDescriptive.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,20 @@
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgDeleteDescriptive
Public bFirstLoad As Boolean
Private Sub dlgDeleteDescriptive_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
14 changes: 14 additions & 0 deletions instat/dlgDeleteModels.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,21 @@
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgDeleteModels
Public bFirstLoad As Boolean = True
Private Sub dlgDeleteModels_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If

End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
13 changes: 13 additions & 0 deletions instat/dlgDeleteRows.vb
Original file line number Diff line number Diff line change
@@ -1,12 +1,25 @@
Imports instat.Translations
Public Class dlgDeleteRows
Public bFirstLoad As Boolean = True
Private Sub dlgDeleteRows_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ucrBase.clsRsyntax.SetFunction("subset")
ucrBase.clsRsyntax.iCallType = 1
ucrReceiverDeleteRows.Selector = ucrAddRemove
ucrReceiverDeleteRows.SetMeAsReceiver()
autoTranslate(Me)


If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
Private Sub ucrReceiverDeleteRows_Enter(sender As Object, e As EventArgs) Handles ucrReceiverDeleteRows.Enter
ucrReceiverDeleteRows.SetMeAsReceiver()
Expand Down
15 changes: 14 additions & 1 deletion instat/dlgDeleteSheet.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,25 @@
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgDeleteSheet
Public bFirstLoad As Boolean = True
Private Sub dlgDeleteSheet_Load(sender As Object, e As EventArgs) Handles Me.Load
ucrBase.iHelpTopicID = 63
'set the function
ucrBase.clsRsyntax.SetFunction(frmMain.clsRLink.strInstatDataObject & "$delete_dataframe")
ucrDataFrameToDelete.Focus()
autoTranslate(Me)
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub

Private Sub ucrDataFrameToDelete_Leave(sender As Object, e As EventArgs) Handles ucrDataFrameToDelete.Leave
Expand Down
35 changes: 33 additions & 2 deletions instat/dlgLabels.vb
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
Public Class dlgLabels

' Instat-R
' Copyright (C) 2015
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License k
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgLabels
Public bFirstLoad As Boolean = True
Private Sub dlgLabels_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
14 changes: 14 additions & 0 deletions instat/dlgMakeSheets.vb
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,22 @@
' You should have received a copy of the GNU General Public License k
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations

Public Class dlgMakeSheets
Public bFirstLoad As Boolean = True
Private Sub dlgMakeSheets_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
34 changes: 33 additions & 1 deletion instat/dlgRandomSubset.vb
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
Public Class dlgRandomSubset
' Instat-R
' Copyright (C) 2015
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License k
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations

Public Class dlgRandomSubset
Public bFirstLoad As Boolean = True
Private Sub dlgRandomSubset_Load(sender As Object, e As EventArgs) Handles MyBase.Load
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If
End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub
End Class
13 changes: 13 additions & 0 deletions instat/dlgReferenceLevel.vb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgReferenceLevel
Public bFirstLoad As Boolean = True
Private Sub dlgReferenceLevel_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ucrBase.clsRsyntax.SetFunction("relevel")

Expand All @@ -23,6 +24,18 @@ Public Class dlgReferenceLevel
ucrFactorSelected.SetDataType("factor")
autoTranslate(Me)

If bFirstLoad Then
SetDefaults()
bFirstLoad = False
End If

End Sub
Private Sub SetDefaults()

End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
End Sub


Expand Down
51 changes: 0 additions & 51 deletions instat/dlgReferenceLevels.Designer.vb

This file was deleted.

15 changes: 0 additions & 15 deletions instat/dlgReferenceLevels.fr-FR.resx

This file was deleted.

Loading

0 comments on commit b58d5d7

Please sign in to comment.