Skip to content

Commit 6e16307

Browse files
committed
fix form show
1 parent b4b8444 commit 6e16307

File tree

2 files changed

+32
-32
lines changed

2 files changed

+32
-32
lines changed

MgdDbgLibrary/Snoop/Forms/Objects.cs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -118,35 +118,35 @@ protected void
118118
this.m_mnuItemCopy = new System.Windows.Forms.MenuItem();
119119
this.m_mnuItemBrowseReflection = new System.Windows.Forms.MenuItem();
120120
this.m_lvData = new System.Windows.Forms.ListView();
121-
this.m_lvCol_label = new System.Windows.Forms.ColumnHeader();
122-
this.m_lvCol_value = new System.Windows.Forms.ColumnHeader();
121+
this.m_lvCol_label = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
122+
this.m_lvCol_value = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
123123
this.listViewContextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
124124
this.copyToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
125125
this.m_bnOK = new System.Windows.Forms.Button();
126126
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
127127
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
128128
this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
129+
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
129130
this.m_printDocument = new System.Drawing.Printing.PrintDocument();
130131
this.m_printPreviewDialog = new System.Windows.Forms.PrintPreviewDialog();
131132
this.m_printDialog = new System.Windows.Forms.PrintDialog();
132-
this.toolStripButton3 = new System.Windows.Forms.ToolStripButton();
133133
this.listViewContextMenuStrip.SuspendLayout();
134134
this.toolStrip1.SuspendLayout();
135135
this.SuspendLayout();
136136
//
137137
// m_tvObjs
138138
//
139-
this.m_tvObjs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
140-
| System.Windows.Forms.AnchorStyles.Left)));
139+
this.m_tvObjs.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
140+
| System.Windows.Forms.AnchorStyles.Left)));
141141
this.m_tvObjs.ContextMenu = this.m_cntxMenu;
142142
this.m_tvObjs.HideSelection = false;
143143
this.m_tvObjs.Location = new System.Drawing.Point(12, 37);
144144
this.m_tvObjs.Name = "m_tvObjs";
145145
this.m_tvObjs.ShowNodeToolTips = true;
146146
this.m_tvObjs.Size = new System.Drawing.Size(240, 469);
147147
this.m_tvObjs.TabIndex = 0;
148-
this.m_tvObjs.NodeMouseClick += new TreeNodeMouseClickEventHandler(this.TreeNodeSelected);
149-
this.m_tvObjs.AfterSelect += new TreeViewEventHandler(this.TreeNodeSelected);
148+
this.m_tvObjs.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.TreeNodeSelected);
149+
this.m_tvObjs.NodeMouseClick += new System.Windows.Forms.TreeNodeMouseClickEventHandler(this.TreeNodeSelected);
150150
//
151151
// m_cntxMenu
152152
//
@@ -168,9 +168,9 @@ protected void
168168
//
169169
// m_lvData
170170
//
171-
this.m_lvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
172-
| System.Windows.Forms.AnchorStyles.Left)
173-
| System.Windows.Forms.AnchorStyles.Right)));
171+
this.m_lvData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
172+
| System.Windows.Forms.AnchorStyles.Left)
173+
| System.Windows.Forms.AnchorStyles.Right)));
174174
this.m_lvData.AutoArrange = false;
175175
this.m_lvData.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
176176
this.m_lvCol_label,
@@ -189,8 +189,8 @@ protected void
189189
this.m_lvData.TabIndex = 1;
190190
this.m_lvData.UseCompatibleStateImageBehavior = false;
191191
this.m_lvData.View = System.Windows.Forms.View.Details;
192-
this.m_lvData.DoubleClick += new System.EventHandler(this.DataItemSelected);
193192
this.m_lvData.Click += new System.EventHandler(this.DataItemSelected);
193+
this.m_lvData.DoubleClick += new System.EventHandler(this.DataItemSelected);
194194
//
195195
// m_lvCol_label
196196
//
@@ -207,13 +207,13 @@ protected void
207207
this.listViewContextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
208208
this.copyToolStripMenuItem});
209209
this.listViewContextMenuStrip.Name = "listViewContextMenuStrip";
210-
this.listViewContextMenuStrip.Size = new System.Drawing.Size(100, 26);
210+
this.listViewContextMenuStrip.Size = new System.Drawing.Size(103, 26);
211211
//
212212
// copyToolStripMenuItem
213213
//
214214
this.copyToolStripMenuItem.Image = global::MgdDbg.Properties.Resources.COPY1;
215215
this.copyToolStripMenuItem.Name = "copyToolStripMenuItem";
216-
this.copyToolStripMenuItem.Size = new System.Drawing.Size(99, 22);
216+
this.copyToolStripMenuItem.Size = new System.Drawing.Size(102, 22);
217217
this.copyToolStripMenuItem.Text = "Copy";
218218
this.copyToolStripMenuItem.Click += new System.EventHandler(this.CopyToolStripMenuItem_Click);
219219
//
@@ -260,6 +260,16 @@ protected void
260260
this.toolStripButton2.Text = "Print Preview";
261261
this.toolStripButton2.Click += new System.EventHandler(this.PrintPreviewMenuItem_Click);
262262
//
263+
// toolStripButton3
264+
//
265+
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
266+
this.toolStripButton3.Image = global::MgdDbg.Properties.Resources.COPY1;
267+
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
268+
this.toolStripButton3.Name = "toolStripButton3";
269+
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
270+
this.toolStripButton3.Text = "Copy To Clipboard";
271+
this.toolStripButton3.Click += new System.EventHandler(this.ContextMenuClick_Copy);
272+
//
263273
// m_printDocument
264274
//
265275
this.m_printDocument.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.PrintDocument_PrintPage);
@@ -280,16 +290,6 @@ protected void
280290
this.m_printDialog.Document = this.m_printDocument;
281291
this.m_printDialog.UseEXDialog = true;
282292
//
283-
// toolStripButton3
284-
//
285-
this.toolStripButton3.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
286-
this.toolStripButton3.Image = global::MgdDbg.Properties.Resources.COPY1;
287-
this.toolStripButton3.ImageTransparentColor = System.Drawing.Color.Magenta;
288-
this.toolStripButton3.Name = "toolStripButton3";
289-
this.toolStripButton3.Size = new System.Drawing.Size(23, 22);
290-
this.toolStripButton3.Text = "Copy To Clipboard";
291-
this.toolStripButton3.Click += new System.EventHandler(this.ContextMenuClick_Copy);
292-
//
293293
// Objects
294294
//
295295
this.AcceptButton = this.m_bnOK;

