Пример #1
0
        public void onLoadSessionDataFromFile(String pSessionName)
        {
            if (InvokeRequired)
            {
                BeginInvoke(new onLoadSessionDataFromFileDelegate(onLoadSessionDataFromFile), new object[] { pSessionName });
                return;
            } // if (InvokeRequired)


            try
            {
                onResetPlugin();
            }
            catch (Exception lEx)
            {
                cPluginParams.HostApplication.LogMessage(String.Format("{0}: {1}", Config.PluginName, lEx.Message));
            }

            try
            {
                cTask.loadSessionData(pSessionName);
            }
            catch (Exception lEx)
            {
                cPluginParams.HostApplication.LogMessage(String.Format("{0}: {1}", Config.PluginName, lEx.Message));
            }
        }