Posted 16 years ago
by BLANC Stéphane
-
Staubli Robotics Suite Product Manager,
STAUBLI
Version: 2.0.99
Hi,
It would be very useful to have another parameter in the constructor of a command
in order to translate the category of the command.
(like the command name thanks to the "text" parameter)
Sample :
public AddWatchCommand() :
base("Debug", "AddWatch", Resources.StrCommandAddWatch, -1) { ... }
Something like this will solve the problem :
BarButtonCommand(
string categoryKey,
string categoryText,
string nameKey,
string nameText,
int imageIndex);
Stéphane
It would be very useful to have another parameter in the constructor of a command
in order to translate the category of the command.
(like the command name thanks to the "text" parameter)
Sample :
public AddWatchCommand() :
base("Debug", "AddWatch", Resources.StrCommandAddWatch, -1) { ... }
Something like this will solve the problem :
BarButtonCommand(
string categoryKey,
string categoryText,
string nameKey,
string nameText,
int imageIndex);
Stéphane