Пример #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;
		}
Пример #2
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);
        }