I need your help again. Please help me.
While compiling my former Developer C# 2008 program I encounter these error messages.
One of the error message is About DELEGATE. I have not heard of this before.
Error message:
Error 2'CShartNet2008GeneralApps.FrmDataGrid' does not contain a definition for 'btnExportXML_Click' and no extension method 'btnExportXML_Click' accepting a first argument of type 'CShartNet2008GeneralApps.FrmDataGrid' could be found (are you missing a using directive or an assembly reference?)
Coding from File Name: FrmDataGridDesigner.cs
Expand|Select|Wrap|Line Numbers
- this.btnExportXML.Font = new System.Drawing.Font("Verdana", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
- this.btnExportXML.Location = new System.Drawing.Point(472, -2);
- this.btnExportXML.Name = "btnExportXML";
- this.btnExportXML.Size = new System.Drawing.Size(119, 24);
- this.btnExportXML.TabIndex = 4;
- this.btnExportXML.Text = "Export XML File";
- this.btnExportXML.UseVisualStyleBackColor = true;
- this.btnExportXML.Click += new System.EventHandler(this.btnExportXML_Click);
Another error message
Error 13 Expected class, delegate, enum, interface, or struct
Coding from File Name : FrmDataGrid.cs
Expand|Select|Wrap|Line Numbers
- private void btnExportXML_Click(object sender, EventArgs e); handles BtnExportXML.Click
- {
- }