shortcut for file open from the V start button

This commit is contained in:
John Jenko 2009-10-02 18:10:38 +00:00
parent 6cb48301cb
commit c5d2578ee9
2 changed files with 6 additions and 14 deletions

View File

@ -256,6 +256,7 @@ namespace VEPROMS
this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText; this.btnOpen.ButtonStyle = DevComponents.DotNetBar.eButtonStyle.ImageAndText;
this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image"))); this.btnOpen.Image = ((System.Drawing.Image)(resources.GetObject("btnOpen.Image")));
this.btnOpen.Name = "btnOpen"; this.btnOpen.Name = "btnOpen";
this.btnOpen.Shortcuts.Add(DevComponents.DotNetBar.eShortcut.CtrlO);
this.btnOpen.SubItemsExpandWidth = 24; this.btnOpen.SubItemsExpandWidth = 24;
this.btnOpen.Text = "&Open..."; this.btnOpen.Text = "&Open...";
this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click); this.btnOpen.Click += new System.EventHandler(this.btnOpen_Click);
@ -594,20 +595,6 @@ namespace VEPROMS
this.tv.Click += new System.EventHandler(this.tv_Click); this.tv.Click += new System.EventHandler(this.tv_Click);
this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose); this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose);
// //
// tv
//
this.tv.AllowDrop = true;
this.tv.Dock = System.Windows.Forms.DockStyle.Fill;
this.tv.Font = new System.Drawing.Font("Microsoft Sans Serif", 7.8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.tv.HideSelection = false;
this.tv.Location = new System.Drawing.Point(0, 26);
this.tv.Name = "tv";
this.tv.Size = new System.Drawing.Size(30, 637);
this.tv.TabIndex = 1;
this.tv.BeforeExpand += new System.Windows.Forms.TreeViewCancelEventHandler(this.tv_BeforeExpand);
this.tv.Click += new System.EventHandler(this.tv_Click);
this.tv.SectionShouldClose += new Volian.Controls.Library.vlnTreeViewSectionInfoEvent(this.tv_SectionShouldClose);
//
// infoPanel // infoPanel
// //
this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control; this.infoPanel.CanvasColor = System.Drawing.SystemColors.Control;

View File

@ -1133,5 +1133,10 @@ namespace VEPROMS
expandableSplitter3.Enabled = infoPanel.Expanded; expandableSplitter3.Enabled = infoPanel.Expanded;
} }
#endregion #endregion
//protected override void WndProc(ref Message m)
//{
// base.WndProc(ref m);
//}
} }
} }