MgdDbgLibrary/Snoop/Forms/Objects.resx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -112,27 +112,27 @@
112112
<value>2.0</value>
113113
</resheader>
114114
<resheader name="reader">
115-
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
115+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
116116
</resheader>
117117
<resheader name="writer">
118-
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
118+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
119119
</resheader>
120-
<metadata name="m_cntxMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
120+
<metadata name="m_cntxMenu.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
121121
<value>173, 28</value>
122122
</metadata>
123-
<metadata name="listViewContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
123+
<metadata name="listViewContextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
124124
<value>288, 28</value>
125125
</metadata>
126-
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
126+
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
127127
<value>466, 28</value>
128128
</metadata>
129-
<metadata name="m_printDocument.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
129+
<metadata name="m_printDocument.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
130130
<value>565, 28</value>
131131
</metadata>
132-
<metadata name="m_printPreviewDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
132+
<metadata name="m_printPreviewDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
133133
<value>706, 28</value>
134134
</metadata>
135-
<assembly alias="System.Drawing" name="System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
135+
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
136136
<data name="m_printPreviewDialog.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
137137
<value>
138138
AAABAAYAICAQAAAAAADoAgAAZgAAABAQEAAAAAAAKAEAAE4DAAAgIAAAAQAIAKgIAAB2BAAAEBAAAAEA
@@ -306,7 +306,7 @@
306306
wf+0BQAAgAUAAIAFAACAAQAAgAHB/4ABAACAAQAAgAEAALwBAAC8AQAAvAHB/4ABbP///5H/
307307
</value>
308308
</data>
309-
<metadata name="m_printDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
309+
<metadata name="m_printDialog.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
310310
<value>17, 65</value>
311311
</metadata>
312312
</root>

0 commit comments

Comments
 (0)