Ejemplo n.º 1
0
        public void dataCollection()
        {
            TaskForm tmp = new TaskForm();
            stringElements[0] = dateTimePicker1.Text;
            stringElements[1] = descripActionRichTextBox.Text;
            intElements[0] = statusItems.Find(item => item.statusName.Contains(statusComboBox.Text)).statusId;

            intElements[1] = userItems.Find(item => item.username.Contains(executorBox.Text)).userId;

            intElements[2] = typeErrorItems.Find(item => item.typeErrorName.Contains(typeErrorBox.Text)).typeErrorId;
        }
Ejemplo n.º 2
0
        public void dataCollection()
        {
            TaskForm tmp = new TaskForm();

            stringElements[0] = dateTimePicker1.Text;
            stringElements[1] = descripActionRichTextBox.Text;
            intElements[0]    = statusItems.Find(item => item.statusName.Contains(statusComboBox.Text)).statusId;

            intElements[1] = userItems.Find(item => item.username.Contains(executorBox.Text)).userId;

            intElements[2] = typeErrorItems.Find(item => item.typeErrorName.Contains(typeErrorBox.Text)).typeErrorId;
        }