Beispiel #1
0
 protected YutaiCommand()
 {
     _itemType                    = RibbonItemType.Tool;
     _textImageRelationYt         = TextImageRelationYT.ImageAboveText;
     _displayStyleYt              = DisplayStyleYT.ImageAndText;
     _toolStripItemImageScalingYt = ToolStripItemImageScalingYT.None;
     ToolStripLayoutStyleYT       = ToolStripLayoutStyleYT.Flow;
     _panelRowCount               = 1;
     _needUpdateEvent             = false;
 }
Beispiel #2
0
 protected YutaiCommand(string category, string key, string name, string caption, string tooltip, string message)
 {
     this.m_name                  = name;
     this.m_message               = message;
     this.m_caption               = caption;
     this.m_category              = category;
     this.m_toolTip               = tooltip;
     this._key                    = key;
     _itemType                    = RibbonItemType.Tool;
     _textImageRelationYt         = TextImageRelationYT.ImageAboveText;
     _displayStyleYt              = DisplayStyleYT.ImageAndText;
     _toolStripItemImageScalingYt = ToolStripItemImageScalingYT.None;
     ToolStripLayoutStyleYT       = ToolStripLayoutStyleYT.Flow;
     _panelRowCount               = 1;
     _needUpdateEvent             = false;
 }
Beispiel #3
0
 protected YutaiCommand(System.Drawing.Bitmap bitmap, string caption, string category, int helpContextId,
                        string helpFile, string message, string name, string toolTip)
 {
     this.m_bitmap                = bitmap;
     this.m_name                  = name;
     this.m_message               = message;
     this.m_caption               = caption;
     this.m_category              = category;
     this.m_toolTip               = toolTip;
     this.m_helpID                = helpContextId;
     this.m_helpFile              = helpFile;
     _textImageRelationYt         = TextImageRelationYT.ImageAboveText;
     _displayStyleYt              = DisplayStyleYT.ImageAndText;
     _toolStripItemImageScalingYt = ToolStripItemImageScalingYT.None;
     ToolStripLayoutStyleYT       = ToolStripLayoutStyleYT.Flow;
     _panelRowCount               = 1;
     this._itemType               = RibbonItemType.Tool;
     _needUpdateEvent             = false;
 }