Ejemplo n.º 1
0
        private void textDevNote_Leave(object sender, EventArgs e)
        {
            if (_subCur.DevNote == textDevNote.Text)
            {
                return;
            }
            BugSubmission subOld = _subCur.Copy();

            _subCur.DevNote = textDevNote.Text;
            BugSubmissions.Update(_subCur, subOld);
            TextDevNoteLeave?.Invoke(sender, e);
        }
Ejemplo n.º 2
0
        ///<summary>Adds a deep copy of the first bug submission from listGroupedSubmissions to listGridSubmissions.
        ///Preserves the group of bug submissions by setting the TagCustom to a shallow copy of listGroupedSubmissions.</summary>
        private void AddGroupedSubsToGridSubs(List <BugSubmission> listGridSubmissions, List <BugSubmission> listGroupedSubmissions)
        {
            if (listGridSubmissions == null || listGroupedSubmissions == null || listGroupedSubmissions.Count < 1)
            {
                return;
            }
            BugSubmission bugSubmissionFirst = listGroupedSubmissions.First();

            bugSubmissionFirst.TagCustom = listGroupedSubmissions;
            listGridSubmissions.Add(bugSubmissionFirst.Copy());
        }