From dcde0a27ccce6ff87e1d02b4ce468739e3730989 Mon Sep 17 00:00:00 2001 From: KWAMBAI VITALIS Date: Wed, 21 Aug 2024 14:07:05 +0300 Subject: [PATCH] changes --- instat/frmMain.Designer.vb | 18 +++++++++--------- instat/frmMain.vb | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/instat/frmMain.Designer.vb b/instat/frmMain.Designer.vb index abf561bd505..d1bc98c7d0f 100644 --- a/instat/frmMain.Designer.vb +++ b/instat/frmMain.Designer.vb @@ -440,6 +440,7 @@ Partial Class frmMain Me.mnuFileImportFromPostgres = New System.Windows.Forms.ToolStripMenuItem() Me.mnuFileImportFromRapidPro = New System.Windows.Forms.ToolStripMenuItem() Me.mnuFileImportandTidyNetCDFFile = New System.Windows.Forms.ToolStripMenuItem() + Me.mnuImportFromOpenAppBuilder = New System.Windows.Forms.ToolStripMenuItem() Me.mnuFileConvert = New System.Windows.Forms.ToolStripMenuItem() Me.tlSeparatorFile = New System.Windows.Forms.ToolStripSeparator() Me.mnuFileExport = New System.Windows.Forms.ToolStripMenuItem() @@ -701,7 +702,6 @@ Partial Class frmMain Me.mnuDataFrameMetadata = New System.Windows.Forms.ToolStripMenuItem() Me.mnuScriptFile = New System.Windows.Forms.ToolStripMenuItem() Me.mnuLogFile = New System.Windows.Forms.ToolStripMenuItem() - Me.ImportFromOpenAppBuilderToolStripMenuItem = New System.Windows.Forms.ToolStripMenuItem() Me.stsStrip.SuspendLayout() Me.Tool_strip.SuspendLayout() Me.mnuBar.SuspendLayout() @@ -3388,7 +3388,7 @@ Partial Class frmMain ' 'mnuFile ' - Me.mnuFile.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuFileNewDataFrame, Me.mnuFileImportFromFile, Me.mnuFileImportFromLibrary, Me.ToolStripSeparator35, Me.mnuFileImportFromODK, Me.mnuFileImportFromCSPRO, Me.mnuFileImportFromDatabases, Me.mnuFileImportFromPostgres, Me.mnuFileImportFromRapidPro, Me.mnuFileImportandTidyNetCDFFile, Me.ImportFromOpenAppBuilderToolStripMenuItem, Me.mnuFileConvert, Me.tlSeparatorFile, Me.mnuFileSave, Me.mnuFileSaveAs, Me.mnuFileExport, Me.mnuFilePrint, Me.mnuFilePrintPreview, Me.tlSeparatorFile3, Me.mnuFileCloseData, Me.ToolStripSeparator8, Me.mnuFIleExit}) + Me.mnuFile.DropDownItems.AddRange(New System.Windows.Forms.ToolStripItem() {Me.mnuFileNewDataFrame, Me.mnuFileImportFromFile, Me.mnuFileImportFromLibrary, Me.ToolStripSeparator35, Me.mnuFileImportFromODK, Me.mnuFileImportFromCSPRO, Me.mnuFileImportFromDatabases, Me.mnuFileImportFromPostgres, Me.mnuFileImportFromRapidPro, Me.mnuFileImportandTidyNetCDFFile, Me.mnuImportFromOpenAppBuilder, Me.mnuFileConvert, Me.tlSeparatorFile, Me.mnuFileSave, Me.mnuFileSaveAs, Me.mnuFileExport, Me.mnuFilePrint, Me.mnuFilePrintPreview, Me.tlSeparatorFile3, Me.mnuFileCloseData, Me.ToolStripSeparator8, Me.mnuFIleExit}) Me.mnuFile.Name = "mnuFile" Me.mnuFile.Size = New System.Drawing.Size(37, 22) Me.mnuFile.Tag = "File" @@ -3464,6 +3464,12 @@ Partial Class frmMain Me.mnuFileImportandTidyNetCDFFile.Size = New System.Drawing.Size(241, 22) Me.mnuFileImportandTidyNetCDFFile.Text = "Import and Tidy NetCDF File..." ' + 'mnuImportFromOpenAppBuilder + ' + Me.mnuImportFromOpenAppBuilder.Name = "mnuImportFromOpenAppBuilder" + Me.mnuImportFromOpenAppBuilder.Size = New System.Drawing.Size(241, 22) + Me.mnuImportFromOpenAppBuilder.Text = "Import From OpenAppBuilder..." + ' 'mnuFileConvert ' Me.mnuFileConvert.Enabled = False @@ -5233,12 +5239,6 @@ Partial Class frmMain Me.mnuLogFile.Text = "Log Window..." Me.mnuLogFile.ToolTipText = "Log Window" ' - 'ImportFromOpenAppBuilderToolStripMenuItem - ' - Me.ImportFromOpenAppBuilderToolStripMenuItem.Name = "ImportFromOpenAppBuilderToolStripMenuItem" - Me.ImportFromOpenAppBuilderToolStripMenuItem.Size = New System.Drawing.Size(241, 22) - Me.ImportFromOpenAppBuilderToolStripMenuItem.Text = "Import From OpenAppBuilder..." - ' 'frmMain ' Me.AutoScaleDimensions = New System.Drawing.SizeF(96.0!, 96.0!) @@ -5959,5 +5959,5 @@ Partial Class frmMain Friend WithEvents mnuSwapDataLogScript As ToolStripMenuItem Friend WithEvents mnuSwapDataMetadata As ToolStripMenuItem Friend WithEvents RInstatResourcesSiteToolStripMenuItem As ToolStripMenuItem - Friend WithEvents ImportFromOpenAppBuilderToolStripMenuItem As ToolStripMenuItem + Friend WithEvents mnuImportFromOpenAppBuilder As ToolStripMenuItem End Class diff --git a/instat/frmMain.vb b/instat/frmMain.vb index 5c164fe374c..c6b67b8acdd 100644 --- a/instat/frmMain.vb +++ b/instat/frmMain.vb @@ -2848,7 +2848,7 @@ Public Class frmMain Process.Start("https://ecampus.r-instat.org/course/view.php?id=14") End Sub - Private Sub ImportFromOpenAppBuilderToolStripMenuItem_Click(sender As Object, e As EventArgs) Handles ImportFromOpenAppBuilderToolStripMenuItem.Click + Private Sub mnuImportFromOpenAppBuilder_Click(sender As Object, e As EventArgs) Handles mnuImportFromOpenAppBuilder.Click dlgImportOpenAppBuilder.ShowDialog() End Sub End Class