コード例 #1
0
ファイル: ActionItem.cs プロジェクト: hultqvist/Eto
		public ActionItem(BaseAction action, bool showLabel)
		{
			if (action == null) throw new ArgumentNullException("action", "Action cannot be null for an action item");
			this.Action = action;
			this.ShowLabel = showLabel;
		}
コード例 #2
0
ファイル: ActionItem.cs プロジェクト: hultqvist/Eto
		public ActionItem(BaseAction action) : this(action, false)
		{

		}