예제 #1
0
        /// <summary>
        /// 
        /// </summary>
        private void ShowAcknowledgementWindow()
        {
            if (listEvents.SelectedObjects.Count == 0)
            {
                return;
            }

            var list = listEvents.SelectedObjects.Cast<Event>().ToList();

            Signature rule = (Signature)cboRule.Items[cboRule.SelectedIndex];
            using (FormAcknowledgment formAcknowledgement = new FormAcknowledgment(_acknowledgmentClasses, list, rule.Text, _initials))
            {
                if (formAcknowledgement.ShowDialog(this) == DialogResult.OK)
                {
                    LoadRuleEvents(_currentPage);
                    _initials = formAcknowledgement.Initials;
                }
            }
        }
예제 #2
0
        /// <summary>
        /// 
        /// </summary>
        private void ShowAcknowledgementWindow()
        {
            if (listEvents.SelectedObjects.Count == 0)
            {
                return;
            }

            var list = listEvents.SelectedObjects.Cast<Event>().ToList();

            using (FormAcknowledgment formAcknowledgement = new FormAcknowledgment(_acknowledgmentClasses, list, "N/A", _initials))
            {
                if (formAcknowledgement.ShowDialog(this) == DialogResult.OK)
                {
                    LoadEvents(_currentPage);
                    _initials = formAcknowledgement.Initials;
                }
            }
        }