private bool TrySetBasic()
        {
            if (trigger == null)
            {
                return(true);
            }

            string log, source; int?id;
            bool   basic = trigger.GetBasic(out log, out source, out id);

            string sub = trigger.Subscription;

            if (string.IsNullOrEmpty(sub))
            {
                basic = true;
            }
            if (basic)
            {
                if (log != null)
                {
                    onEventLogCombo.SelectedValue = log;
                }
                else
                {
                    onEventLogCombo.SelectedIndex = -1;
                }
                onEventSourceCombo.Text = source;
                EventId = id;
            }

            return(basic);
        }
        private bool TrySetBasic()
        {
            if (trigger == null)
            {
                return(true);
            }

            string log, source; int?id;
            bool   basic = trigger.GetBasic(out log, out source, out id);

            string sub = trigger.Subscription;

            if (string.IsNullOrEmpty(sub))
            {
                basic = true;
            }
            if (basic)
            {
                onEventLogCombo.Text    = log;
                onEventSourceCombo.Text = source;
                this.EventId            = id;
            }

            return(basic);
        }