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

Contents of /trunk/Tools/ATSClientManager/ATSClientManager/ATSClientManager.cs

Parent Directory Parent Directory | Revision Log Revision Log


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

1 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 namespace AnywhereTS.ATSClientManager
11 {
12 public partial class ATSClientManager : Form
13 {
14 public ATSClientManager()
15 {
16 InitializeComponent();
17 }
18
19 private void mnuItemExit_Click(object sender, EventArgs e)
20 {
21 this.Close();
22 }
23
24 private void ATSClientManager_Shown(object sender, EventArgs e)
25 {
26 }
27
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 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 }
48
49
50 }
51 }

  ViewVC Help
Powered by ViewVC 1.1.22