コード例 #1
0
        private void lookinList_SelectedIndexChanged(object sender, EventArgs e)
        {
            FindingScope scope = (lookinList.SelectedIndex == 0) ? FindingScope.CurrentLoadedActivities : FindingScope.CurrentLoadedTraces;

            if (parentForm != null)
            {
                parentForm.SyncFindingOptions(scope, this);
            }
        }
コード例 #2
0
        internal void UpdateFindOptions(FindingScope scope)
        {
            switch (scope)
            {
            case FindingScope.CurrentLoadedActivities:
                lookinList.SelectedIndex = 0;
                break;

            case FindingScope.CurrentLoadedTraces:
                lookinList.SelectedIndex = 1;
                break;
            }
        }