Re: Strange Problem
From: John (John_at_discussions.microsoft.com)
Date: 08/11/04
- Next message: Sephi berry via .NET 247: "getWindowDC vs Process.Handle"
- Previous message: Rachel: "Re: VS Code Auto-erasing"
- In reply to: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Reply: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 11 Aug 2004 12:37:01 -0700
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
Me.components = New System.ComponentModel.Container
Dim resources As System.Resources.ResourceManager = New
System.Resources.ResourceManager(GetType(RightsForm))
Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
Me.RightsGrid = New AxMSHierarchicalFlexGridLib.AxMSHFlexGrid
Me.Frame1 = New System.Windows.Forms.GroupBox
Me.Label2 = New System.Windows.Forms.Label
Me.Label1 = New System.Windows.Forms.Label
Me.RightsDesc = New System.Windows.Forms.TextBox
Me.CopyBtn = New System.Windows.Forms.Button
Me.Parameters = New System.Windows.Forms.TextBox
Me.Rights = New System.Windows.Forms.TextBox
Me.OKButton = New System.Windows.Forms.Button
Me.RightsDescLbl = New System.Windows.Forms.Label
Me.ParamTxt = New System.Windows.Forms.Label
Me.RightsLbl = New System.Windows.Forms.Label
Me.Button1 = New System.Windows.Forms.Button
CType(Me.RightsGrid,
System.ComponentModel.ISupportInitialize).BeginInit()
Me.Frame1.SuspendLayout()
Me.SuspendLayout()
'
'RightsGrid
'
Me.RightsGrid.DataSource = Nothing
Me.RightsGrid.Location = New System.Drawing.Point(8, 8)
Me.RightsGrid.Name = "RightsGrid"
Me.RightsGrid.OcxState =
CType(resources.GetObject("RightsGrid.OcxState"),
System.Windows.Forms.AxHost.State)
Me.RightsGrid.Size = New System.Drawing.Size(729, 361)
Me.RightsGrid.TabIndex = 12
'
'Frame1
'
Me.Frame1.BackColor = System.Drawing.SystemColors.Control
Me.Frame1.Controls.Add(Me.Label2)
Me.Frame1.Controls.Add(Me.Label1)
Me.Frame1.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.Frame1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Frame1.Location = New System.Drawing.Point(460, 408)
Me.Frame1.Name = "Frame1"
Me.Frame1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Frame1.Size = New System.Drawing.Size(285, 133)
Me.Frame1.TabIndex = 9
Me.Frame1.TabStop = False
Me.Frame1.Text = " Information "
'
'Label2
'
Me.Label2.BackColor = System.Drawing.SystemColors.Control
Me.Label2.Cursor = System.Windows.Forms.Cursors.Default
Me.Label2.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.Label2.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label2.Location = New System.Drawing.Point(4, 84)
Me.Label2.Name = "Label2"
Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label2.Size = New System.Drawing.Size(277, 41)
Me.Label2.TabIndex = 11
Me.Label2.Text = ""
'
'Label1
'
Me.Label1.BackColor = System.Drawing.SystemColors.Control
Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
Me.Label1.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
Me.Label1.Location = New System.Drawing.Point(4, 16)
Me.Label1.Name = "Label1"
Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Label1.Size = New System.Drawing.Size(277, 65)
Me.Label1.TabIndex = 10
Me.Label1.Text = ""
'
'RightsDesc
'
Me.RightsDesc.AcceptsReturn = True
Me.RightsDesc.AutoSize = False
Me.RightsDesc.BackColor = System.Drawing.SystemColors.Control
Me.RightsDesc.Cursor = System.Windows.Forms.Cursors.IBeam
Me.RightsDesc.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.RightsDesc.ForeColor = System.Drawing.SystemColors.WindowText
Me.RightsDesc.Location = New System.Drawing.Point(4, 420)
Me.RightsDesc.MaxLength = 0
Me.RightsDesc.Multiline = True
Me.RightsDesc.Name = "RightsDesc"
Me.RightsDesc.ReadOnly = True
Me.RightsDesc.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.RightsDesc.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
Me.RightsDesc.Size = New System.Drawing.Size(453, 121)
Me.RightsDesc.TabIndex = 7
Me.RightsDesc.TabStop = False
Me.RightsDesc.Text = ""
'
'CopyBtn
'
Me.CopyBtn.BackColor = System.Drawing.SystemColors.Control
Me.CopyBtn.Cursor = System.Windows.Forms.Cursors.Default
Me.CopyBtn.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.CopyBtn.ForeColor = System.Drawing.SystemColors.ControlText
Me.CopyBtn.Location = New System.Drawing.Point(560, 376)
Me.CopyBtn.Name = "CopyBtn"
Me.CopyBtn.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.CopyBtn.Size = New System.Drawing.Size(77, 25)
Me.CopyBtn.TabIndex = 6
Me.CopyBtn.Text = "Copy"
'
'Parameters
'
Me.Parameters.AcceptsReturn = True
Me.Parameters.AutoSize = False
Me.Parameters.BackColor = System.Drawing.SystemColors.Window
Me.Parameters.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Parameters.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.Parameters.ForeColor = System.Drawing.SystemColors.WindowText
Me.Parameters.Location = New System.Drawing.Point(300, 380)
Me.Parameters.MaxLength = 0
Me.Parameters.Name = "Parameters"
Me.Parameters.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Parameters.Size = New System.Drawing.Size(149, 17)
Me.Parameters.TabIndex = 3
Me.Parameters.Text = ""
'
'Rights
'
Me.Rights.AcceptsReturn = True
Me.Rights.AutoSize = False
Me.Rights.BackColor = System.Drawing.SystemColors.Window
Me.Rights.Cursor = System.Windows.Forms.Cursors.IBeam
Me.Rights.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.Rights.ForeColor = System.Drawing.SystemColors.WindowText
Me.Rights.Location = New System.Drawing.Point(48, 380)
Me.Rights.MaxLength = 0
Me.Rights.Name = "Rights"
Me.Rights.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.Rights.Size = New System.Drawing.Size(181, 17)
Me.Rights.TabIndex = 1
Me.Rights.Text = ""
'
'OKButton
'
Me.OKButton.BackColor = System.Drawing.SystemColors.Control
Me.OKButton.Cursor = System.Windows.Forms.Cursors.Default
Me.OKButton.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.OKButton.ForeColor = System.Drawing.SystemColors.ControlText
Me.OKButton.Location = New System.Drawing.Point(680, 376)
Me.OKButton.Name = "OKButton"
Me.OKButton.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.OKButton.Size = New System.Drawing.Size(61, 25)
Me.OKButton.TabIndex = 0
Me.OKButton.Text = "Exit"
'
'RightsDescLbl
'
Me.RightsDescLbl.BackColor = System.Drawing.SystemColors.Control
Me.RightsDescLbl.Cursor = System.Windows.Forms.Cursors.Default
Me.RightsDescLbl.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.RightsDescLbl.ForeColor = System.Drawing.SystemColors.ControlText
Me.RightsDescLbl.Location = New System.Drawing.Point(8, 404)
Me.RightsDescLbl.Name = "RightsDescLbl"
Me.RightsDescLbl.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.RightsDescLbl.Size = New System.Drawing.Size(185, 13)
Me.RightsDescLbl.TabIndex = 8
Me.RightsDescLbl.Text = "Rights Descriptions for this Program:"
'
'ParamTxt
'
Me.ParamTxt.BackColor = System.Drawing.SystemColors.Control
Me.ParamTxt.Cursor = System.Windows.Forms.Cursors.Default
Me.ParamTxt.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.ParamTxt.ForeColor = System.Drawing.SystemColors.ControlText
Me.ParamTxt.Location = New System.Drawing.Point(236, 384)
Me.ParamTxt.Name = "ParamTxt"
Me.ParamTxt.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.ParamTxt.Size = New System.Drawing.Size(57, 13)
Me.ParamTxt.TabIndex = 4
Me.ParamTxt.Text = "Parameters:"
'
'RightsLbl
'
Me.RightsLbl.BackColor = System.Drawing.SystemColors.Control
Me.RightsLbl.Cursor = System.Windows.Forms.Cursors.Default
Me.RightsLbl.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.RightsLbl.ForeColor = System.Drawing.SystemColors.ControlText
Me.RightsLbl.Location = New System.Drawing.Point(8, 384)
Me.RightsLbl.Name = "RightsLbl"
Me.RightsLbl.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.RightsLbl.Size = New System.Drawing.Size(33, 13)
Me.RightsLbl.TabIndex = 2
Me.RightsLbl.Text = "Rights:"
'
'Button1
'
Me.Button1.Location = New System.Drawing.Point(472, 360)
Me.Button1.Name = "Button1"
Me.Button1.Size = New System.Drawing.Size(64, 40)
Me.Button1.TabIndex = 13
Me.Button1.Text = "Button1"
'
'RightsForm
'
Me.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
Me.BackColor = System.Drawing.SystemColors.Control
Me.ClientSize = New System.Drawing.Size(749, 544)
Me.ControlBox = False
Me.Controls.Add(Me.Button1)
Me.Controls.Add(Me.RightsGrid)
Me.Controls.Add(Me.Frame1)
Me.Controls.Add(Me.RightsDesc)
Me.Controls.Add(Me.Parameters)
Me.Controls.Add(Me.Rights)
Me.Controls.Add(Me.CopyBtn)
Me.Controls.Add(Me.OKButton)
Me.Controls.Add(Me.RightsDescLbl)
Me.Controls.Add(Me.ParamTxt)
Me.Controls.Add(Me.RightsLbl)
Me.Cursor = System.Windows.Forms.Cursors.Default
Me.Font = New System.Drawing.Font("Arial", 8.0!,
System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0,
Byte))
Me.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog
Me.Location = New System.Drawing.Point(96, 152)
Me.MaximizeBox = False
Me.MinimizeBox = False
Me.Name = "RightsForm"
Me.RightToLeft = System.Windows.Forms.RightToLeft.No
Me.ShowInTaskbar = False
Me.StartPosition = System.Windows.Forms.FormStartPosition.Manual
Me.Text = "Edit Rights/Parameters"
CType(Me.RightsGrid,
System.ComponentModel.ISupportInitialize).EndInit()
Me.Frame1.ResumeLayout(False)
Me.ResumeLayout(False)
End Sub
"Herfried K. Wagner [MVP]" wrote:
> * "=?Utf-8?B?Sm9obg==?=" <John@discussions.microsoft.com> scripsit:
> > I have a button on a form that I deleted and recreated. I didn't change the
> > caption so it just says button. However, whenever I run the program through
> > the code the old button is on the form. It seems like the program isn't
> > recompiling. Does anyone know what is wrong?
>
> That's hard to say without taking a look at your form's 'Sub InitializeComponent'.
>
> --
> M S Herfried K. Wagner
> M V P <URL:http://dotnet.mvps.org/>
> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
>
- Next message: Sephi berry via .NET 247: "getWindowDC vs Process.Handle"
- Previous message: Rachel: "Re: VS Code Auto-erasing"
- In reply to: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Next in thread: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Reply: Herfried K. Wagner [MVP]: "Re: Strange Problem"
- Messages sorted by: [ date ] [ thread ]