'ImmoPro.global' does not contain a definition for 'test'
From: Jonas Knaus (jonas_knaus_at_hotmail.com)
Date: 03/02/04
- Next message: Alexander Moshe: "Re: Namespace Problem"
- Previous message: Simon Gorski: "Re: virtual / override / new"
- Next in thread: Thomas Scheidegger [MVP]: "Re: 'ImmoPro.global' does not contain a definition for 'test'"
- Reply: Thomas Scheidegger [MVP]: "Re: 'ImmoPro.global' does not contain a definition for 'test'"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Mar 2004 22:07:53 +0100
Kann mir jemand helfen beim zusammensetzen einer Variablen wie hier?
global.test gibt es in wirklichkeit auch nicht...jedoch möchte ich das ganze
Dynamisch so wie im beispiel ersichtlich. Gibt es da Alternativen?
//Button auf Enabled setzen, jedoch nur, wenn die nötigen Rechte vorhanden
sind
public bool NeuEnablen()
{
string test = "BoolRecht"+global.StrAktiverDialog+"Neu";
if (global.test == false)
{
return false;
}
else
{
return true;
}
}
- Next message: Alexander Moshe: "Re: Namespace Problem"
- Previous message: Simon Gorski: "Re: virtual / override / new"
- Next in thread: Thomas Scheidegger [MVP]: "Re: 'ImmoPro.global' does not contain a definition for 'test'"
- Reply: Thomas Scheidegger [MVP]: "Re: 'ImmoPro.global' does not contain a definition for 'test'"
- Messages sorted by: [ date ] [ thread ]