From 84624f6933de05c370469f2ecb985e0e8729de32 Mon Sep 17 00:00:00 2001 From: Michael Johne Date: Wed, 25 Sep 2019 22:39:16 +0200 Subject: [PATCH] update to 0.3.2.14 --- CatalogChooserForm.cs | 84 ++++++++++++---------- DownloaderForm.Designer.cs | 58 +++++++++++---- DownloaderForm.cs | 62 ++++++++++++++-- DownloaderForm.resx | 6 ++ Hipparcos-DB.csproj | 1 + HipparcosCatalogViewerForm.cs | 16 ++++- Properties/AssemblyInfo.cs | 20 +++--- Properties/Resources.Designer.cs | 10 +++ Properties/Resources.resx | 3 + Properties/fugue_disk_16px_shadowless.png | Bin 0 -> 475 bytes 10 files changed, 187 insertions(+), 73 deletions(-) create mode 100644 Properties/fugue_disk_16px_shadowless.png diff --git a/CatalogChooserForm.cs b/CatalogChooserForm.cs index 1511f02..a880225 100644 --- a/CatalogChooserForm.cs +++ b/CatalogChooserForm.cs @@ -142,6 +142,46 @@ private void CatalogChooserForm_Load(object sender, EventArgs e) */ ClearStatusbar(); } + + #region Click event handlers + + private void ButtonOpenTychoCatalog_Click(object sender, EventArgs e) + { + throw new NotImplementedException(); + } + + private void ButtonInfo_Click(object sender, EventArgs e) + { + using (AboutBoxForm formAboutBox = new AboutBoxForm()) + { + formAboutBox.ShowDialog(); + } + } + + private void ButtonExit_Click(object sender, EventArgs e) + { + Close(); + } + + private void ButtonDownloadHipparcosCatalog_Click(object sender, EventArgs e) + { + using (DownloaderForm downloaderForm = new DownloaderForm()) + { + downloaderForm.SetHost(host: "http://cdsarc.u-strasbg.fr/ftp/I/239/"); + //downloaderForm.SetHost(host: "http://cdsarc.u-strasbg.fr/viz-bin/nph-Cat/txt.gz?I/239/"); + downloaderForm.SetHostUrls(files: filesHipparcosCatalog); + downloaderForm.SetCatalogDirectory(directory: "catalogs/i239/"); + downloaderForm.ShowDialog(); + } + } + + private void ButtonDownloadTychoCatalog_Click(object sender, EventArgs e) + { + using (DownloaderForm downloaderForm = new DownloaderForm()) + { + downloaderForm.ShowDialog(); + } + } private void ButtonOpenHipparcosCatalog_Click(object sender, EventArgs e) { @@ -162,7 +202,10 @@ private void ButtonOpenHipparcosCatalog_Click(object sender, EventArgs e) } if (allFilesFound) { - new HipparcosCatalogViewerForm().ShowDialog(); + using (HipparcosCatalogViewerForm formHipparcosCatalogViewer = new HipparcosCatalogViewerForm()) + { + formHipparcosCatalogViewer.ShowDialog(); + } } else { @@ -174,23 +217,6 @@ private void ButtonOpenHipparcosCatalog_Click(object sender, EventArgs e) } } - #region Click event handlers - - private void ButtonOpenTychoCatalog_Click(object sender, EventArgs e) - { - throw new NotImplementedException(); - } - - private void ButtonInfo_Click(object sender, EventArgs e) - { - new AboutBoxForm().ShowDialog(); - } - - private void ButtonExit_Click(object sender, EventArgs e) - { - Close(); - } - #endregion #region Enter event handlers @@ -285,26 +311,6 @@ private void ButtonExit_MouseLeave(object sender, EventArgs e) ClearStatusbar(); } - #endregion - - private void ButtonDownloadHipparcosCatalog_Click(object sender, EventArgs e) - { - using (DownloaderForm downloaderForm = new DownloaderForm()) - { - downloaderForm.SetHost(host: "http://cdsarc.u-strasbg.fr/ftp/I/239/"); - //downloaderForm.SetHost(host: "http://cdsarc.u-strasbg.fr/viz-bin/nph-Cat/txt.gz?I/239/"); - downloaderForm.SetHostUrls(files: filesHipparcosCatalog); - downloaderForm.SetCatalogDirectory(directory: "catalogs/i239/"); - downloaderForm.ShowDialog(); - } - } - - private void ButtonDownloadTychoCatalog_Click(object sender, EventArgs e) - { - using (DownloaderForm downloaderForm = new DownloaderForm()) - { - downloaderForm.ShowDialog(); - } - } + #endregion } } diff --git a/DownloaderForm.Designer.cs b/DownloaderForm.Designer.cs index 2cfaf45..8b89022 100644 --- a/DownloaderForm.Designer.cs +++ b/DownloaderForm.Designer.cs @@ -51,6 +51,8 @@ private void InitializeComponent() this.toolStripButtonStartDownload = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonEditHost = new System.Windows.Forms.ToolStripButton(); this.toolStripButtonRestoreHost = new System.Windows.Forms.ToolStripButton(); + this.toolStripButtonSaveLogging = new System.Windows.Forms.ToolStripButton(); + this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); this.tableLayoutPanel.SuspendLayout(); this.toolStripContainer.BottomToolStripPanel.SuspendLayout(); this.toolStripContainer.ContentPanel.SuspendLayout(); @@ -81,7 +83,7 @@ private void InitializeComponent() this.progressBarDownloadFiles.Dock = System.Windows.Forms.DockStyle.Fill; this.progressBarDownloadFiles.Location = new System.Drawing.Point(3, 16); this.progressBarDownloadFiles.Name = "progressBarDownloadFiles"; - this.progressBarDownloadFiles.Size = new System.Drawing.Size(490, 13); + this.progressBarDownloadFiles.Size = new System.Drawing.Size(588, 13); this.progressBarDownloadFiles.Step = 1; this.progressBarDownloadFiles.Style = System.Windows.Forms.ProgressBarStyle.Continuous; this.progressBarDownloadFiles.TabIndex = 3; @@ -103,7 +105,7 @@ private void InitializeComponent() this.textBox.Name = "textBox"; this.textBox.ReadOnly = true; this.textBox.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.textBox.Size = new System.Drawing.Size(548, 319); + this.textBox.Size = new System.Drawing.Size(646, 319); this.textBox.TabIndex = 5; this.toolTip.SetToolTip(this.textBox, "Download logging"); this.textBox.Enter += new System.EventHandler(this.TextBox_Enter); @@ -131,7 +133,7 @@ private void InitializeComponent() this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); this.tableLayoutPanel.RowStyles.Add(new System.Windows.Forms.RowStyle()); - this.tableLayoutPanel.Size = new System.Drawing.Size(554, 385); + this.tableLayoutPanel.Size = new System.Drawing.Size(652, 385); this.tableLayoutPanel.TabIndex = 4; // // labelFilesDownload @@ -141,7 +143,7 @@ private void InitializeComponent() this.labelFilesDownload.AccessibleRole = System.Windows.Forms.AccessibleRole.StaticText; this.labelFilesDownload.AutoSize = true; this.labelFilesDownload.Dock = System.Windows.Forms.DockStyle.Fill; - this.labelFilesDownload.Location = new System.Drawing.Point(499, 13); + this.labelFilesDownload.Location = new System.Drawing.Point(597, 13); this.labelFilesDownload.Name = "labelFilesDownload"; this.labelFilesDownload.Size = new System.Drawing.Size(52, 19); this.labelFilesDownload.TabIndex = 4; @@ -163,7 +165,7 @@ private void InitializeComponent() this.labelDownloadStatus.Dock = System.Windows.Forms.DockStyle.Top; this.labelDownloadStatus.Location = new System.Drawing.Point(3, 0); this.labelDownloadStatus.Name = "labelDownloadStatus"; - this.labelDownloadStatus.Size = new System.Drawing.Size(548, 13); + this.labelDownloadStatus.Size = new System.Drawing.Size(646, 13); this.labelDownloadStatus.TabIndex = 0; this.labelDownloadStatus.Text = "Click the button \"Start download\" to begin"; this.toolTip.SetToolTip(this.labelDownloadStatus, "Download status"); @@ -176,7 +178,7 @@ private void InitializeComponent() // this.labelDownloadPercent.AccessibleRole = System.Windows.Forms.AccessibleRole.StaticText; this.labelDownloadPercent.AutoSize = true; - this.labelDownloadPercent.Location = new System.Drawing.Point(499, 357); + this.labelDownloadPercent.Location = new System.Drawing.Point(597, 357); this.labelDownloadPercent.Name = "labelDownloadPercent"; this.labelDownloadPercent.Size = new System.Drawing.Size(36, 13); this.labelDownloadPercent.TabIndex = 2; @@ -208,7 +210,7 @@ private void InitializeComponent() this.toolStripContainer.ContentPanel.AccessibleRole = System.Windows.Forms.AccessibleRole.Pane; this.toolStripContainer.ContentPanel.Controls.Add(this.tableLayoutPanel); this.toolStripContainer.ContentPanel.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode; - this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(554, 385); + this.toolStripContainer.ContentPanel.Size = new System.Drawing.Size(652, 385); this.toolStripContainer.Dock = System.Windows.Forms.DockStyle.Fill; // // toolStripContainer.LeftToolStripPanel @@ -224,7 +226,7 @@ private void InitializeComponent() this.toolStripContainer.RightToolStripPanel.AccessibleDescription = "right part of the container"; this.toolStripContainer.RightToolStripPanel.AccessibleName = "right part of the container"; this.toolStripContainer.RightToolStripPanel.AccessibleRole = System.Windows.Forms.AccessibleRole.Pane; - this.toolStripContainer.Size = new System.Drawing.Size(554, 432); + this.toolStripContainer.Size = new System.Drawing.Size(652, 432); this.toolStripContainer.TabIndex = 6; this.toolStripContainer.Text = "toolStripContainer"; // @@ -248,7 +250,7 @@ private void InitializeComponent() this.statusStrip.Name = "statusStrip"; this.statusStrip.RenderMode = System.Windows.Forms.ToolStripRenderMode.ManagerRenderMode; this.statusStrip.ShowItemToolTips = true; - this.statusStrip.Size = new System.Drawing.Size(554, 22); + this.statusStrip.Size = new System.Drawing.Size(652, 22); this.statusStrip.SizingGrip = false; this.statusStrip.TabIndex = 0; this.statusStrip.TabStop = true; @@ -266,11 +268,12 @@ private void InitializeComponent() this.toolStripLabelHost, this.toolStripTextBoxHost, this.toolStripButtonEditHost, - this.toolStripButtonRestoreHost}); + this.toolStripButtonRestoreHost, + this.toolStripButtonSaveLogging}); this.toolStrip.LayoutStyle = System.Windows.Forms.ToolStripLayoutStyle.HorizontalStackWithOverflow; this.toolStrip.Location = new System.Drawing.Point(0, 0); this.toolStrip.Name = "toolStrip"; - this.toolStrip.Size = new System.Drawing.Size(554, 25); + this.toolStrip.Size = new System.Drawing.Size(652, 25); this.toolStrip.Stretch = true; this.toolStrip.TabIndex = 0; // @@ -341,10 +344,10 @@ private void InitializeComponent() this.toolStripStatusLabelDownloadAnimation.AccessibleRole = System.Windows.Forms.AccessibleRole.StaticText; this.toolStripStatusLabelDownloadAnimation.AutoToolTip = true; this.toolStripStatusLabelDownloadAnimation.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image; - this.toolStripStatusLabelDownloadAnimation.Image = global::Hipparcos_DB.Properties.Resources.fugue_drive_download_16px_shadowless; + this.toolStripStatusLabelDownloadAnimation.Image = global::Hipparcos_DB.Properties.Resources.fugue_arrow_270_16px_shadowless; this.toolStripStatusLabelDownloadAnimation.ImageAlign = System.Drawing.ContentAlignment.MiddleRight; this.toolStripStatusLabelDownloadAnimation.Name = "toolStripStatusLabelDownloadAnimation"; - this.toolStripStatusLabelDownloadAnimation.Size = new System.Drawing.Size(442, 17); + this.toolStripStatusLabelDownloadAnimation.Size = new System.Drawing.Size(571, 17); this.toolStripStatusLabelDownloadAnimation.Spring = true; this.toolStripStatusLabelDownloadAnimation.Text = "Download animation"; this.toolStripStatusLabelDownloadAnimation.MouseEnter += new System.EventHandler(this.ToolStripStatusLabelDownloadAnimation_MouseEnter); @@ -392,6 +395,31 @@ private void InitializeComponent() this.toolStripButtonRestoreHost.MouseEnter += new System.EventHandler(this.ToolStripButtonRestoreHost_MouseEnter); this.toolStripButtonRestoreHost.MouseLeave += new System.EventHandler(this.ToolStripButtonRestoreHost_MouseLeave); // + // toolStripButtonSaveLogging + // + this.toolStripButtonSaveLogging.AccessibleDescription = "Save the download logging into a file"; + this.toolStripButtonSaveLogging.AccessibleName = "Save logging"; + this.toolStripButtonSaveLogging.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.toolStripButtonSaveLogging.Image = global::Hipparcos_DB.Properties.Resources.fugue_disk_16px_shadowless; + this.toolStripButtonSaveLogging.ImageTransparentColor = System.Drawing.Color.Magenta; + this.toolStripButtonSaveLogging.Name = "toolStripButtonSaveLogging"; + this.toolStripButtonSaveLogging.Size = new System.Drawing.Size(95, 22); + this.toolStripButtonSaveLogging.Text = "Save &logging"; + this.toolStripButtonSaveLogging.Click += new System.EventHandler(this.ToolStripButtonSaveLogging_Click); + this.toolStripButtonSaveLogging.MouseEnter += new System.EventHandler(this.ToolStripButtonSaveLogging_MouseEnter); + this.toolStripButtonSaveLogging.MouseLeave += new System.EventHandler(this.ToolStripButtonSaveLogging_MouseLeave); + // + // saveFileDialog + // + this.saveFileDialog.CreatePrompt = true; + this.saveFileDialog.DefaultExt = "txt"; + this.saveFileDialog.FileName = "logging.txt"; + this.saveFileDialog.Filter = "text files|*.txt|all files|*.*"; + this.saveFileDialog.RestoreDirectory = true; + this.saveFileDialog.SupportMultiDottedExtensions = true; + this.saveFileDialog.Title = "Save file"; + this.saveFileDialog.FileOk += new System.ComponentModel.CancelEventHandler(this.SaveFileDialog_FileOk); + // // DownloaderForm // this.AccessibleDescription = "Dialog to download all required catalog files"; @@ -399,7 +427,7 @@ private void InitializeComponent() this.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(554, 432); + this.ClientSize = new System.Drawing.Size(652, 432); this.Controls.Add(this.toolStripContainer); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); @@ -448,5 +476,7 @@ private void InitializeComponent() private System.ComponentModel.BackgroundWorker backgroundWorker; private System.Windows.Forms.ToolStripStatusLabel toolStripStatusLabelDownloadAnimation; private System.Windows.Forms.Timer timerDownloadAnimation; + private System.Windows.Forms.ToolStripButton toolStripButtonSaveLogging; + private System.Windows.Forms.SaveFileDialog saveFileDialog; } } \ No newline at end of file diff --git a/DownloaderForm.cs b/DownloaderForm.cs index ee55630..e61aa75 100644 --- a/DownloaderForm.cs +++ b/DownloaderForm.cs @@ -204,7 +204,7 @@ private void DownloaderForm_Load(object sender, EventArgs e) { ClearStatusbar(); toolStripButtonEditHost.Checked = toolStripTextBoxHost.Enabled = !toolStripTextBoxHost.Enabled; - toolStripButtonRestoreHost.Enabled = toolStripStatusLabelDownloadAnimation.Visible = false; + toolStripButtonRestoreHost.Enabled = toolStripStatusLabelDownloadAnimation.Visible = toolStripButtonSaveLogging.Enabled = false; hostToRestore = host; } @@ -247,6 +247,15 @@ private void ToolStripButtonRestoreHost_Click(object sender, EventArgs e) toolStripTextBoxHost.Text = GetHost(); } + private void ToolStripButtonSaveLogging_Click(object sender, EventArgs e) + { + saveFileDialog.ShowDialog(); + } + + #endregion + + #region Enter event handlers + private void ToolStripTextBoxHost_Enter(object sender, EventArgs e) { SetStatusbar(sender: sender, e: e); @@ -274,7 +283,7 @@ private void TextBox_Enter(object sender, EventArgs e) #endregion - #region MouseClick event handlers + #region MouseEnter event handlers private void ToolStripLabelHost_MouseEnter(object sender, EventArgs e) { @@ -341,6 +350,11 @@ private void ToolStripStatusLabelDownloadAnimation_MouseEnter(object sender, Eve SetStatusbar(sender: sender, e: e); } + private void ToolStripButtonSaveLogging_MouseEnter(object sender, EventArgs e) + { + SetStatusbar(sender: sender, e: e); + } + #endregion #region Leave event handlers @@ -439,8 +453,39 @@ private void ToolStripStatusLabelDownloadAnimation_MouseLeave(object sender, Eve ClearStatusbar(); } + private void ToolStripButtonSaveLogging_MouseLeave(object sender, EventArgs e) + { + ClearStatusbar(); + } + #endregion + private void SaveFileDialog_FileOk(object sender, CancelEventArgs e) + { + try + { + File.WriteAllText(path: saveFileDialog.FileName, contents: textBox.Text); + } + catch (Exception exception) + { + MessageBox.Show( + owner: this, + text: "Logging file couldn't saved." + Environment.NewLine + Environment.NewLine + "Reason: " + exception.Message, + caption: "Error", + buttons: MessageBoxButtons.OK, + icon: MessageBoxIcon.Error); + } + finally + { + MessageBox.Show( + owner: this, + text: "Logging file saved.", + caption: "Successful", + buttons: MessageBoxButtons.OK, + icon: MessageBoxIcon.Information); + } + } + private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { bool downloadWasSuccessful = true; @@ -458,7 +503,7 @@ private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e) url = GetHost() + hostFiles[index]; uri = new Uri(uriString: url); webClient.Proxy = null; - labelDownloadStatus.Text = "Downloading: " + url; + labelDownloadStatus.Text = "[" + DateTime.Now.ToString() + "] Downloading: " + url; textBox.AppendText(text: labelDownloadStatus.Text + Environment.NewLine); //progressBarDownloadFile.Value = 0; progressBarDownloadFiles.PerformStep(); @@ -469,28 +514,29 @@ private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e) if (File.Exists(downloadedFile)) { fileArray = File.ReadAllBytes(path: downloadedFile); - labelDownloadStatus.Text = "Decompress: " + downloadedFile + " -> " + decompressedFile; + labelDownloadStatus.Text = "[" + DateTime.Now.ToString() + "] Decompress: " + downloadedFile + " -> " + decompressedFile; textBox.AppendText(text: labelDownloadStatus.Text + Environment.NewLine); File.WriteAllBytes(path: decompressedFile, bytes: Decompress(gzip: fileArray)); - labelDownloadStatus.Text = "Delete: " + downloadedFile; + labelDownloadStatus.Text = "[" + DateTime.Now.ToString() + "] Delete: " + downloadedFile; textBox.AppendText(text: labelDownloadStatus.Text + Environment.NewLine + Environment.NewLine); File.Delete(path: downloadedFile); } else { - textBox.AppendText(text: "ERROR!!! " + downloadedFile + "couldn't decompressed." + Environment.NewLine + Environment.NewLine); + textBox.AppendText(text: "[" + DateTime.Now.ToString() + "] ERROR!!! " + downloadedFile + "couldn't decompressed." + Environment.NewLine + Environment.NewLine); } } catch (Exception exception) { downloadWasSuccessful = false; - textBox.AppendText(text: "ERROR!!! " + exception.Message + Environment.NewLine + Environment.NewLine); + textBox.AppendText(text: "[" + DateTime.Now.ToString() + "] ERROR!!! " + exception.Message + Environment.NewLine + Environment.NewLine); } } toolStripStatusLabelDownloadAnimation.Visible = timerDownloadAnimation.Enabled = false; if (downloadWasSuccessful) { MessageBox.Show( + owner: this, text: "All files were downloaded and decompressed.", caption: "Successful", buttons: MessageBoxButtons.OK, @@ -499,7 +545,9 @@ private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e) } else { + toolStripButtonSaveLogging.Enabled = true; MessageBox.Show( + owner: this, text: "Some files couldn't downloaded and decompressed. Read the logged error messages!", caption: "Error", buttons: MessageBoxButtons.OK, diff --git a/DownloaderForm.resx b/DownloaderForm.resx index 97586da..bd3ef6f 100644 --- a/DownloaderForm.resx +++ b/DownloaderForm.resx @@ -120,6 +120,9 @@ 11, 8 + + 11, 8 + 81, 8 @@ -132,6 +135,9 @@ 385, 11 + + 559, 10 + 49 diff --git a/Hipparcos-DB.csproj b/Hipparcos-DB.csproj index ad83ef9..6f9a744 100644 --- a/Hipparcos-DB.csproj +++ b/Hipparcos-DB.csproj @@ -162,6 +162,7 @@ + diff --git a/HipparcosCatalogViewerForm.cs b/HipparcosCatalogViewerForm.cs index 14050d7..29aaa75 100644 --- a/HipparcosCatalogViewerForm.cs +++ b/HipparcosCatalogViewerForm.cs @@ -44,7 +44,12 @@ private string RemoveFileExtension(string filename) private void CopyToClipboard(string text) { Clipboard.SetText(text: text); - MessageBox.Show(text: "Copied to clipboard", caption: "The text was copied to the clipboard!", buttons: MessageBoxButtons.OK, icon: MessageBoxIcon.Information); + MessageBox.Show( + owner: this, + text: "Copied to clipboard", + caption: "The text was copied to the clipboard!", + buttons: MessageBoxButtons.OK, + icon: MessageBoxIcon.Information); } private void CopyToClipboard(object sender, EventArgs e) @@ -328,6 +333,7 @@ private void GoToIndex() if (tempIndex < 1 || tempIndex > maxIndex) { MessageBox.Show( + owner: this, text: "The number is out of range. The number to be entered must be greater than zero and less than the maximum value.", caption: "Number out of range", buttons: MessageBoxButtons.OK, @@ -343,6 +349,7 @@ private void GoToIndex() else { MessageBox.Show( + owner: this, text: "The input is not a natural number. Make sure the input is a natural number, for example: 1, 2, 3, ...", caption: "Wrong number format", buttons: MessageBoxButtons.OK, @@ -382,6 +389,7 @@ private void HipparcosCatalogViewerForm_Load(object sender, EventArgs e) else { MessageBox.Show( + owner: this, text: "Some files are missing. Please download all files in the main window.", caption: "Missing files", buttons: MessageBoxButtons.OK, @@ -453,10 +461,12 @@ private void ToolStripButtonGotoIndex_Click(object sender, EventArgs e) private void ToolStripMenuItemInfo_Click(object sender, EventArgs e) { - new AboutBoxForm().ShowDialog(); + using (AboutBoxForm formAboutBox = new AboutBoxForm()) + { + formAboutBox.ShowDialog(); + } } - #endregion #region Enter event handlers diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs index b924991..4fb917d 100644 --- a/Properties/AssemblyInfo.cs +++ b/Properties/AssemblyInfo.cs @@ -5,13 +5,13 @@ // Allgemeine Informationen über eine Assembly werden über die folgenden // Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern, // die einer Assembly zugeordnet sind. -[assembly: AssemblyTitle(title: "Hipparcos-DB")] -[assembly: AssemblyDescription(description: "Viewer for the Hipparcos Catalog and the Tycho Catalog")] +[assembly: AssemblyTitle("Hipparcos-DB")] +[assembly: AssemblyDescription("Viewer for the Hipparcos Catalog and the Tycho Catalog")] [assembly: AssemblyConfiguration(configuration: "")] -[assembly: AssemblyCompany(company: "Mijo Software")] -[assembly: AssemblyProduct(product: "Hipparcos-DB")] -[assembly: AssemblyCopyright(copyright: "Copyright © 2019")] -[assembly: AssemblyTrademark(trademark: "Hipparcos-DB")] +[assembly: AssemblyCompany("Mijo Software")] +[assembly: AssemblyProduct("Hipparcos-DB")] +[assembly: AssemblyCopyright("Copyright © 2019")] +[assembly: AssemblyTrademark("Hipparcos-DB")] [assembly: AssemblyCulture(culture: "")] // Durch Festlegen von ComVisible auf FALSE werden die Typen in dieser Assembly @@ -20,7 +20,7 @@ [assembly: ComVisible(visibility: false)] // Die folgende GUID bestimmt die ID der Typbibliothek, wenn dieses Projekt für COM verfügbar gemacht wird -[assembly: Guid(guid: "dfa97eb0-fe03-4a39-bd8b-c08438875dec")] +[assembly: Guid("dfa97eb0-fe03-4a39-bd8b-c08438875dec")] // Versionsinformationen für eine Assembly bestehen aus den folgenden vier Werten: // @@ -32,7 +32,7 @@ // Sie können alle Werte angeben oder Standardwerte für die Build- und Revisionsnummern verwenden, // indem Sie "*" wie unten gezeigt eingeben: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion(version: "0.3.1.13")] -[assembly: AssemblyFileVersion(version: "0.3.1.13")] -[assembly: NeutralResourcesLanguage(cultureName: "en")] +[assembly: AssemblyVersion("0.3.2.14")] +[assembly: AssemblyFileVersion("0.3.2.14")] +[assembly: NeutralResourcesLanguage("en")] diff --git a/Properties/Resources.Designer.cs b/Properties/Resources.Designer.cs index 6bfa91d..d2936fc 100644 --- a/Properties/Resources.Designer.cs +++ b/Properties/Resources.Designer.cs @@ -190,6 +190,16 @@ internal static System.Drawing.Bitmap fugue_cross_16px_shadowless { } } + /// + /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap fugue_disk_16px_shadowless { + get { + object obj = ResourceManager.GetObject("fugue_disk_16px_shadowless", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Sucht eine lokalisierte Ressource vom Typ System.Drawing.Bitmap. /// diff --git a/Properties/Resources.resx b/Properties/Resources.resx index b4d5a29..fba0c88 100644 --- a/Properties/Resources.resx +++ b/Properties/Resources.resx @@ -181,4 +181,7 @@ fugue_arrow-curve-180-left_shadowless.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + fugue_disk_16px_shadowless.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/Properties/fugue_disk_16px_shadowless.png b/Properties/fugue_disk_16px_shadowless.png new file mode 100644 index 0000000000000000000000000000000000000000..9a89d64ff4841c8c5c04e87201238f62899d1fc5 GIT binary patch literal 475 zcmV<10VMv3P)-f2*=SfpmNX`2X4R)K&5Aq2JC5nXKETHt(T zHkFKbh#&}ldXV%95>mcv#)G0xM^d3su*KNh9LT?44x^B!A_zH}PC@BrZ>GHmYZptJM5qzYn1*FAg-7oO`=Y`a6FMFaQ~!39)wO Rb8`Ry002ovPDHLkV1m>`$)W%N literal 0 HcmV?d00001