OSDN Git Service

AppliStation-GUI,ListViewの列の追加と削除をサポートした。
[applistation/AppliStation.git] / AppliStation / InstallationConfirmForm.Designer.cs
index 9f57717..5ac57e1 100644 (file)
@@ -31,6 +31,9 @@ namespace AppliStation
                {\r
                        this.components = new System.ComponentModel.Container();\r
                        System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InstallationConfirmForm));\r
+                       System.Windows.Forms.ListViewGroup listViewGroup1 = new System.Windows.Forms.ListViewGroup("インストールするソフト", System.Windows.Forms.HorizontalAlignment.Left);\r
+                       System.Windows.Forms.ListViewGroup listViewGroup2 = new System.Windows.Forms.ListViewGroup("アップデートするソフト", System.Windows.Forms.HorizontalAlignment.Left);\r
+                       System.Windows.Forms.ListViewGroup listViewGroup3 = new System.Windows.Forms.ListViewGroup("動作させるのに必要なソフト", System.Windows.Forms.HorizontalAlignment.Left);\r
                        this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();\r
                        this.btnPanel = new System.Windows.Forms.FlowLayoutPanel();\r
                        this.runasCheckBox = new System.Windows.Forms.CheckBox();\r
@@ -42,6 +45,7 @@ namespace AppliStation
                        this.versionColumnHeader = new System.Windows.Forms.ColumnHeader();\r
                        this.currentVersionColumnHeader = new System.Windows.Forms.ColumnHeader();\r
                        this.silentInstColumnHeader = new System.Windows.Forms.ColumnHeader();\r
+                       this.pkgListNameColumnHeader = new System.Windows.Forms.ColumnHeader();\r
                        this.instListViewContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);\r
                        this.silentInstallStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();\r
                        this.instListToolStripSeparator = new System.Windows.Forms.ToolStripSeparator();\r
@@ -100,13 +104,11 @@ namespace AppliStation
                        // \r
                        this.okButton.AutoSize = true;\r
                        this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK;\r
-                       this.okButton.Image = ((System.Drawing.Image)(resources.GetObject("okButton.Image")));\r
                        this.okButton.Location = new System.Drawing.Point(135, 3);\r
                        this.okButton.Name = "okButton";\r
                        this.okButton.Size = new System.Drawing.Size(86, 23);\r
                        this.okButton.TabIndex = 0;\r
                        this.okButton.Text = "インストール";\r
-                       this.okButton.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;\r
                        // \r
                        // cancelButton\r
                        // \r
@@ -135,10 +137,22 @@ namespace AppliStation
                                                                        this.nameColumnHeader,\r
                                                                        this.versionColumnHeader,\r
                                                                        this.currentVersionColumnHeader,\r
-                                                                       this.silentInstColumnHeader});\r
+                                                                       this.silentInstColumnHeader,\r
+                                                                       this.pkgListNameColumnHeader});\r
                        this.instsListView.ContextMenuStrip = this.instListViewContextMenuStrip;\r
                        this.instsListView.Dock = System.Windows.Forms.DockStyle.Fill;\r
                        this.instsListView.GridLines = true;\r
+                       listViewGroup1.Header = "インストールするソフト";\r
+                       listViewGroup1.Name = "install";\r
+                       listViewGroup2.Header = "アップデートするソフト";\r
+                       listViewGroup2.Name = "update";\r
+                       listViewGroup3.Header = "動作させるのに必要なソフト";\r
+                       listViewGroup3.Name = "requires";\r
+                       this.instsListView.Groups.AddRange(new System.Windows.Forms.ListViewGroup[] {\r
+                                                                       listViewGroup1,\r
+                                                                       listViewGroup2,\r
+                                                                       listViewGroup3});\r
+                       this.instsListView.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable;\r
                        this.instsListView.Location = new System.Drawing.Point(5, 53);\r
                        this.instsListView.Margin = new System.Windows.Forms.Padding(5, 3, 5, 5);\r
                        this.instsListView.Name = "instsListView";\r
@@ -148,10 +162,9 @@ namespace AppliStation
                        this.instsListView.TabIndex = 2;\r
                        this.instsListView.UseCompatibleStateImageBehavior = false;\r
                        this.instsListView.View = System.Windows.Forms.View.Details;\r
+                       this.instsListView.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.InstsListViewDrawColumnHeader);\r
                        this.instsListView.ItemChecked += new System.Windows.Forms.ItemCheckedEventHandler(this.InstsListViewItemChecked);\r
                        this.instsListView.DrawSubItem += new System.Windows.Forms.DrawListViewSubItemEventHandler(this.InstsListViewDrawSubItem);\r
