public HPanelTepCommon(IPlugIn plugIn) : base(13, 13) { this._iFuncPlugin = plugIn; ////Создать объект "словарь" дочерних элементов управления //m_dictControls = new Dictionary<int, Control>(); InitializeComponent(); m_handlerDb = createHandlerDb(); m_id_panel = findMyID(); m_dictProfile = new HTepUsers.DictElement(); }
public void Start(object obj) { //try //{ // if (this.IsHandleCreated == true) // //if (this.InvokeRequired == true) // this.BeginInvoke(new DelegateObjectFunc(initialize), obj); // else // ; //} //catch (Exception e) //{ // Logging.Logg().Exception(e, @"HPanelEdit::Initialize () - BeginInvoke (initialize) - ...", Logging.INDEX_MESSAGE.NOT_SET); //} Start(); //m_handlerDb.InitConnectionSettings(((EventArgsDataHost)obj).par[0] as ConnectionSettings); m_handlerDb.InitConnectionSettings(obj as ConnectionSettings); HTepUsers.HTepProfilesXml.UpdateProfile(m_handlerDb.ConnectionSettings); m_dictProfile = HTepUsers.HTepProfilesXml.GetProfileUserPanel(HTepUsers.Id, HTepUsers.Role, m_id_panel); }