UNO 게임 응용 프로그램을 만들고 있습니다. 편리하게 모든 플레이어와 그들의 카드가 표시되는 form2 (게임 테이블)를 만들었습니다. 이제 현재 플레이어를 보여주는 텍스트 상자를 추가하기 만하면됩니다. 내가 한 그래서Windows Form 응용 프로그램 C sharp visual studio 2010
이었다 -
는 끌어 텍스트 상자를 떨어졌다. 경고 - 경고 1 열려있는 디자이너에게 표시되도록 Gui1.Form2에 대한 변경 사항을 프로젝트를 다시 빌드해야합니다. form21.designer.cs - 내가 만든되는 다른 파일을 참조
-0
0 다 양식을 다시 빌드합니다. Pl. 아래 파일의 내용을 참조하십시오 -
오류 - 오류 1 'Gui1.Form2'유형 선언에 부분 수정자가 누락되었습니다. 이 유형의 다른 부분 선언은 다음과 같습니다. C : \ Users \ uday \ Desktop \ Uday \ Client_0407 \ Gui1 \ Form21.Designer.cs 25 18 Gui1
주 - 텍스트 상자 만있는 것은 아닙니다. 드래그 앤 드롭 수정을하면 같은 일이 발생합니다.
form21.designer.cs
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Gui1 {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Form2 {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Form2() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Gui1.Form2", typeof(Form2).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
public static System.Drawing.Bitmap Pic_MyPlayer_Image {
get {
object obj = ResourceManager.GetObject("Pic_MyPlayer.Image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
public static System.Drawing.Bitmap Pic_OtherPlayer1_Image {
get {
object obj = ResourceManager.GetObject("Pic_OtherPlayer1.Image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
public static System.Drawing.Bitmap Pic_OtherPlayer2_Image {
get {
object obj = ResourceManager.GetObject("Pic_OtherPlayer2.Image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
public static System.Drawing.Bitmap Pic_OtherPlayer3_Image {
get {
object obj = ResourceManager.GetObject("Pic_OtherPlayer3.Image", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
}
}
와우, 정말 멋지다. 빨리 끝내기 전에 꺼 버려! –