/[AnywhereTS-MSSQL]/trunk/Tools/ATSClientManager/ATSClientManager/ATSClientManager.cs
ViewVC logotype

Annotation of /trunk/Tools/ATSClientManager/ATSClientManager/ATSClientManager.cs

Parent Directory Parent Directory | Revision Log Revision Log


Revision 341 - (hide annotations) (download)
Mon Aug 27 22:56:48 2012 UTC (8 years, 3 months ago) by william
File size: 1797 byte(s)

1 william 315 using System;
2     using System.Collections.Generic;
3     using System.ComponentModel;
4     using System.Data;
5     using System.Drawing;
6     using System.Linq;
7     using System.Text;
8     using System.Windows.Forms;
9    
10 william 334 namespace AnywhereTS.ATSClientManager
11 william 315 {
12 william 328 public partial class ATSClientManager : Form
13 william 315 {
14 william 328 public ATSClientManager()
15 william 315 {
16     InitializeComponent();
17     }
18 william 335
19 william 340 private void mnuItemExit_Click(object sender, EventArgs e)
20     {
21     this.Close();
22     }
23    
24 william 335 private void ATSClientManager_Shown(object sender, EventArgs e)
25     {
26     }
27 william 340
28     private void mnuItemOpenClientFolder_Click(object sender, EventArgs e)
29     {
30     DialogResult result = ClientFolderChooser.ShowDialog();
31     if (result != DialogResult.OK) return;
32    
33     string path = ClientFolderChooser.SelectedPath;
34     Logging.ATSClientManagerLog.InfoFormat("Processing Client Files in Folder: {0}", path);
35    
36 william 341 var clientfiles = ATSClientFilesCollection.GetClientFilesInPath(path);
37     //foreach (var clientfile in clientfiles)
38     //{
39     // Logging.ATSClientManagerLog.InfoFormat("ClientFile: {0}", clientfile.ToString());
40     //}
41     IATSClientFile config = clientfiles[ATSClientFileTypes.ClientConfig];
42     Logging.ATSClientManagerLog.InfoFormat("{0}", config.ToString());
43     IATSClientFile boot = clientfiles[ATSClientFileTypes.ClientBootKernel];
44     Logging.ATSClientManagerLog.InfoFormat("{0}", boot.ToString());
45     IATSClientFile fs = clientfiles[ATSClientFileTypes.ClientFileSystem];
46     Logging.ATSClientManagerLog.InfoFormat("{0}", fs.ToString());
47 william 340 }
48    
49    
50 william 315 }
51     }

  ViewVC Help
Powered by ViewVC 1.1.22