private void FilesManagerControl_Load(object sender, EventArgs e) { try { m_Ftp = new FTPControllerForFilesManager(); m_Ftp.OnDownloadProcess += M_Ftp_OnDownloadProcess; m_Ftp.OnDownloadComplete += M_Ftp_OnDownloadComplete; m_Ftp.OnUploadCompleted += M_Ftp_OnUploadCompleted; m_Ftp.OnUploadProcess += M_Ftp_OnUploadProcess; LoadData(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; } catch (Exception ex) { Log.OutputBox(ex); } }
public DangerResourceLocationControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }
public VisualMonitorSettingControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }
public UpdateInfomationControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }
public FlyRouteControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }
/// <summary> /// Constructor /// </summary> /// <param name="args"></param> /// <param name="application"></param> protected internal RisDesktopWindow(DesktopWindowCreationArgs args, Desktop.Application application) : base(args, application) { // set the current session before attempting to access other services, as these will require authentication LoginSession.Create(SessionManager.FacilityCode); }
/// <summary> /// Creates a new desktop window for the specified arguments. /// </summary> /// <param name="args">Arguments that control the creation of the desktop window.</param> /// <param name="application">The application with which the window is associated.</param> /// <returns>A new desktop window instance.</returns> public DesktopWindow CreateWindow(DesktopWindowCreationArgs args, Desktop.Application application) { return(new RisDesktopWindow(args, application)); }
public UploadDeviceFileControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }
public DeviceTypeManagerControl() { InitializeComponent(); m_Application = Desktop.Application.ActiveApplication; m_Application.Workspace.Closed += Workspace_Closed; }