Ejemplo n.º 1
0
		///<summary>Creates a new separator style ODToolBarButton.</summary>
		public ODToolBarButton(ODToolBarButtonStyle buttonStyle){
			style=buttonStyle;
			state=ToolBarButtonState.Normal;
			imageIndex=-1;
			text="";
			toolTipText="";
			tag="";
		}
Ejemplo n.º 2
0
		///<summary>Creates a new ODToolBarButton with the given text.</summary>
		public ODToolBarButton(string buttonText,int buttonImageIndex,string buttonToolTip,Object buttonTag){
			style=ODToolBarButtonStyle.PushButton;
			state=ToolBarButtonState.Normal;
			imageIndex=buttonImageIndex;
			text=buttonText;
			toolTipText=buttonToolTip;
			tag=buttonTag;
		}
Ejemplo n.º 3
0
		///<summary>Creates a new ODToolBarButton.</summary>
		public ODToolBarButton(){
			style=ODToolBarButtonStyle.PushButton;
			state=ToolBarButtonState.Normal;
			imageIndex=-1;
			text="";
			toolTipText="";
			tag="";
		}
Ejemplo n.º 4
0
 ///<summary>Creates a new PageNav ODToolBarButton.</summary>
 public ODToolBarButton(int pageVal, int pageMax, string buttonToolTip, Object buttonTag)
 {
     style       = ODToolBarButtonStyle.PageNav;
     state       = ToolBarButtonState.Normal;
     imageIndex  = -1;
     text        = "/";
     toolTipText = buttonToolTip;
     tag         = buttonTag;
 }
Ejemplo n.º 5
0
 ///<summary>Creates a new separator style ODToolBarButton.</summary>
 public ODToolBarButton(ODToolBarButtonStyle buttonStyle)
 {
     style       = buttonStyle;
     state       = ToolBarButtonState.Normal;
     imageIndex  = -1;
     text        = "";
     toolTipText = "";
     tag         = "";
 }
Ejemplo n.º 6
0
 ///<summary>Creates a new ODToolBarButton with the given text.
 ///buttonTag will be a string for module specific buttons and will be a Program object for program link buttons.</summary>
 public ODToolBarButton(string buttonText, int buttonImageIndex, string buttonToolTip, Object buttonTag)
 {
     style       = ODToolBarButtonStyle.PushButton;
     state       = ToolBarButtonState.Normal;
     imageIndex  = buttonImageIndex;
     text        = buttonText;
     toolTipText = buttonToolTip;
     tag         = buttonTag;
 }
Ejemplo n.º 7
0
 ///<summary>Creates a new ODToolBarButton.</summary>
 public ODToolBarButton()
 {
     style       = ODToolBarButtonStyle.PushButton;
     state       = ToolBarButtonState.Normal;
     imageIndex  = -1;
     text        = "";
     toolTipText = "";
     tag         = "";
 }