2016-10-18 6 views
0

enter image description hereデザイナーを表示できません

助けてください! VBプロジェクトで制御パラメータ調整フォームを表示できません。他の3つのフォームは正常です。

この問題を解決するにはどうすればよいですか?まず

<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _ 
Partial Class Control_Parameter_Adjustment 
    Inherits System.Windows.Forms.Form 

    'Form overrides dispose to clean up the component list. 
    <System.Diagnostics.DebuggerNonUserCode()> _ 
    Protected Overrides Sub Dispose(ByVal disposing As Boolean) 
     Try 
      If disposing AndAlso components IsNot Nothing Then 
       components.Dispose() 
      End If 
     Finally 
      MyBase.Dispose(disposing) 
     End Try 
    End Sub 

    'Required by the Windows Form Designer 
    Private components As System.ComponentModel.IContainer 

    'NOTE: The following procedure is required by the Windows Form Designer 
    'It can be modified using the Windows Form Designer. 
    'Do not modify it using the code editor. 
    <System.Diagnostics.DebuggerStepThrough()> _ 
    Private Sub InitializeComponent() 
     Me.Label1 = New System.Windows.Forms.Label() 
     Me.GroupBox1 = New System.Windows.Forms.GroupBox() 
     Me.Label31 = New System.Windows.Forms.Label() 
...... 
End Class 
+0

*なぜ*コントロールパラメータ調整フォームを表示できませんか?何らかのエラーがありますか? – valverij

+0

また、デザイナーはUIを設定するときに呼び出されるコードを実行するので、呼び出されるべきでないフォーム設定のものは 'If Not DesignMode Then ... End If'でラップする必要があります – valverij

+0

問題がありますあなたの '.Designer'ファイル...' Control Parameter Adjustment.Designer.vb'のコードを投稿してください....今のところ、それは***として扱われています。 – Codexer

答えて

0

、私は私の悪い英語のために謝罪:

はここDesigner.vbコードです。

これが私の仕事:あなたのプロジェクトに空のフォームを追加した場合、あなたはそれにCLIKを倍増させることができます、あなたは以下を参照してくださいすることができます

Public Class Form1 

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load 

End Sub 

End Class 

をあなたがそのクラス定義を見ることができません他のフォーム、おそらくこのクラスはdissapeared(私は理由を説明することはできません)ため。

また、おそらくフォームコードでform_Loadイベントを見つけることができます。

クラス定義でフォーム名を変更するだけで、このクラスを書き換えます。デザイナーを見ることができます。アイコンも変わります。

関連する問題