Example #1
0
        static void OnToolbarStyle(object obj, ChangedArgs args)
        {
            RadioAction  action = (RadioAction)obj;
            ToolbarStyle style  = (ToolbarStyle)action.CurrentValue;

            toolbar.ToolbarStyle = style;
        }
Example #2
0
 public MmcButton(int bitmap, int commandId, ToolbarButtonState state, ToolbarStyle type, string buttonText, string tooltipText)
 {
     Bitmap      = bitmap;
     CommandId   = commandId;
     State       = (byte)state;
     Type        = (byte)type;
     ButtonText  = buttonText;
     TooltipText = tooltipText;
 }
Example #3
0
 private void ToolBarMode(ToolbarStyle style)
 {
     if (CurrentUserSettings.Settings.ToolbarStyle != style)
     {
         CurrentUserSettings.Settings.ToolbarStyle = style;
         CurrentUserSettings.SaveSettings();
     }
     toolbarMain.ToolbarStyle        = style;
     ActionIconsExtraSmall.Sensitive = ActionIconsSmall.Sensitive = ActionIconsMiddle.Sensitive = ActionIconsLarge.Sensitive =
         style != ToolbarStyle.Text;
 }
Example #4
0
 private void ToolBarMode(ToolbarStyle style)
 {
     if(CurrentUserSettings.Settings.ToolbarStyle != style)
     {
         CurrentUserSettings.Settings.ToolbarStyle = style;
         CurrentUserSettings.SaveSettings();
     }
     toolbarMain.ToolbarStyle = style;
     ActionIconsExtraSmall.Sensitive = ActionIconsSmall.Sensitive = ActionIconsMiddle.Sensitive = ActionIconsLarge.Sensitive =
         style != ToolbarStyle.Text;
 }