-                       this.instsListView.ColumnClick += new System.Windows.Forms.ColumnClickEventHandler(this.InstsListViewColumnClick);\r
-                       this.instsListView.DrawColumnHeader += new System.Windows.Forms.DrawListViewColumnHeaderEventHandler(this.InstsListViewDrawColumnHeader);\r
                        // \r
                        // nameColumnHeader\r
                        // \r
@@ -173,6 +186,10 @@ namespace AppliStation
                        this.silentInstColumnHeader.Text = "自動インストール";\r
                        this.silentInstColumnHeader.Width = 28;\r
                        // \r
+                       // pkgListNameColumnHeader\r
+                       // \r
+                       this.pkgListNameColumnHeader.Text = "レポジトリ";\r
+                       // \r
                        // instListViewContextMenuStrip\r
                        // \r
                        this.instListViewContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {\r
@@ -181,32 +198,32 @@ namespace AppliStation
                                                                        this.selectAllInstsStripMenuItem,\r
                                                                        this.unselectAllInstsStripMenuItem});\r
                        this.instListViewContextMenuStrip.Name = "packageListViewContextMenuStrip";\r
-                       this.instListViewContextMenuStrip.Size = new System.Drawing.Size(220, 76);\r
+                       this.instListViewContextMenuStrip.Size = new System.Drawing.Size(263, 76);\r
                        this.instListViewContextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.InstsListViewContextMenuStripOpening);\r
                        // \r
                        // silentInstallStripMenuItem\r
                        // \r
                        this.silentInstallStripMenuItem.Name = "silentInstallStripMenuItem";\r
-                       this.silentInstallStripMenuItem.Size = new System.Drawing.Size(219, 22);\r
+                       this.silentInstallStripMenuItem.Size = new System.Drawing.Size(262, 22);\r
                        this.silentInstallStripMenuItem.Text = "サイレントインストールをする(&S)";\r
                        this.silentInstallStripMenuItem.Click += new System.EventHandler(this.SilentInstallStripMenuItemClick);\r
                        // \r
                        // instListToolStripSeparator\r
                        // \r
                        this.instListToolStripSeparator.Name = "instListToolStripSeparator";\r
-                       this.instListToolStripSeparator.Size = new System.Drawing.Size(216, 6);\r
+                       this.instListToolStripSeparator.Size = new System.Drawing.Size(259, 6);\r
                        // \r
                        // selectAllInstsStripMenuItem\r
                        // \r
                        this.selectAllInstsStripMenuItem.Name = "selectAllInstsStripMenuItem";\r
-                       this.selectAllInstsStripMenuItem.Size = new System.Drawing.Size(219, 22);\r
+                       this.selectAllInstsStripMenuItem.Size = new System.Drawing.Size(262, 22);\r
                        this.selectAllInstsStripMenuItem.Text = "全て選択(&A)";\r
                        this.selectAllInstsStripMenuItem.Click += new System.EventHandler(this.SelectAllInstsStripMenuItemClick);\r
                        // \r
                        // unselectAllInstsStripMenuItem\r
                        // \r
                        this.unselectAllInstsStripMenuItem.Name = "unselectAllInstsStripMenuItem";\r
-                       this.unselectAllInstsStripMenuItem.Size = new System.Drawing.Size(219, 22);\r
+                       this.unselectAllInstsStripMenuItem.Size = new System.Drawing.Size(262, 22);\r
                        this.unselectAllInstsStripMenuItem.Text = "全ての選択を解除(&U)";\r
                        this.unselectAllInstsStripMenuItem.Click += new System.EventHandler(this.UnselectAllInstsStripMenuItemClick);\r
                        // \r
@@ -230,6 +247,7 @@ namespace AppliStation
                        this.ShowInTaskbar = false;\r
                        this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;\r
                        this.Text = "ソフトのインストール";\r
+                       this.Shown += new System.EventHandler(this.InstallationConfirmFormShown);\r
                        this.tableLayoutPanel1.ResumeLayout(false);\r
                        this.tableLayoutPanel1.PerformLayout();\r
                        this.btnPanel.ResumeLayout(false);\r
@@ -237,6 +255,7 @@ namespace AppliStation
                        this.instListViewContextMenuStrip.ResumeLayout(false);\r
                        this.ResumeLayout(false);\r
                }\r
+               private System.Windows.Forms.ColumnHeader pkgListNameColumnHeader;\r
                private System.Windows.Forms.ImageList instListViewSilentInstallImageList;\r
                private System.Windows.Forms.ColumnHeader silentInstColumnHeader;\r
                private System.Windows.Forms.ToolStripSeparator instListToolStripSeparator;\r