您好!
谢谢您的回复。
我是在vs2008环境下,通过改变refenrence来改变C1TrueDBGrid的。
WinFroms下的C1TrueDBGrid 1.3.20044.41201 升级到 2.0.20082.61142时,出现如下的问题。
我的Form1.Designer.cs代码如下所示:
在红色部分出错了。
namespace WindowsFormsApplication1
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
this.c1TrueDBGrid1 = new C1.Win.C1TrueDBGrid.C1TrueDBGrid(); ((System.ComponentModel.ISupportInitialize)(this.c1TrueDBGrid1)).BeginInit();
this.SuspendLayout();
//
// c1TrueDBGrid1
//
this.c1TrueDBGrid1.GroupByCaption = "列でグループ化するには、ここに列ヘッダをドラッグします。";
this.c1TrueDBGrid1.Images.Add(((System.Drawing.Image)(resources.GetObject("c1TrueDBGrid1.Images"))));
this.c1TrueDBGrid1.Location = new System.Drawing.Point(12, 57);
this.c1TrueDBGrid1.Name = "c1TrueDBGrid1";
this.c1TrueDBGrid1.PreviewInfo.Caption = "印刷プレビューウィンドウ";
this.c1TrueDBGrid1.PreviewInfo.Location = new System.Drawing.Point(0, 0);
this.c1TrueDBGrid1.PreviewInfo.Size = new System.Drawing.Size(0, 0);
this.c1TrueDBGrid1.PreviewInfo.ZoomFactor = 75;
this.c1TrueDBGrid1.PrintInfo.PageSettings = ((System.Drawing.Printing.PageSettings)(resources.GetObject("c1TrueDBGrid1.PrintInfo.PageSettings")));
this.c1TrueDBGrid1.Size = new System.Drawing.Size(240, 150);
this.c1TrueDBGrid1.TabIndex = 0;
this.c1TrueDBGrid1.Text = "c1TrueDBGrid1";
this.c1TrueDBGrid1.PropBag = resources.GetString("c1TrueDBGrid1.PropBag");
//
// Form1
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(292, 273);
this.Controls.Add(this.c1TrueDBGrid1);
this.Name = "Form1";
this.Text = "Form1";
((System.ComponentModel.ISupportInitialize)(this.c1TrueDBGrid1)).EndInit();
this.ResumeLayout(false);
}
#endregion
private C1.Win.C1TrueDBGrid.C1TrueDBGrid c1TrueDBGrid1;
}
} |