Пример #1
0
        private static void ConnectToCrm()
        {
            CrmLoginForm ctrl = new CrmLoginForm(false);

            ctrl.ConnectionToCrmCompleted += CtrlOnConnectionToCrmCompleted;
            ctrl.ShowDialog();
        }
Пример #2
0
        private static void ConnectToCrm()
        {
            ExLogger.LogToFile(Logger, Resource.Message_OpeningCrmLoginForm, LogLevel.Info);

            var control = new CrmLoginForm(false);

            control.ConnectionToCrmCompleted += ControlOnConnectionToCrmCompleted;
            control.ShowDialog();
        }