Initial Commit
This commit is contained in:
8
TomcatServer/MSLMobileMini/App.xaml
Normal file
8
TomcatServer/MSLMobileMini/App.xaml
Normal file
@@ -0,0 +1,8 @@
|
||||
<Application x:Class="MSLMobile.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="HiddenMainWindow.xaml" Startup="Application_Startup" Exit="Application_Exit">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
116
TomcatServer/MSLMobileMini/App.xaml.cs
Normal file
116
TomcatServer/MSLMobileMini/App.xaml.cs
Normal file
@@ -0,0 +1,116 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Windows;
|
||||
//using Installables.All;
|
||||
//using Yaulw.Other;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
|
||||
namespace MSLMobile
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
/// <summary>
|
||||
/// Main Application Object
|
||||
/// </summary>
|
||||
public App()
|
||||
{
|
||||
// Make sure all embedded Assemblies get loaded
|
||||
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(CurrentDomain_AssemblyResolve);
|
||||
AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||
}
|
||||
|
||||
#region Application Startup N' Exit
|
||||
|
||||
/// <summary>
|
||||
/// Application_Startup
|
||||
/// </summary>
|
||||
private void Application_Startup(object sender, StartupEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application_Exit
|
||||
/// </summary>
|
||||
private void Application_Exit(object sender, ExitEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Unhandled Expections! IMP - Show WinForm and Log
|
||||
|
||||
/// <summary>
|
||||
/// * Generic Unhandled Exception Handler *
|
||||
/// Handles all unhandled Exceptions for the Entire AppDomain.
|
||||
/// First Show a Window Message Box, so that we can for sure capture the message
|
||||
/// Second Log it
|
||||
/// </summary>
|
||||
private void CurrentDomain_UnhandledException(object sender, UnhandledExceptionEventArgs e)
|
||||
{
|
||||
Exception ex = (Exception)e.ExceptionObject;
|
||||
|
||||
// Exeption to capture error information
|
||||
string exceptionMessage = "Setup will exit.\n";
|
||||
exceptionMessage += ex.Message + "\n\n";
|
||||
if (!String.IsNullOrEmpty(ex.StackTrace))
|
||||
exceptionMessage += ex.StackTrace.Substring(0, 880) + "\n\n";
|
||||
if (!String.IsNullOrEmpty(ex.InnerException.Message))
|
||||
exceptionMessage += ex.InnerException.Message + "\n\n";
|
||||
if (!String.IsNullOrEmpty(ex.Source))
|
||||
exceptionMessage += ex.Source + "\n\n";
|
||||
|
||||
// Show Message Box First - Guaranteed to work (Polite Exception Message)
|
||||
MessageBox.Show(exceptionMessage, "Fatal Error", MessageBoxButton.OK, MessageBoxImage.Error);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Application Multi-File Assembly Handling
|
||||
|
||||
/// <summary>
|
||||
/// A way to embed multiple dlls into one exe:
|
||||
/// http://blogs.msdn.com/b/microsoft_press/archive/2010/02/03/jeffrey-richter-excerpt-2-from-clr-via-c-third-edition.aspx
|
||||
/// </summary>
|
||||
/// <returns>a loaded assembly if found, null otherwise</returns>
|
||||
static System.Reflection.Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
String AssemblyToLookFor = (new AssemblyName(args.Name).Name + ".dll").ToLower();
|
||||
|
||||
// Note: due to the nature of click once, we must always
|
||||
// load the signed assembly not the unsigned
|
||||
//string[] parts = AssemblyToLookFor.Split('.');
|
||||
//AssemblyToLookFor = parts[0] + ".signed.dll";
|
||||
|
||||
string[] resources = Assembly.GetExecutingAssembly().GetManifestResourceNames();
|
||||
foreach (string s in resources)
|
||||
{
|
||||
if (s.ToLower().EndsWith(AssemblyToLookFor))
|
||||
{
|
||||
var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(s);
|
||||
if (stream != null)
|
||||
{
|
||||
using (stream)
|
||||
{
|
||||
Byte[] assemblyData = new Byte[stream.Length];
|
||||
stream.Read(assemblyData, 0, assemblyData.Length);
|
||||
return Assembly.Load(assemblyData);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
BIN
TomcatServer/MSLMobileMini/Bridge.ico
Normal file
BIN
TomcatServer/MSLMobileMini/Bridge.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
TomcatServer/MSLMobileMini/Components/CrossProduct.Core.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/CrossProduct.Core.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/DiagnoseMobile.exe
Normal file
BIN
TomcatServer/MSLMobileMini/Components/DiagnoseMobile.exe
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/Pluto.MSL.Api.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/Pluto.MSL.Api.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/PlutoServer.MSL.exe
Normal file
BIN
TomcatServer/MSLMobileMini/Components/PlutoServer.MSL.exe
Normal file
Binary file not shown.
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v2.0.50727"/>
|
||||
</startup>
|
||||
<appSettings>
|
||||
<add key="REGISTRATION_HOST_N_PORT_URL" value="http://ppsmobile.mckesson.com/mobile1/REGURL.htm" />
|
||||
<add key="REGISTRATION_HOST_URL" value="ppsmobile.mckesson.com" />
|
||||
<add key="REGISTRATION_CHANNEL_PORT" value="443" />
|
||||
<add key="CHECK_VERSION_URL" value="http://ppsmobile.mckesson.com/mobile1/PUBLISH.htm" />
|
||||
<add key="DOWNLOAD_SETUP_URL" value="http://ppsmobile.mckesson.com/mobile1/Setup.exe" />
|
||||
<add key="DOWNLOAD_MINISETUP_URL" value="http://ppsmobile.mckesson.com/mobile1/SetupMini.exe" />
|
||||
<add key="DETERMINE_EXTERNAL_IP_ADDRESS_URL" value="http://ppsmobile.mckesson.com/GetIP/default.aspx" />
|
||||
</appSettings>
|
||||
</configuration>
|
||||
BIN
TomcatServer/MSLMobileMini/Components/RegistrationAPI.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/RegistrationAPI.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/TCMPortMapper.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/TCMPortMapper.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/Yaulw.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/Yaulw.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/log4net.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/log4net.dll
Normal file
Binary file not shown.
BIN
TomcatServer/MSLMobileMini/Components/sdaleo.dll
Normal file
BIN
TomcatServer/MSLMobileMini/Components/sdaleo.dll
Normal file
Binary file not shown.
8
TomcatServer/MSLMobileMini/HiddenMainWindow.xaml
Normal file
8
TomcatServer/MSLMobileMini/HiddenMainWindow.xaml
Normal file
@@ -0,0 +1,8 @@
|
||||
<Window x:Class="MSLMobile.HiddenMainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="HiddenMainWindow" Height="25" Width="116" Loaded="Window_Loaded" WindowState="Minimized" WindowStyle="None" ShowInTaskbar="False" ResizeMode="NoResize" AllowsTransparency="True" Opacity="0" Visibility="Hidden" ShowActivated="False" IsTabStop="False">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
||||
121
TomcatServer/MSLMobileMini/HiddenMainWindow.xaml.cs
Normal file
121
TomcatServer/MSLMobileMini/HiddenMainWindow.xaml.cs
Normal file
@@ -0,0 +1,121 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Shapes;
|
||||
using Yaulw.WPF;
|
||||
using System.Reflection;
|
||||
using System.Diagnostics;
|
||||
using System.IO;
|
||||
|
||||
namespace MSLMobile
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for HiddenMainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class HiddenMainWindow : Window
|
||||
{
|
||||
|
||||
KeepHidden _keepHidden = null;
|
||||
public HiddenMainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
_keepHidden = new KeepHidden(this);
|
||||
_keepHidden.Show();
|
||||
}
|
||||
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
const string SERVICE_NAME = "McKesson MSL Mobile Api Server";
|
||||
const string FOLDER_NAME = "McKesson Mobile Api";
|
||||
string Result = "";
|
||||
|
||||
// Stop the service if it exists
|
||||
Yaulw.Installer.Common.StopService(SERVICE_NAME, 30);
|
||||
|
||||
// Make sure to kill all instances of DiagnoseMobile.exe (We will update it)
|
||||
Process[] diagnoseMobiles = Yaulw.Process.ProcessW.AllRunningProcessesOf("DiagnoseMobile");
|
||||
foreach (Process p in diagnoseMobiles)
|
||||
Yaulw.Process.PStarter.KillProcess((uint) p.Id, false, 10, false, 0);
|
||||
|
||||
// Get DestPath
|
||||
string ProgramFiles = Yaulw.Installer.Common.GetProgramFilesPathOnSystemWithEndSlash();
|
||||
string DestPath = ProgramFiles + FOLDER_NAME;
|
||||
if (!System.IO.Directory.Exists(DestPath))
|
||||
{
|
||||
System.IO.Directory.CreateDirectory(DestPath);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Delete the whole on a new Setup! (from scratch re-install) - not done in Mini Setup
|
||||
//Directory.Delete(DestPath);
|
||||
//System.IO.Directory.CreateDirectory(DestPath);
|
||||
}
|
||||
|
||||
// Extract All Resources to corresponding Programs Folder
|
||||
string[] resources = Assembly.GetExecutingAssembly().GetManifestResourceNames();
|
||||
foreach (string s in resources)
|
||||
{
|
||||
int nIndex = s.IndexOf("Components.");
|
||||
if (nIndex != -1)
|
||||
{
|
||||
var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(s);
|
||||
if (stream != null)
|
||||
{
|
||||
// Extract the File
|
||||
string FileName = s.Substring(nIndex + "Components.".Length);
|
||||
string FileNameNPath = DestPath + "\\" + FileName;
|
||||
Yaulw.Installer.Common.ExtractResourceStreamToFile(stream, FileNameNPath, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Install the Service
|
||||
bool bServiceExists = Yaulw.Installer.Common.ServiceExists(SERVICE_NAME);
|
||||
if (!bServiceExists)
|
||||
{
|
||||
string InstallUtil = Yaulw.Installer.Common.GetNetFrameworkUtilFileNameNPathFile("installutil.exe");
|
||||
if (!String.IsNullOrEmpty(InstallUtil))
|
||||
{
|
||||
Result = Yaulw.Installer.Common.RunCmdLine(InstallUtil + " \"" + (DestPath + "\\" + "PlutoServer.MSL.exe") + "\" /LogToConsole=true /LogFile=");
|
||||
//if (!Result.Contains("failed"))
|
||||
//{
|
||||
//}
|
||||
}
|
||||
}
|
||||
|
||||
// Open everything needed for Windows Firewall
|
||||
// http://stackoverflow.com/questions/7701667/how-to-add-outbound-windows-firewall-exception
|
||||
// http://www.rickwargo.com/2011/01/08/port-forwarding-port-mapping-on-windows-server-2008-r2/
|
||||
// http://support.microsoft.com/kb/947709
|
||||
Result = Yaulw.Installer.Common.RunCmdLine(String.Format("netsh firewall add allowedprogram \"{0}\" \"{1}\" ENABLE ALL", (DestPath + "\\" + "PlutoServer.MSL.exe"), "Pluto.MSL.Mobile"));
|
||||
Result = Yaulw.Installer.Common.RunCmdLine(String.Format("netsh firewall add allowedprogram \"{0}\" \"{1}\" ENABLE ALL", (DestPath + "\\" + "DiagnoseMobile.exe"), "DiagnoseMobile"));
|
||||
Result = Yaulw.Installer.Common.RunCmdLine("netsh firewall set portopening tcp 1945 Pluto.MSL.Mobile ENABLE ALL");
|
||||
//bSuccess = Result.Contains("successfully") || result.Contains("Ok.") || result.Contains("The service has not been started");
|
||||
|
||||
// Create a shortcut to diagnose mobile in the Start Menu
|
||||
string DiagnoseMobileExe = DestPath + "\\" + "DiagnoseMobile.exe";
|
||||
string StartMenu = Environment.GetFolderPath(Environment.SpecialFolder.StartMenu);
|
||||
// Delete the shortcut without a space in it (ugly without a space)
|
||||
if (File.Exists(StartMenu + "\\" + "DiagnoseMobile.lnk"))
|
||||
File.Delete(StartMenu + "\\" + "DiagnoseMobile.lnk");
|
||||
// Create it with a space
|
||||
Yaulw.Installer.Common.CreateFileShortcut(DiagnoseMobileExe, StartMenu + "\\" + "Diagnose Mobile.lnk");
|
||||
|
||||
// Start the Service, when done
|
||||
Yaulw.Installer.Common.StartService(SERVICE_NAME);
|
||||
|
||||
// Close this window, setup is done...
|
||||
//this.Close();
|
||||
Application.Current.Shutdown();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
42
TomcatServer/MSLMobileMini/Logger.cs
Normal file
42
TomcatServer/MSLMobileMini/Logger.cs
Normal file
@@ -0,0 +1,42 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
using Yaulw.File;
|
||||
using Yaulw.Other;
|
||||
using Yaulw.Assembly;
|
||||
|
||||
namespace MSLMobile
|
||||
{
|
||||
//public static class Logger
|
||||
//{
|
||||
// // Default Log File Settings
|
||||
// internal static readonly string LOG_NAME_APPMAIN = "SetupLog";
|
||||
// internal const int LOG_FILE_FILE_SIZE_IN_MB = 2;
|
||||
// internal const int LOG_FILE_NUM_OF_BACKUPS = 4;
|
||||
// internal static string APP_LOG_FILENAMEANDPATH = AssemblyW.SpecializedAssemblyInfo.GetAssemblyPath(AssemblyW.AssemblyST.Entry) + "\\" + "Setup.log";
|
||||
|
||||
// // Application's Main Log Object
|
||||
// internal static Logging Log = null;
|
||||
|
||||
// // Log Settings
|
||||
// private static Logging_Configuration CreateDefaultLoggingConfiguration(string LogFileNameNPath, Logging_Detail Detail, bool UseExclusiveFileLock)
|
||||
// {
|
||||
// Logging_Configuration config = new Logging_Configuration();
|
||||
// config.LogFileNameNPath = LogFileNameNPath;
|
||||
// config.maxFileSizeInMB = LOG_FILE_FILE_SIZE_IN_MB;
|
||||
// config.numOfBackupLogFiles = LOG_FILE_NUM_OF_BACKUPS;
|
||||
// config.Detail = Detail;
|
||||
// config.UseExclusiveFileLock = UseExclusiveFileLock;
|
||||
// config.Log4NetDetailPatternLayout = "%level - %message%newline";
|
||||
// return config;
|
||||
// }
|
||||
|
||||
// static Logger()
|
||||
// {
|
||||
// Log = Logging.AddGlobalLoggerConfiguration(LOG_NAME_APPMAIN, CreateDefaultLoggingConfiguration(APP_LOG_FILENAMEANDPATH, Logging_Detail.INFO, false));
|
||||
// }
|
||||
|
||||
//}
|
||||
}
|
||||
234
TomcatServer/MSLMobileMini/MSLMobileMini.csproj
Normal file
234
TomcatServer/MSLMobileMini/MSLMobileMini.csproj
Normal file
@@ -0,0 +1,234 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
|
||||
<ProductVersion>8.0.30703</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{3E73D722-5C05-4FCA-AF8C-F605F584943E}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>MSLMobile</RootNamespace>
|
||||
<AssemblyName>MSLMobileMini</AssemblyName>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<IsWebBootstrapper>true</IsWebBootstrapper>
|
||||
<PublishUrl>Publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Web</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<InstallUrl>http://services.ndchealthvar.com/mobile1/</InstallUrl>
|
||||
<UpdateUrl>http://services.ndchealthvar.com/mobile1/</UpdateUrl>
|
||||
<SupportUrl>http://www.medisoft.com/support/contactus.aspx</SupportUrl>
|
||||
<ProductName>MSLMobile</ProductName>
|
||||
<PublisherName>McKesson</PublisherName>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>default_gen.html</WebPage>
|
||||
<OpenBrowserOnPublish>false</OpenBrowserOnPublish>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.1</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>..\Target\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
|
||||
<PlatformTarget>x86</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>..\Target\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignManifests>false</SignManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestCertificateThumbprint>E81C0D2029263F884A22330BFEB4D74465665A84</ManifestCertificateThumbprint>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ManifestKeyFile>McKesson.pfx</ManifestKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<SignAssembly>false</SignAssembly>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<AssemblyOriginatorKeyFile>McKesson.pfx</AssemblyOriginatorKeyFile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<TargetZone>LocalIntranet</TargetZone>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<GenerateManifests>false</GenerateManifests>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<ApplicationManifest>Properties\app.manifest</ApplicationManifest>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="WindowsBase" />
|
||||
<Reference Include="PresentationCore" />
|
||||
<Reference Include="PresentationFramework" />
|
||||
<Reference Include="Yaulw, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\3rdParty\Sdaleo\Yaulw.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Include="App.xaml">
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
<Page Include="HiddenMainWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
<Generator>MSBuild:Compile</Generator>
|
||||
</Page>
|
||||
<Compile Include="App.xaml.cs">
|
||||
<DependentUpon>App.xaml</DependentUpon>
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="HiddenMainWindow.xaml.cs">
|
||||
<DependentUpon>HiddenMainWindow.xaml</DependentUpon>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Properties\AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Components\PlutoServer.MSL.exe.config" />
|
||||
<None Include="McKesson.pfx" />
|
||||
<None Include="Properties\app.manifest" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<AppDesigner Include="Properties\" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\Yaulw.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\log4net.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Resource Include="images\Bridge.ico" />
|
||||
<Resource Include="images\button_close.png" />
|
||||
<Resource Include="images\mckesson_logo.png" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\CrossProduct.Core.dll" />
|
||||
<EmbeddedResource Include="Components\PlutoServer.MSL.exe" />
|
||||
<EmbeddedResource Include="Components\RegistrationAPI.dll" />
|
||||
<EmbeddedResource Include="Components\TCMPortMapper.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\sdaleo.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>Windows Installer 3.1</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PublishFile Include="log4net">
|
||||
<Visible>False</Visible>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Exclude</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
<PublishFile Include="Yaulw">
|
||||
<Visible>False</Visible>
|
||||
<Group>
|
||||
</Group>
|
||||
<TargetPath>
|
||||
</TargetPath>
|
||||
<PublishState>Exclude</PublishState>
|
||||
<IncludeHash>True</IncludeHash>
|
||||
<FileType>Assembly</FileType>
|
||||
</PublishFile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\Pluto.MSL.Api.dll" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<EmbeddedResource Include="Components\DiagnoseMobile.exe" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>if $(ConfigurationName) == Release (
|
||||
copy /y "$(SolutionDir)..\3rdParty\Sdaleo\log4net.dll" "$(ProjectDir)Components\log4net.dll"
|
||||
copy /y "$(SolutionDir)..\3rdParty\Sdaleo\yaulw.dll" "$(ProjectDir)Components\yaulw.dll"
|
||||
copy /y "$(SolutionDir)..\3rdParty\Sdaleo\sdaleo.dll" "$(ProjectDir)Components\sdaleo.dll"
|
||||
copy /y "$(TargetDir)CrossProduct.Core.dll" "$(ProjectDir)Components\CrossProduct.Core.dll"
|
||||
copy /y "$(TargetDir)TCMPortMapper.dll" "$(ProjectDir)Components\TCMPortMapper.dll"
|
||||
copy /y "$(TargetDir)DiagnoseMobile.exe" "$(ProjectDir)Components\DiagnoseMobile.exe"
|
||||
copy /y "$(TargetDir)PlutoServer.MSL.exe.config" "$(ProjectDir)Components\PlutoServer.MSL.exe.config"
|
||||
"C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.exe" -file "$(TargetDir)PlutoServer.MSL.exe" -targetfile "$(ProjectDir)Components\PlutoServer.MSL.exe"
|
||||
"C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.exe" -file "$(TargetDir)RegistrationAPI.dll" -targetfile "$(ProjectDir)Components\RegistrationAPI.dll"
|
||||
"C:\Program Files (x86)\Eziriz\.NET Reactor\dotNET_Reactor.exe" -file "$(TargetDir)Pluto.MSL.Api.dll" -targetfile "$(ProjectDir)Components\Pluto.MSL.Api.dll"
|
||||
)</PreBuildEvent>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup>
|
||||
<PostBuildEvent>copy /y "$(TargetPath)" "$(TargetDir)SetupMini.exe"</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
14
TomcatServer/MSLMobileMini/MSLMobileMini.csproj.user
Normal file
14
TomcatServer/MSLMobileMini/MSLMobileMini.csproj.user
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
<PublishUrlHistory>Publish\|publish\</PublishUrlHistory>
|
||||
<InstallUrlHistory>http://services.ndchealthvar.com/mobile1/|http://www.medisoft.com/mobile1/|http://www.medisoft.com/mobile/</InstallUrlHistory>
|
||||
<SupportUrlHistory>http://www.medisoft.com/support/contactus.aspx</SupportUrlHistory>
|
||||
<UpdateUrlHistory>http://services.ndchealthvar.com/mobile1/|http://www.medisoft.com/mobile1/|http://www.medisoft.com/mobile/</UpdateUrlHistory>
|
||||
<BootstrapperUrlHistory />
|
||||
<ErrorReportUrlHistory />
|
||||
<FallbackCulture>en-US</FallbackCulture>
|
||||
<VerifyUploadedFiles>false</VerifyUploadedFiles>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
BIN
TomcatServer/MSLMobileMini/McKesson.pfx
Normal file
BIN
TomcatServer/MSLMobileMini/McKesson.pfx
Normal file
Binary file not shown.
55
TomcatServer/MSLMobileMini/Properties/AssemblyInfo.cs
Normal file
55
TomcatServer/MSLMobileMini/Properties/AssemblyInfo.cs
Normal file
@@ -0,0 +1,55 @@
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("MSLMobile")]
|
||||
[assembly: AssemblyDescription("MSLMobile Installer")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("McKesson")]
|
||||
[assembly: AssemblyProduct("MSLMobile")]
|
||||
[assembly: AssemblyCopyright("McKesson Copyright © 2012")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
//In order to begin building localizable applications, set
|
||||
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
||||
//inside a <PropertyGroup>. For example, if you are using US english
|
||||
//in your source files, set the <UICulture> to en-US. Then uncomment
|
||||
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
||||
//the line below to match the UICulture setting in the project file.
|
||||
|
||||
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
||||
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
||||
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.1")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.1")]
|
||||
63
TomcatServer/MSLMobileMini/Properties/Resources.Designer.cs
generated
Normal file
63
TomcatServer/MSLMobileMini/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.296
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MSLMobile.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MSLMobile.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
117
TomcatServer/MSLMobileMini/Properties/Resources.resx
Normal file
117
TomcatServer/MSLMobileMini/Properties/Resources.resx
Normal file
@@ -0,0 +1,117 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
26
TomcatServer/MSLMobileMini/Properties/Settings.Designer.cs
generated
Normal file
26
TomcatServer/MSLMobileMini/Properties/Settings.Designer.cs
generated
Normal file
@@ -0,0 +1,26 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.296
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace MSLMobile.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
7
TomcatServer/MSLMobileMini/Properties/Settings.settings
Normal file
7
TomcatServer/MSLMobileMini/Properties/Settings.settings
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
47
TomcatServer/MSLMobileMini/Properties/app.manifest
Normal file
47
TomcatServer/MSLMobileMini/Properties/app.manifest
Normal file
@@ -0,0 +1,47 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<asmv1:assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<assemblyIdentity version="1.0.0.0" name="MyApplication.app" />
|
||||
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
||||
<security>
|
||||
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
||||
<!-- UAC Manifest Options
|
||||
If you want to change the Windows User Account Control level replace the
|
||||
requestedExecutionLevel node with one of the following.
|
||||
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
||||
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
||||
|
||||
Specifying requestedExecutionLevel node will disable file and registry virtualization.
|
||||
If you want to utilize File and Registry Virtualization for backward
|
||||
compatibility then delete the requestedExecutionLevel node.
|
||||
-->
|
||||
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
||||
</requestedPrivileges>
|
||||
<applicationRequestMinimum>
|
||||
<defaultAssemblyRequest permissionSetReference="Custom" />
|
||||
<PermissionSet class="System.Security.PermissionSet" version="1" ID="Custom" SameSite="site" Unrestricted="true" />
|
||||
</applicationRequestMinimum>
|
||||
</security>
|
||||
</trustInfo>
|
||||
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
||||
<application>
|
||||
<!-- A list of all Windows versions that this application is designed to work with. Windows will automatically select the most compatible environment.-->
|
||||
<!-- If your application is designed to work with Windows 7, uncomment the following supportedOS node-->
|
||||
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>-->
|
||||
</application>
|
||||
</compatibility>
|
||||
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
||||
<!-- <dependency>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity
|
||||
type="win32"
|
||||
name="Microsoft.Windows.Common-Controls"
|
||||
version="6.0.0.0"
|
||||
processorArchitecture="*"
|
||||
publicKeyToken="6595b64144ccf1df"
|
||||
language="*"
|
||||
/>
|
||||
</dependentAssembly>
|
||||
</dependency>-->
|
||||
</asmv1:assembly>
|
||||
31
TomcatServer/MSLMobileMini/SetupMainWindow.xaml
Normal file
31
TomcatServer/MSLMobileMini/SetupMainWindow.xaml
Normal file
@@ -0,0 +1,31 @@
|
||||
<Window x:Class="MSLMobile.SetupMainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Loaded="Window_Loaded" Closed="Window_Closed" BorderBrush="Black" BorderThickness="1" Icon="Bridge.ico"
|
||||
Title="SetupMainWindow" Height="440" Width="600" ResizeMode="NoResize" WindowStyle="None" ShowInTaskbar="True" Topmost="False" WindowStartupLocation="CenterScreen"
|
||||
MouseDown="Window_MouseDown" Closing="Window_Closing">
|
||||
<Grid>
|
||||
<!-- Close Button -->
|
||||
<Button Background="Transparent" BorderThickness="0" BorderBrush="Transparent" Height="24" Width="24" HorizontalAlignment="Right" Margin="0,0,0,0" Name="btnCloseAll" VerticalAlignment="Top" Click="btnClose_Click" TabIndex="1">
|
||||
<Button.Content>
|
||||
<Image Source="images/button_close.png"></Image>
|
||||
</Button.Content>
|
||||
</Button>
|
||||
|
||||
<!-- Top Canvas -->
|
||||
<Canvas Height="60" HorizontalAlignment="Left" Name="canvasTop" VerticalAlignment="Top" Width="600">
|
||||
<Line X1="10" Y1="50" X2="590" Y2="50" StrokeThickness="2" Canvas.Left="0" Stroke="#FFFF6600" />
|
||||
<Image Source="images/mckesson_logo.png" />
|
||||
</Canvas>
|
||||
|
||||
<!-- Log Viewer Controls -->
|
||||
<TextBox Height="304" HorizontalAlignment="Left" Margin="12,66,0,0" Name="textBoxLogViewer" VerticalAlignment="Top" Width="577" HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto" IsReadOnly="True" IsUndoEnabled="False" />
|
||||
<Button Content="Continue" Height="23" Margin="0,380,8,0" Name="btnMainButton" VerticalAlignment="Top" HorizontalAlignment="Right" Width="75" Click="btnMainButton_Click" />
|
||||
|
||||
<!-- Bottom Canvas -->
|
||||
<Canvas Height="25" HorizontalAlignment="Left" Name="canvasBottom" VerticalAlignment="Bottom" Width="600" Margin="0,0,0,9">
|
||||
<Line X1="10" Y1="10" X2="590" Y2="10" StrokeThickness="2" Canvas.Left="0" Stroke="#FFFF6600" />
|
||||
</Canvas>
|
||||
<Label Foreground="Blue" Margin="9,0,83,35" Name="lblFooter" Height="26" VerticalAlignment="Bottom" />
|
||||
</Grid>
|
||||
</Window>
|
||||
265
TomcatServer/MSLMobileMini/SetupMainWindow.xaml.cs
Normal file
265
TomcatServer/MSLMobileMini/SetupMainWindow.xaml.cs
Normal file
@@ -0,0 +1,265 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using Yaulw.File;
|
||||
using Yaulw.Assembly;
|
||||
using Yaulw.Other;
|
||||
using Yaulw.Thread;
|
||||
using System.Timers;
|
||||
//using Installables.All;
|
||||
|
||||
namespace MSLMobile
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Interaction logic for SetupMainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class SetupMainWindow : Window
|
||||
{
|
||||
private Tail _tail = null;
|
||||
private bool _AllowWindowClosing = true;
|
||||
private TTimerDisp _dispTimer = null;
|
||||
private bool _bIsInstall = true;
|
||||
private string _RotateStates = @"-\|/-\|/-";
|
||||
private int _lastRotateState = 0;
|
||||
|
||||
public SetupMainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
#region Private Methods
|
||||
|
||||
private enum FooterColor
|
||||
{
|
||||
Blue,
|
||||
Red
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the nice pretty litte footer
|
||||
/// </summary>
|
||||
private void updatePrettyFooter_DoingWork(FooterColor color, string Content)
|
||||
{
|
||||
string[] periods = new string[] { ".", "..", "...", "....", "." };
|
||||
updatePrettyFooter(color, Content + " " + periods[_lastRotateState % 5] + " " + _RotateStates[_lastRotateState % 9], "McKesson Bridge Service");
|
||||
_lastRotateState++;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the nice pretty litte footer
|
||||
/// </summary>
|
||||
private void updatePrettyFooter(FooterColor color, string Content)
|
||||
{
|
||||
updatePrettyFooter(color, Content, "McKesson Bridge Service");
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Updates the nice pretty litte footer
|
||||
/// </summary>
|
||||
private void updatePrettyFooter(FooterColor color, string Content, string ToolTip)
|
||||
{
|
||||
// Set the Color
|
||||
object[] param_s = null;
|
||||
if (color == FooterColor.Blue)
|
||||
param_s = new object[] { System.Windows.Media.Brushes.Blue };
|
||||
else
|
||||
param_s = new object[] { System.Windows.Media.Brushes.Red };
|
||||
Action<Brush> ab = delegate(Brush b) { lblFooter.Foreground = b; };
|
||||
Dispatcher.Invoke(ab, param_s);
|
||||
|
||||
// Set the Content
|
||||
param_s = new object[] { Content };
|
||||
Action<string> a = delegate(string str) { lblFooter.Content = str; };
|
||||
Dispatcher.Invoke(a, param_s);
|
||||
|
||||
// Set the ToolTip
|
||||
param_s = new object[] { ToolTip };
|
||||
a = delegate(string str) { lblFooter.ToolTip = str; };
|
||||
Dispatcher.Invoke(a, param_s);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Handles Incoming Data Stream from the Log File
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="newData"></param>
|
||||
/// <param name="bIsNewFile">True if this is a new Read, False Otherwise</param>
|
||||
private void _tail_IncomingData(object sender, string newData, bool bIsNewFile)
|
||||
{
|
||||
//if (bIsNewFile)
|
||||
//{
|
||||
// object[] param_s = new object[] { newData };
|
||||
// Action<string> a = delegate(string str) { textBoxLogViewer.Text = str; };
|
||||
// Dispatcher.Invoke(a, param_s);
|
||||
// Dispatcher.Invoke((DelegateCollection.Void_Func)textBoxLogViewer.ScrollToEnd, null);
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// object[] param_s = new object[] { newData };
|
||||
// Dispatcher.Invoke((DelegateCollection.Void_Param1_String_Func)textBoxLogViewer.AppendText, param_s);
|
||||
// Dispatcher.Invoke((DelegateCollection.Void_Func)textBoxLogViewer.ScrollToEnd, null);
|
||||
//}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void DispTimerEventHandler(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
//// Check if Install/Uninstall Completed
|
||||
//bool bDone = false;
|
||||
////if (_bIsInstall)
|
||||
//// bDone = GenericInstall.s_PerformInstallCompleted;
|
||||
////else
|
||||
//// bDone = GenericInstall.s_PerformUninstallCompleted;
|
||||
|
||||
//if (!bDone)
|
||||
//{
|
||||
// updatePrettyFooter_DoingWork(FooterColor.Blue, _bIsInstall ? "Bridge Install In Progress" : "Bridge Uninstall In Progress");
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// // Stop This Timer * Done Here *
|
||||
// _dispTimer.Stop();
|
||||
|
||||
// bool bErrorOccured = false;
|
||||
// //if (_bIsInstall)
|
||||
// // bErrorOccured = !GenericInstall.s_PerformInstallCompletedSuccessfully;
|
||||
// //else
|
||||
// // bErrorOccured = !GenericInstall.s_PerformUninstallCompletedSuccessfully;
|
||||
|
||||
// if (!bErrorOccured)
|
||||
// updatePrettyFooter(FooterColor.Blue, _bIsInstall ? "Bridge Install Completed Successfully" : "Bride Uninstall Completed Successfully");
|
||||
// else
|
||||
// updatePrettyFooter(FooterColor.Red, _bIsInstall ? "Bridge Install Completed with Error(s)" : "Bride Uninstall Completed with Error(s)");
|
||||
|
||||
// //if (_bIsInstall && Common.ServiceExists(Common_MediLytec.MediLytecPoundDef.BRIDGE_SERVICE_NAME))
|
||||
// //{
|
||||
// // btnMainButton.Content = "Continue";
|
||||
// //}
|
||||
// //else
|
||||
// //{
|
||||
// // _AllowWindowClosing = true;
|
||||
// // btnMainButton.Content = "Exit";
|
||||
// //}
|
||||
// btnMainButton.IsEnabled = true;
|
||||
//}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Window Event Handlers
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||
{
|
||||
//
|
||||
// _tail = new Tail(Logger.APP_LOG_FILENAMEANDPATH);
|
||||
// _tail.IncomingData += new Tail.IncomingDataHandler(_tail_IncomingData);
|
||||
// _tail.StartMonitoring();
|
||||
|
||||
// if (!App.s_bIsUninstall)
|
||||
// {
|
||||
// _bIsInstall = true;
|
||||
// btnMainButton.Content = "Continue";
|
||||
// btnMainButton.IsEnabled = false;
|
||||
// _AllowWindowClosing = false;
|
||||
// //GenericInstall.PerformInstall();
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// _bIsInstall = false;
|
||||
// btnMainButton.Content = "Exit";
|
||||
// btnMainButton.IsEnabled = false;
|
||||
// _AllowWindowClosing = true;
|
||||
// //GenericInstall.PerformUninstall(App.s_strComponentsToUninstall);
|
||||
// }
|
||||
|
||||
// // Start GUI Refresh Timer
|
||||
// _dispTimer = new TTimerDisp(DispTimerEventHandler, 250, true);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs e)
|
||||
{
|
||||
//if (!_AllowWindowClosing)
|
||||
// e.Cancel = true;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void Window_Closed(object sender, EventArgs e)
|
||||
{
|
||||
//if (_tail != null)
|
||||
//{
|
||||
// _tail.StopMonitoring(true);
|
||||
// _tail = null;
|
||||
//}
|
||||
|
||||
//Dispatcher.Invoke((DelegateCollection.Void_Func)textBoxLogViewer.Clear, null);
|
||||
|
||||
// Let components know that Setup is now complete
|
||||
//if (btnMainButton.Content.ToString() != "Continue" && !_bIsInstall)
|
||||
// GenericInstall.SetupMainCompleted();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Close Button - Event Handler
|
||||
/// </summary>
|
||||
private void btnClose_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Main Button Event Handler
|
||||
/// </summary>
|
||||
private void btnMainButton_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
Button btn = (Button)sender;
|
||||
if (btn.Content.ToString() == "Continue" && _bIsInstall)
|
||||
{
|
||||
// * NOT NEEDED * Delete Later
|
||||
//SetBridgeConfigWindow bridgeConfig = new SetBridgeConfigWindow();
|
||||
//bridgeConfig.Top = this.Top;
|
||||
//bridgeConfig.Left = this.Left;
|
||||
//bridgeConfig.Show();
|
||||
//bridgeConfig.Top = this.Top;
|
||||
//bridgeConfig.Left = this.Left;
|
||||
_AllowWindowClosing = true;
|
||||
this.Close();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
private void Window_MouseDown(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
if (e.LeftButton == MouseButtonState.Pressed)
|
||||
this.DragMove();
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
BIN
TomcatServer/MSLMobileMini/images/Bridge.ico
Normal file
BIN
TomcatServer/MSLMobileMini/images/Bridge.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
TomcatServer/MSLMobileMini/images/button_close.png
Normal file
BIN
TomcatServer/MSLMobileMini/images/button_close.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
BIN
TomcatServer/MSLMobileMini/images/mckesson_logo.png
Normal file
BIN
TomcatServer/MSLMobileMini/images/mckesson_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
80
TomcatServer/MSLMobileMini/obj/x86/Debug/App.g.i.cs
Normal file
80
TomcatServer/MSLMobileMini/obj/x86/Debug/App.g.i.cs
Normal file
@@ -0,0 +1,80 @@
|
||||
#pragma checksum "..\..\..\App.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "C0725614C13E97BF4AC826AB85DBEA74"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18051
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
|
||||
namespace MSLMobile {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 4 "..\..\..\App.xaml"
|
||||
this.Startup += new System.Windows.StartupEventHandler(this.Application_Startup);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 4 "..\..\..\App.xaml"
|
||||
this.Exit += new System.Windows.ExitEventHandler(this.Application_Exit);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
|
||||
#line 4 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("HiddenMainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public static void Main() {
|
||||
MSLMobile.App app = new MSLMobile.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
@@ -0,0 +1,84 @@
|
||||
#pragma checksum "..\..\..\HiddenMainWindow.xaml" "{406ea660-64cf-4c82-b6f0-42d48172a799}" "E7B4859B1EACB2D8406511FE160C0774"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.18051
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
|
||||
namespace MSLMobile {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// HiddenMainWindow
|
||||
/// </summary>
|
||||
public partial class HiddenMainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/MSLMobileMini;component/hiddenmainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\HiddenMainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "4.0.0.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
switch (connectionId)
|
||||
{
|
||||
case 1:
|
||||
|
||||
#line 4 "..\..\..\HiddenMainWindow.xaml"
|
||||
((MSLMobile.HiddenMainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
return;
|
||||
}
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
MSLMobileMini
|
||||
|
||||
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
\\192.168.2.7\bin\FTP-Private\Pluto\Server\MSLMobileMini\obj\x86\Debug\
|
||||
MSLMobile
|
||||
none
|
||||
false
|
||||
DEBUG;TRACE
|
||||
\\192.168.2.7\bin\FTP-Private\Pluto\Server\MSLMobileMini\App.xaml
|
||||
1-148568124
|
||||
|
||||
51197073072
|
||||
11-1165114917
|
||||
HiddenMainWindow.xaml;
|
||||
|
||||
False
|
||||
|
||||
Reference in New Issue
Block a user