Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
GeneralRe: an error with tabpage Pin
robmays19-Apr-04 6:14
robmays19-Apr-04 6:14 
GeneralRe: an error with tabpage Pin
Heath Stewart19-Apr-04 6:27
protectorHeath Stewart19-Apr-04 6:27 
GeneralRe: an error with tabpage Pin
robmays19-Apr-04 6:32
robmays19-Apr-04 6:32 
GeneralRe: an error with tabpage Pin
robmays19-Apr-04 8:26
robmays19-Apr-04 8:26 
GeneralRe: an error with tabpage Pin
robmays19-Apr-04 6:38
robmays19-Apr-04 6:38 
GeneralRe: an error with tabpage Pin
Heath Stewart19-Apr-04 8:42
protectorHeath Stewart19-Apr-04 8:42 
GeneralRe: an error with tabpage Pin
robmays19-Apr-04 4:13
robmays19-Apr-04 4:13 
GeneralRe: an error with tabpage Pin
Heath Stewart19-Apr-04 4:17
protectorHeath Stewart19-Apr-04 4:17 
As I said before, your class has to derive from TabPage. It doesn't matter how you added the file - you could've added a simple text file and then changed the name to Something.cs for all VS.NET cares, so long as you change the Build Action to "Compile". I even gave you an example of how to declare your class, which I'll type here again:
public class MyTabPage : TabPage
{
  // ...
}
Whatever namespace those are in must be imported into the class file that uses them, otherwise the classes can't be found, just like you have to import the System.Windows.Forms namespace so that TabPage can be found, otherwise you have to type the fully-qualified namespace EVERY TIME you reference a class, struct, interface, or enumeration.

 

Microsoft MVP, Visual C#
My Articles
Generalignore my last comment Pin
robmays16-Apr-04 21:53
robmays16-Apr-04 21:53 
GeneralPassing data between forms Pin
Chintan Vaishya15-Apr-04 23:57
Chintan Vaishya15-Apr-04 23:57 
GeneralRe: Passing data between forms Pin
Colin Angus Mackay16-Apr-04 2:14
Colin Angus Mackay16-Apr-04 2:14 
GeneralReflection Pin
Braulio Dez15-Apr-04 23:36
Braulio Dez15-Apr-04 23:36 
GeneralRe: Reflection Pin
Heath Stewart19-Apr-04 4:32
protectorHeath Stewart19-Apr-04 4:32 
GeneralUsing ActiveX In a windows service Pin
Big Trev15-Apr-04 22:42
Big Trev15-Apr-04 22:42 
GeneralRe: Using ActiveX In a windows service Pin
Heath Stewart19-Apr-04 4:37
protectorHeath Stewart19-Apr-04 4:37 
Generalpassing strings between ATL and c# Pin
rana7415-Apr-04 16:25
rana7415-Apr-04 16:25 
GeneralRe: passing strings between ATL and c# Pin
Mike Dimmick16-Apr-04 1:01
Mike Dimmick16-Apr-04 1:01 
GeneralRe: passing strings between ATL and c# Pin
RNEELY16-Apr-04 7:03
RNEELY16-Apr-04 7:03 
Generalerror progation from ATL to c# Pin
rana7415-Apr-04 16:24
rana7415-Apr-04 16:24 
GeneralRe: error progation from ATL to c# Pin
Mike Dimmick16-Apr-04 2:30
Mike Dimmick16-Apr-04 2:30 
QuestionCalling COM methods from a module NOT ALLOWED? Pin
normanordas15-Apr-04 15:28
normanordas15-Apr-04 15:28 
AnswerRe: Calling COM methods from a module NOT ALLOWED? Pin
Mike Dimmick16-Apr-04 0:59
Mike Dimmick16-Apr-04 0:59 
GeneralRe: Calling COM methods from a module NOT ALLOWED? Pin
normanordas16-Apr-04 3:00
normanordas16-Apr-04 3:00 
AnswerRe: Calling COM methods from a module NOT ALLOWED? Pin
Heath Stewart16-Apr-04 4:10
protectorHeath Stewart16-Apr-04 4:10 
GeneralRe: Calling COM methods from a module NOT ALLOWED? Pin
normanordas18-Apr-04 15:45
normanordas18-Apr-04 15:45 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.