Hi , i have this code :
using System.Text;
using System.Windows.Forms;
using Microsoft.CSharp;
using mshtml;
using System.Web;
using System.Collections;
namespace AppTools
{
public partial class frmAppTool : Form
{
private int task = 0;
private int stop = 0;
private System.ComponentModel.IContainer components = null;
public frmAppTool()
{
InitializeComponent();
}
protected override void Dispose(bool disposing)
{
//FadeEffect.FadeForm(this, 50);
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
Error 1 The type 'AppTools.frmAppTool' already contains a definition for 'components' C:\Users\Getimage\Documents\Visual Studio 2008\Projects\AppTools\AppTools\Form1.cs 22 50 AppTools
Why? i'm very beginner to c#. thanks for the help, bye
Loading
MassimoPosted Jul 15, 2009, 8:45 AM
thansk for you reply, i have modified my code , but i have same error, i have viewed in form.Designer.cs , visual studio create a function dispose, i create same function elsewhere,i think the error is this
Ryan AlfordPosted Jul 14, 2009, 11:52 PM