public void UpdateNewValue()
        {
            this.qgroup.SetLabel(this.textBoxX1.Text);
            List<Parser.QuestionListItem> items = this.qgroup.GetListItems();
            items.Clear();

            foreach (DataGridViewRow row in this.dataGridViewX1.Rows)
            {
                if (!row.IsNewRow)
                {
                    Parser.QuestionListItem item = new Parser.QuestionListItem();
                    item.SetLabel((row.Cells[0].Value == null) ? "" : row.Cells[0].Value.ToString());
                    item.Selected = (row.Cells[1].Value==null) ? false : (bool)row.Cells[1].Value;
                    item.HasText = (row.Cells[2].Value ==null) ? false : (bool)row.Cells[2].Value;
                    items.Add(item);
                }
            }
        }
        public void UpdateNewValue()
        {
            this.qgroup.SetLabel(this.textBoxX1.Text);
            List <Parser.QuestionListItem> items = this.qgroup.GetListItems();

            items.Clear();

            foreach (DataGridViewRow row in this.dataGridViewX1.Rows)
            {
                if (!row.IsNewRow)
                {
                    Parser.QuestionListItem item = new Parser.QuestionListItem();
                    item.SetLabel((row.Cells[0].Value == null) ? "" : row.Cells[0].Value.ToString());
                    item.Selected = (row.Cells[1].Value == null) ? false : (bool)row.Cells[1].Value;
                    item.HasText  = (row.Cells[2].Value == null) ? false : (bool)row.Cells[2].Value;
                    items.Add(item);
                }
            }
        }