Click here to Skip to main content
15,914,820 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why am I recieving corrupt images? Pin
TimSWatson25-May-10 4:42
TimSWatson25-May-10 4:42 
Questiontext alignment problem on the image.... Pin
Nivas8224-May-10 1:40
Nivas8224-May-10 1:40 
AnswerRe: text alignment problem on the image.... Pin
Luc Pattyn24-May-10 4:43
sitebuilderLuc Pattyn24-May-10 4:43 
GeneralRe: text alignment problem on the image.... Pin
Nivas8226-May-10 22:04
Nivas8226-May-10 22:04 
GeneralRe: text alignment problem on the image.... Pin
Luc Pattyn27-May-10 3:10
sitebuilderLuc Pattyn27-May-10 3:10 
AnswerRe: text alignment problem on the image.... [modified] Pin
Nivas8228-May-10 19:31
Nivas8228-May-10 19:31 
AnswerRe: text alignment problem on the image.... Pin
Nivas8230-May-10 22:37
Nivas8230-May-10 22:37 
QuestionUnable to figure out a proper subject line. Sorry. :( Pin
dashingsidds23-May-10 23:41
dashingsidds23-May-10 23:41 
Hi Experts,

First of all sorry for not figuring out a proper subject line for the problem i am facing.

Consider that I have 3 projects with me.

1. DefineEnum
2. UseEnumInMethod
3. UseMethod

The first project defines an enum just like any other project i.e.

public enum MyEnum
{
    value1 = 0,
    value2 = 1
}


The second project i.e. "UseEnumInMethod" has a method defined in it which has the above mentioned enum as a type to its parameter as

public void UseDefinedEnums(MyEnum _enum)
{
    //Any code here.
}


I can get the "MyEnum" as a type to the parameter of the method here by adding the project reference of "DefineEnum" in project "UseEnumInMethod".

Now when i want to use the above method in my third project i.e. in "UseMethod" I have to give the reference of both the projects 1 and 2 in the 3rd project if I want to use it as follows.

public void Test()
{
    UseDefinedEnums(MyEnum.value1);
}


My question here is, is it possible to avoid giving the reference of the 1st project in the 3rd project and still avail the above functionality?

Anyone Please help!
Thanks in advance!

Regards,

Samar
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Richard MacCutchan23-May-10 23:51
mveRichard MacCutchan23-May-10 23:51 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
dashingsidds24-May-10 0:40
dashingsidds24-May-10 0:40 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
Richard MacCutchan24-May-10 1:26
mveRichard MacCutchan24-May-10 1:26 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
PIEBALDconsult24-May-10 4:32
mvePIEBALDconsult24-May-10 4:32 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
dashingsidds24-May-10 18:43
dashingsidds24-May-10 18:43 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
PIEBALDconsult25-May-10 2:40
mvePIEBALDconsult25-May-10 2:40 
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Pete O'Hanlon24-May-10 0:25
mvePete O'Hanlon24-May-10 0:25 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
dashingsidds24-May-10 0:43
dashingsidds24-May-10 0:43 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
Pete O'Hanlon24-May-10 0:49
mvePete O'Hanlon24-May-10 0:49 
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Łukasz Nowakowski24-May-10 0:51
Łukasz Nowakowski24-May-10 0:51 
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Abhinav S24-May-10 1:40
Abhinav S24-May-10 1:40 
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Kunal Chowdhury «IN»24-May-10 2:38
professionalKunal Chowdhury «IN»24-May-10 2:38 
AnswerRe: Unable to figure out a proper subject line. Sorry. :( Pin
Luc Pattyn24-May-10 4:49
sitebuilderLuc Pattyn24-May-10 4:49 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
dashingsidds24-May-10 18:31
dashingsidds24-May-10 18:31 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
Luc Pattyn24-May-10 18:40
sitebuilderLuc Pattyn24-May-10 18:40 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
dashingsidds24-May-10 18:58
dashingsidds24-May-10 18:58 
GeneralRe: Unable to figure out a proper subject line. Sorry. :( Pin
Luc Pattyn24-May-10 19:05
sitebuilderLuc Pattyn24-May-10 19:05 

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.