示例#1
0
		public static ShowTaskListTokenButton[] BuildItems(string[] tokens)
		{
			ShowTaskListTokenButton[] buttons = new ShowTaskListTokenButton[tokens.Length];
			
			for (int i = 0; i < buttons.Length; i++)
			{
				buttons[i] = new ShowTaskListTokenButton(tokens[i]);
			}
			
			return buttons;
		}
        public static ShowTaskListTokenButton[] BuildItems(string[] tokens)
        {
            ShowTaskListTokenButton[] buttons = new ShowTaskListTokenButton[tokens.Length];

            for (int i = 0; i < buttons.Length; i++)
            {
                buttons[i] = new ShowTaskListTokenButton(tokens[i]);
            }

            return(buttons);
        }