Пример #1
0
 public static double getDisplayedMnemonicIndex(Label label)
 {
     if (displayedMnemonicIndex.Contains(label.GetHashCode()))
         return (int) displayedMnemonicIndex[label.GetHashCode()];
     else
         return -1;
 }
Пример #2
0
 public static int getDisplayedMnemonic(Label label)
 {
     if (displayedMnemonic.Contains(label.GetHashCode()))
         return (char) displayedMnemonic[label.GetHashCode()];
     else
         return 0;
 }
Пример #3
0
 public static int getHorizontalAlignment(Label label)
 {
     return (int) horizentalAlignment[label.GetHashCode()];
 }
Пример #4
0
 public static void setHorizontalAlignment(Label label, int alignment)
 {
     horizentalAlignment[label.GetHashCode()] = alignment;
 }
Пример #5
0
 public static void setDisplayedMnemonicIndex(Label label, int index)
 {
     displayedMnemonicIndex.Add(label.GetHashCode(), index);
 }
Пример #6
0
 public static void setDisplayedMnemonic(Label label, char c)
 {
     displayedMnemonic.Add(label.GetHashCode(), Char.ToUpper(c));
 }