コード例 #1
0
 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);
     }
 }
コード例 #2
0
 public DangerResourceLocationControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }
コード例 #3
0
 public VisualMonitorSettingControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }
コード例 #4
0
 public UpdateInfomationControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }
コード例 #5
0
 public FlyRouteControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }
コード例 #6
0
ファイル: RisDesktopWindow.cs プロジェクト: hksonngan/Xian
 /// <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);
 }
コード例 #7
0
ファイル: RisDesktopWindow.cs プロジェクト: hksonngan/Xian
 /// <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));
 }
コード例 #8
0
 public UploadDeviceFileControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }
コード例 #9
0
 public DeviceTypeManagerControl()
 {
     InitializeComponent();
     m_Application = Desktop.Application.ActiveApplication;
     m_Application.Workspace.Closed += Workspace_Closed;
 }