Back to OIM Explorer

QER.Forms/QER.Forms/FormITShopQueryAnswer.cs

Decompiler Source FileQER.Forms.FormITShopQueryAnswerDecompiled Source

1 extracted method/event/call references in FormITShopQueryAnswer.

Source: F:\Claude\.tmp\oim-decompiled-full\0994_One_Identity_Manager_QER.Forms.dll\QER.Forms\FormITShopQueryAnswer.cs

Source size: 3.024 characters

Interpretation

  • Decompiled source file. Use method/event registrations and call-site extraction to connect back to DialogMethod, QBMEvent, and API layers.

Relations

  • CallMethod: AnswerFromPerson at line 89

Typed Edges

  • No typed edges extracted for this source.

References

  • No direct source references extracted.

Referenced By

  • No direct source references extracted.

C# source-derived context

Generated by pattern extraction from the decompiled C# source and decompile index. This is factual source evidence, not inferred behavior.

references DB/Dialog objects IT Shop related markers

Summary: classes FormITShopQueryAnswer; methods OnInit, InitializeComponent, OnFormLoad, MainActivator_OnActivating, ButtonAnswer_Click; references Person, PersonWantsOrg, PWODecisionRule, PWOHelperPWO; markers references DB/Dialog objects, IT Shop related markers

Classes

FormITShopQueryAnswer

OIM key/entity markers

UID_PWODecisionRule UID_PersonWantsOrg

API/entity calls

Source User

Registrations / handlers

None extracted.

Complete Source

C#106 lines
1using System;2using VI.Base;3using VI.Controls;4using VI.Controls.Interfaces;5using VI.DB;6using VI.DB.Entities;7using VI.DB.Sync;8using VI.FormBase;9using VI.FormCustomizers;10using VI.FormTools;1112namespace QER.Forms;1314public class FormITShopQueryAnswer : BaseCustomizer15{16	private IActivatorComponent m_activatorComponent1;1718	private IActivatorComponent m_MainActivator;1920	private IButton m_ButtonAnswer;2122	private IEdit m_EditAnwser;2324	private IEdit m_EditQuery;2526	private IHorizFormBar m_FormHeader;2728	private ILinkComboBox m_FKLinkUIDPersonHead;2930	private IVIPanel m_MainPanel;3132	protected override void OnInit()33	{34		base.OnInit();35		try36		{37			m_activatorComponent1 = base.Form.GetComponent<IActivatorComponent>("activatorComponent1");38			m_ButtonAnswer = base.Form.GetControl<IButton>("ButtonAnswer");39			m_EditAnwser = base.Form.GetControl<IEdit>("EditAnwser");40			m_EditQuery = base.Form.GetControl<IEdit>("EditQuery");41			m_FKLinkUIDPersonHead = base.Form.GetControl<ILinkComboBox>("FKLinkUIDPersonHead");42			m_FormHeader = base.Form.GetControl<IHorizFormBar>("FormHeader");43			m_MainActivator = base.Form.GetComponent<IActivatorComponent>("MainActivator");44			m_MainPanel = base.Form.GetControl<IVIPanel>("MainPanel");45		}46		catch (System.Exception innerException)47		{48			throw new FormCustomizerException(874825, innerException, ((object)this).ToString());49		}50	}5152	private void InitializeComponent()53	{54	}5556	protected override void OnFormLoad()57	{58		try59		{60			m_EditAnwser.Text = "";61			m_EditQuery.Text = "";62		}63		catch (System.Exception exception)64		{65			ExceptionMgr.Instance.HandleException(exception, this);66		}67	}6869	private void MainActivator_OnActivating(object sender, EventArgs e)70	{71		m_EditQuery.Text = "";72		m_EditAnwser.Text = "";73		m_ButtonAnswer.Enabled = true;74		ISingleDbObject dbObject = m_MainActivator.DbObject;75		if (dbObject != null)76		{77			ISqlFormatter sqlFormatter = base.SqlFormatter;78			m_EditQuery.Text = base.Session.Source().GetSingleValue<string>("PwoHelperPwo", "ReasonHead", sqlFormatter.AndRelation("UID_PWODecisionRule IN (SELECT UID_PWODecisionRule FROM PWODecisionRule WHERE " + sqlFormatter.Comparison("DecisionRule", "QP", ValType.String) + " )", sqlFormatter.UidComparison("UID_PersonWantsOrg", dbObject.GetValueSafe("UID_PersonWantsOrg", "---"))));79		}80	}8182	private void ButtonAnswer_Click(object sender, EventArgs e)83	{84		try85		{86			ISingleDbObject dbObject = m_MainActivator.DbObject;87			if (dbObject != null)88			{89				dbObject.Custom.CallMethod("AnswerFromPerson", base.Session.User().Uid, m_EditAnwser.Text);90				dbObject.Save();91				dbObject.Load();92				if (AppData.Instance.AppType == AppType.Web)93				{94					FormTool.ShowMessage("QER_FormITShopQueryAnswer_Message_AnswerSent");95					m_ButtonAnswer.Enabled = false;96				}97				CloseForm();98			}99		}100		catch (System.Exception exception)101		{102			ExceptionMgr.Instance.HandleException(exception, this);103		}104	}105}106