Link to home
Start Free TrialLog in
Avatar of andyw27
andyw27

asked on

Newbie - Help with tutorial (Progress Bar)

Hello,

I'm trying to following a fairly basic example: http://support.microsoft.com/kb/323116

I got up to the bit where it says "Add the following code to the class module of the UserControl, just after the "Windows Form Designer generated code" section. Note In Visual Studio 2005, put the following code in the SmoothProgressBar.cs file."

The content of SmoothProgressBar.cs is given below.

The problem is that wherever I place the code I get errors - Am I missing something obvious ?

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
 
namespace SmoothProgressBar
{
    public partial class SmoothProgressBar : UserControl
    {
        public SmoothProgressBar()
        {
            InitializeComponent();
        }
    }
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Marcjev
Marcjev
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andyw27
andyw27

ASKER

Thank you, it works now.