Click here to Skip to main content
15,917,455 members
Home / Discussions / C#
   

C#

 
QuestionAccess denied... Pin
simplicitylabs15-May-07 2:31
simplicitylabs15-May-07 2:31 
AnswerRe: Access denied... Pin
sam#15-May-07 2:38
sam#15-May-07 2:38 
GeneralRe: Access denied... Pin
simplicitylabs15-May-07 2:49
simplicitylabs15-May-07 2:49 
GeneralRe: Access denied... Pin
sam#15-May-07 3:01
sam#15-May-07 3:01 
AnswerRe: Access denied... Pin
Martin#15-May-07 2:50
Martin#15-May-07 2:50 
GeneralRe: Access denied... Pin
simplicitylabs15-May-07 3:01
simplicitylabs15-May-07 3:01 
GeneralRe: Access denied... Pin
Martin#15-May-07 3:04
Martin#15-May-07 3:04 
QuestionCustom WinForm Inheritance Pin
3green15-May-07 2:27
3green15-May-07 2:27 
After lots of research I still cant find an effective way of inheriting windows forms from my custom window forms.
In Vis Studio 2005 in C#
I have a dll project MyWinFormProject which includes a customised winform "MyWinForm" and builds into MyWinFormProject.dll.
I have a seperate standard C# windows app project WindowsApplication1.
When in WindowsApplication1 I add a new inheriited form Form1 which I want to inherit from MyWinForm.
I have been trying 2 ways of doing this:
1. 'Export Template', MyWinForm from MyWinFormProject which creates a zip file. Then go through the Add Item Dialog,
but this then exposes all confidential source code of MyWinForm in Form1, which is unsuitable.
2. Go through the Add Item Dialog -> Inheritance Dialog and browse to MyWinFormProject.dll and add this as a reference and inherit
from MyWinForm in the componet list. This adds MyWinFormProject.dll to the WindowsApplication1 project bin folder. This approach works
fine until I try to add a second winform Form2 inherited from MyWinForm, then I get the error message "Uanble to Add reference......Check a different version of 'MyWinFormProject' is not already referenced.

Many thanks

Steven Spencer.
AnswerRe: Custom WinForm Inheritance Pin
Martin#15-May-07 2:34
Martin#15-May-07 2:34 
QuestionHow to load class file dynamically in C# .Net Pin
jmavn15-May-07 2:24
jmavn15-May-07 2:24 
AnswerRe: How to load class file dynamically in C# .Net Pin
Giorgi Dalakishvili15-May-07 2:29
mentorGiorgi Dalakishvili15-May-07 2:29 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 2:34
jmavn15-May-07 2:34 
GeneralRe: How to load class file dynamically in C# .Net Pin
Giorgi Dalakishvili15-May-07 2:44
mentorGiorgi Dalakishvili15-May-07 2:44 
AnswerRe: How to load class file dynamically in C# .Net Pin
Guffa15-May-07 3:03
Guffa15-May-07 3:03 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 18:20
jmavn15-May-07 18:20 
AnswerRe: How to load class file dynamically in C# .Net Pin
Guffa15-May-07 21:48
Guffa15-May-07 21:48 
GeneralRe: How to load class file dynamically in C# .Net Pin
jmavn15-May-07 18:27
jmavn15-May-07 18:27 
AnswerRe: How to load class file dynamically in C# .Net Pin
mike montagne16-May-07 6:53
mike montagne16-May-07 6:53 
Questionrepeat of gui problem in MDI Pin
barak16048715-May-07 1:36
barak16048715-May-07 1:36 
AnswerRe: repeat of gui problem in MDI Pin
Alireza Loghmani22-May-07 21:41
Alireza Loghmani22-May-07 21:41 
QuestionDisable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:22
Gavin Roberts15-May-07 1:22 
AnswerRe: Disable DataGridView auto selecting 1st row Pin
Jabeerbe15-May-07 1:39
Jabeerbe15-May-07 1:39 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:43
Gavin Roberts15-May-07 1:43 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Jabeerbe15-May-07 1:52
Jabeerbe15-May-07 1:52 
GeneralRe: Disable DataGridView auto selecting 1st row Pin
Gavin Roberts15-May-07 1:56
Gavin Roberts15-May-07 1:56 

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.