private static void ConnectToCrm() { CrmLoginForm ctrl = new CrmLoginForm(false); ctrl.ConnectionToCrmCompleted += CtrlOnConnectionToCrmCompleted; ctrl.ShowDialog(); }
private static void ConnectToCrm() { ExLogger.LogToFile(Logger, Resource.Message_OpeningCrmLoginForm, LogLevel.Info); var control = new CrmLoginForm(false); control.ConnectionToCrmCompleted += ControlOnConnectionToCrmCompleted; control.ShowDialog(); }