initial oogynize check in _ this actually used to work!
This commit is contained in:
58
Deskband/DeskBand/AssemblyInfo.cs
Normal file
58
Deskband/DeskBand/AssemblyInfo.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
//
|
||||
// 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("")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("")]
|
||||
[assembly: AssemblyCopyright("")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
//
|
||||
// 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 Revision and Build Numbers
|
||||
// by using the '*' as shown below:
|
||||
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
|
||||
//
|
||||
// In order to sign your assembly you must specify a key to use. Refer to the
|
||||
// Microsoft .NET Framework documentation for more information on assembly signing.
|
||||
//
|
||||
// Use the attributes below to control which key is used for signing.
|
||||
//
|
||||
// Notes:
|
||||
// (*) If no key is specified, the assembly is not signed.
|
||||
// (*) KeyName refers to a key that has been installed in the Crypto Service
|
||||
// Provider (CSP) on your machine. KeyFile refers to a file which contains
|
||||
// a key.
|
||||
// (*) If the KeyFile and the KeyName values are both specified, the
|
||||
// following processing occurs:
|
||||
// (1) If the KeyName can be found in the CSP, that key is used.
|
||||
// (2) If the KeyName does not exist and the KeyFile does exist, the key
|
||||
// in the KeyFile is installed into the CSP and used.
|
||||
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
|
||||
// When specifying the KeyFile, the location of the KeyFile should be
|
||||
// relative to the project output directory which is
|
||||
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
|
||||
// located in the project directory, you would specify the AssemblyKeyFile
|
||||
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
|
||||
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
|
||||
// documentation for more information on this.
|
||||
//
|
||||
//[assembly: AssemblyDelaySign(false)]
|
||||
//[assembly: AssemblyKeyFile(@"..\..\..\BandObjects.snk")]
|
||||
//[assembly: AssemblyKeyName("")]
|
||||
503
Deskband/DeskBand/DeskBand.cs
Normal file
503
Deskband/DeskBand/DeskBand.cs
Normal file
@@ -0,0 +1,503 @@
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Reflection;
|
||||
|
||||
using Foo.Platform;
|
||||
using Foo.Deskband.BandObject;
|
||||
using Foo.ClientServices.GUIWPForms;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace Foo.Deskband.Deskband
|
||||
{
|
||||
[Guid("AE07101B-46D4-4a98-AF68-0333EA26E113")]
|
||||
[BandObject("Ooganizer", BandObjectStyle.Horizontal | BandObjectStyle.TaskbarToolBar, HelpText = "Tame the Chaos : Ooganizer")]
|
||||
public class DeskBand : BandObjectBase
|
||||
{
|
||||
private Button btnLaunch;
|
||||
private IContainer components;
|
||||
private System.Threading.TimerCallback _clickTimerCallback;
|
||||
private System.Threading.Timer _clickTimer;
|
||||
private int _previousClick = 0;
|
||||
private ContextMenuStrip contextMenuStrip;
|
||||
private ToolStripMenuItem settingsToolStripMenuItem;
|
||||
private ToolStripMenuItem aboutToolStripMenuItem;
|
||||
private ToolStripMenuItem helpToolStripMenuItem;
|
||||
private ToolStripMenuItem hideToolStripMenuItem;
|
||||
private ToolStripMenuItem unloadToolStripMenuItem;
|
||||
private ToolStripMenuItem showToolStripMenuItem;
|
||||
private ToolStripSeparator toolStripWorkspaceOptionSeparator;
|
||||
private MouseButtons _previousClickMouseButton = MouseButtons.None;
|
||||
|
||||
// GUI Access Object
|
||||
GUIWPForms GetGUI{ get { return new GUIWPForms(); } }
|
||||
|
||||
|
||||
public DeskBand()
|
||||
{
|
||||
AppDomain.CurrentDomain.AssemblyResolve += new ResolveEventHandler(OnAssemblyResolve);
|
||||
InitializeComponent();
|
||||
InitializeClickTimer();
|
||||
}
|
||||
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
if (disposing)
|
||||
{
|
||||
if (components != null)
|
||||
components.Dispose();
|
||||
}
|
||||
base.Dispose(disposing);
|
||||
}
|
||||
|
||||
private void InitializeClickTimer()
|
||||
{
|
||||
_clickTimerCallback = new System.Threading.TimerCallback(SingleClickCallback);
|
||||
}
|
||||
|
||||
#region Component Designer generated code
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
this.btnLaunch = new System.Windows.Forms.Button();
|
||||
this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
|
||||
this.settingsToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.aboutToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.helpToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.unloadToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.hideToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.showToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.toolStripWorkspaceOptionSeparator = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.contextMenuStrip.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// btnLaunch
|
||||
//
|
||||
this.btnLaunch.BackColor = System.Drawing.SystemColors.ControlText;
|
||||
this.btnLaunch.ContextMenuStrip = this.contextMenuStrip;
|
||||
this.btnLaunch.FlatStyle = System.Windows.Forms.FlatStyle.System;
|
||||
this.btnLaunch.Font = new System.Drawing.Font("Forte", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.btnLaunch.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.btnLaunch.Location = new System.Drawing.Point(0, 0);
|
||||
this.btnLaunch.Margin = new System.Windows.Forms.Padding(0);
|
||||
this.btnLaunch.Name = "btnLaunch";
|
||||
this.btnLaunch.Size = new System.Drawing.Size(24, 24);
|
||||
this.btnLaunch.TabIndex = 0;
|
||||
this.btnLaunch.TabStop = false;
|
||||
this.btnLaunch.Text = "O";
|
||||
this.btnLaunch.UseVisualStyleBackColor = false;
|
||||
this.btnLaunch.HandleCreated += new System.EventHandler(this.btnLaunch_HandleCreated);
|
||||
this.btnLaunch.HandleDestroyed += new System.EventHandler(this.btnLaunch_HandleDestroyed);
|
||||
this.btnLaunch.Click += new System.EventHandler(this.btnLaunch_Click);
|
||||
this.btnLaunch.MouseClick += new System.Windows.Forms.MouseEventHandler(this.btnLaunch_MouseClick);
|
||||
this.btnLaunch.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnLaunch_MouseDown);
|
||||
this.btnLaunch.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnLaunch_MouseUp);
|
||||
//
|
||||
// contextMenuStrip
|
||||
//
|
||||
this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
|
||||
this.hideToolStripMenuItem,
|
||||
this.unloadToolStripMenuItem,
|
||||
this.showToolStripMenuItem,
|
||||
this.toolStripWorkspaceOptionSeparator,
|
||||
this.settingsToolStripMenuItem,
|
||||
this.helpToolStripMenuItem,
|
||||
this.aboutToolStripMenuItem});
|
||||
this.contextMenuStrip.Name = "contextMenuStrip";
|
||||
this.contextMenuStrip.Size = new System.Drawing.Size(153, 164);
|
||||
this.contextMenuStrip.Opening += new System.ComponentModel.CancelEventHandler(this.contextMenuStrip_Opening);
|
||||
//
|
||||
// settingsToolStripMenuItem
|
||||
//
|
||||
this.settingsToolStripMenuItem.Name = "settingsToolStripMenuItem";
|
||||
this.settingsToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.settingsToolStripMenuItem.Text = "Settings";
|
||||
this.settingsToolStripMenuItem.Click += new System.EventHandler(this.settingsToolStripMenuItem_Click);
|
||||
//
|
||||
// aboutToolStripMenuItem
|
||||
//
|
||||
this.aboutToolStripMenuItem.Name = "aboutToolStripMenuItem";
|
||||
this.aboutToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.aboutToolStripMenuItem.Text = "About";
|
||||
this.aboutToolStripMenuItem.Click += new System.EventHandler(this.aboutToolStripMenuItem_Click);
|
||||
//
|
||||
// helpToolStripMenuItem
|
||||
//
|
||||
this.helpToolStripMenuItem.Name = "helpToolStripMenuItem";
|
||||
this.helpToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.helpToolStripMenuItem.Text = "Help";
|
||||
//
|
||||
// unloadToolStripMenuItem
|
||||
//
|
||||
this.unloadToolStripMenuItem.Name = "unloadToolStripMenuItem";
|
||||
this.unloadToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.unloadToolStripMenuItem.Text = "Unload";
|
||||
this.unloadToolStripMenuItem.Click += new System.EventHandler(this.unloadToolStripMenuItem_Click);
|
||||
//
|
||||
// hideToolStripMenuItem
|
||||
//
|
||||
this.hideToolStripMenuItem.Name = "hideToolStripMenuItem";
|
||||
this.hideToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.hideToolStripMenuItem.Text = "Hide";
|
||||
this.hideToolStripMenuItem.Click += new System.EventHandler(this.hideToolStripMenuItem_Click);
|
||||
//
|
||||
// showToolStripMenuItem
|
||||
//
|
||||
this.showToolStripMenuItem.Name = "showToolStripMenuItem";
|
||||
this.showToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.showToolStripMenuItem.Text = "Show";
|
||||
this.showToolStripMenuItem.Click += new System.EventHandler(this.showToolStripMenuItem_Click);
|
||||
//
|
||||
// toolStripWorkspaceOptionSeparator
|
||||
//
|
||||
this.toolStripWorkspaceOptionSeparator.Name = "toolStripWorkspaceOptionSeparator";
|
||||
this.toolStripWorkspaceOptionSeparator.Size = new System.Drawing.Size(149, 6);
|
||||
//
|
||||
// DeskBand
|
||||
//
|
||||
this.BackColor = System.Drawing.SystemColors.ControlText;
|
||||
this.Controls.Add(this.btnLaunch);
|
||||
this.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
this.MaxSize = new System.Drawing.Size(24, 24);
|
||||
this.MinSize = new System.Drawing.Size(24, 24);
|
||||
this.Name = "DeskBand";
|
||||
this.Title = "";
|
||||
this.contextMenuStrip.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Other Handlers
|
||||
|
||||
private void btnLaunch_HandleCreated(object sender, EventArgs e)
|
||||
{
|
||||
//m_gui = new GUIWPForms();
|
||||
//MessageBox.Show("btnLaunch_Created is called!");
|
||||
}
|
||||
|
||||
private void btnLaunch_HandleDestroyed(object sender, EventArgs e)
|
||||
{
|
||||
//m_gui = null;
|
||||
//MessageBox.Show("btnLaunch_Destroyed is called!");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Button Click Handlers
|
||||
|
||||
private void btnLaunch_MouseClick(object sender, MouseEventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void SingleClickCallback(Object arg)
|
||||
{
|
||||
switch (((MouseEventArgs)arg).Button)
|
||||
{
|
||||
case MouseButtons.Left:
|
||||
{
|
||||
//MessageBox.Show("Left Click");
|
||||
|
||||
try
|
||||
{
|
||||
GetGUI.LaunchArtifactWall(this.Handle);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show(e.Message);
|
||||
}
|
||||
|
||||
//LaunchArtifactWall();
|
||||
|
||||
break;
|
||||
}
|
||||
case MouseButtons.Right:
|
||||
{
|
||||
//LaunchContextMenu((MouseEventArgs)arg);
|
||||
|
||||
break;
|
||||
}
|
||||
case MouseButtons.Middle:
|
||||
{
|
||||
// TODO - Handle middle button ... if desired
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void DoubleClickCallback(MouseEventArgs args)
|
||||
{
|
||||
switch (args.Button)
|
||||
{
|
||||
case MouseButtons.Left:
|
||||
{
|
||||
try
|
||||
{
|
||||
GetGUI.LaunchWorkspaceSelector(this.Handle);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show(e.Message);
|
||||
}
|
||||
|
||||
//LaunchWorkspaceSelector();
|
||||
|
||||
break;
|
||||
}
|
||||
case MouseButtons.Right:
|
||||
{
|
||||
// TODO - Handle right button double click ... if desired
|
||||
|
||||
break;
|
||||
}
|
||||
case MouseButtons.Middle:
|
||||
{
|
||||
// TODO - Handle middle button double click ... if desired
|
||||
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void LaunchContextMenu(MouseEventArgs args)
|
||||
{
|
||||
contextMenuStrip.Show(PointToScreen(args.Location));
|
||||
}
|
||||
|
||||
private void btnLaunch_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
private void btnLaunch_MouseDown(object sender, MouseEventArgs e)
|
||||
{
|
||||
// Do not remove this handler ... it seems to quiet down the taskbar context menu
|
||||
// so we can do our own context menu
|
||||
}
|
||||
|
||||
private void btnLaunch_MouseUp(object sender, MouseEventArgs e)
|
||||
{
|
||||
int now = System.Environment.TickCount;
|
||||
|
||||
if ((now - _previousClick) <= SystemInformation.DoubleClickTime &&
|
||||
e.Button == _previousClickMouseButton)
|
||||
{
|
||||
// Cancel click timer ... we've got a double click instead
|
||||
_clickTimer.Change(System.Threading.Timeout.Infinite,
|
||||
System.Threading.Timeout.Infinite);
|
||||
|
||||
DoubleClickCallback(e);
|
||||
|
||||
_previousClick = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
_previousClick = now;
|
||||
_previousClickMouseButton = e.Button;
|
||||
|
||||
// Fire the OnClick event after the DoubleClickTime so that double-click handling gets a chance
|
||||
_clickTimer = new System.Threading.Timer(_clickTimerCallback,
|
||||
(Object)e,
|
||||
(int)(SystemInformation.DoubleClickTime * 1.3),
|
||||
System.Threading.Timeout.Infinite);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// Assembly Resolve Handler for entire Component
|
||||
/// </summary>
|
||||
static System.Reflection.Assembly OnAssemblyResolve(object sender, ResolveEventArgs args)
|
||||
{
|
||||
|
||||
string installPath = "";
|
||||
RegistryKey RootKey = Registry.LocalMachine.OpenSubKey("Software\\Ooganizer", false);
|
||||
if (RootKey != null)
|
||||
{
|
||||
object keyvalue = RootKey.GetValue("InstallPath");;
|
||||
if ((keyvalue != null) && (keyvalue.ToString() != ""))
|
||||
installPath = keyvalue.ToString();
|
||||
}
|
||||
|
||||
string[] asmName = args.Name.Split(',');
|
||||
switch (asmName[0])
|
||||
{
|
||||
case "GUIWPForms":
|
||||
return Assembly.LoadFile(installPath + @"GUIWPForms.dll", Assembly.GetExecutingAssembly().Evidence);
|
||||
|
||||
case "Platform":
|
||||
return Assembly.LoadFile(installPath + @"Platform.dll", Assembly.GetExecutingAssembly().Evidence);
|
||||
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
//Assembly assembly = null;
|
||||
//string[] asmName = args.Name.Split(',');
|
||||
//string basePath = "";
|
||||
|
||||
//RegistryKey RootKey = Registry.LocalMachine.OpenSubKey("Software\\Ooganizer", false);
|
||||
//if (RootKey != null)
|
||||
//{
|
||||
// object keyvalue = null;
|
||||
// keyvalue = RootKey.GetValue("InstallPath");
|
||||
// if ((keyvalue != null) && (keyvalue.ToString() != ""))
|
||||
// basePath = keyvalue.ToString();
|
||||
//}
|
||||
|
||||
//MessageBox.Show(System.Environment.CurrentDirectory);
|
||||
////MessageBox.Show(asmName[0]);
|
||||
//switch (asmName[0])
|
||||
//{
|
||||
// case "GUIWPForms":
|
||||
// assembly = Assembly.LoadFile(basePath + @"GUIWPForms.dll", Assembly.GetExecutingAssembly().Evidence);
|
||||
// break;
|
||||
// case "Platform":
|
||||
// assembly = Assembly.LoadFile(basePath + @"Platform.dll", Assembly.GetExecutingAssembly().Evidence);
|
||||
// break;
|
||||
// default:
|
||||
// break;
|
||||
//}
|
||||
|
||||
//return assembly;
|
||||
}
|
||||
|
||||
#region ContextMenu Handlers
|
||||
|
||||
private void contextMenuStrip_Opening(object sender, CancelEventArgs e)
|
||||
{
|
||||
//string currentWorkspace = null;
|
||||
//OoganizerState.WorkspaceState workspaceState = OoganizerState.WorkspaceState.Unloaded;
|
||||
|
||||
//using (OoganizerState oogyState = new OoganizerState())
|
||||
//{
|
||||
// currentWorkspace = oogyState.GetCurrentWorkspace();
|
||||
|
||||
// if (currentWorkspace != null)
|
||||
// {
|
||||
// workspaceState = oogyState.GetWorkspaceState(currentWorkspace);
|
||||
// }
|
||||
//}
|
||||
|
||||
//if (currentWorkspace == null)
|
||||
//{
|
||||
// // Hide these options when there is no workspace loaded
|
||||
// this.hideToolStripMenuItem.Visible = false;
|
||||
// this.unloadToolStripMenuItem.Visible = false;
|
||||
// this.showToolStripMenuItem.Visible = false;
|
||||
// this.toolStripWorkspaceOptionSeparator.Visible = false;
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// switch (workspaceState)
|
||||
// {
|
||||
// case OoganizerState.WorkspaceState.Hidden:
|
||||
// this.hideToolStripMenuItem.Visible = false;
|
||||
// this.unloadToolStripMenuItem.Visible = true;
|
||||
// this.showToolStripMenuItem.Visible = true;
|
||||
// this.toolStripWorkspaceOptionSeparator.Visible = true;
|
||||
|
||||
// break;
|
||||
|
||||
// case OoganizerState.WorkspaceState.Shown:
|
||||
// this.hideToolStripMenuItem.Visible = true;
|
||||
// this.unloadToolStripMenuItem.Visible = true;
|
||||
// this.showToolStripMenuItem.Visible = false;
|
||||
// this.toolStripWorkspaceOptionSeparator.Visible = true;
|
||||
|
||||
// break;
|
||||
|
||||
// default:
|
||||
// // Otherwise hide workspace options
|
||||
// this.hideToolStripMenuItem.Visible = false;
|
||||
// this.unloadToolStripMenuItem.Visible = false;
|
||||
// this.showToolStripMenuItem.Visible = false;
|
||||
// this.toolStripWorkspaceOptionSeparator.Visible = false;
|
||||
|
||||
// break;
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Display About Form ... Form should provide :
|
||||
// * company and product version information
|
||||
// * support website / phone number
|
||||
MessageBox.Show("Ooganizer 1.0");
|
||||
}
|
||||
|
||||
private void settingsToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
// Display Settings Form ... Form should provide :
|
||||
// * Settings
|
||||
MessageBox.Show("Ooganizer Settings Form");
|
||||
}
|
||||
|
||||
private void hideToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string currWorkspaceName = null;
|
||||
|
||||
//using (OoganizerState oogyState = new OoganizerState())
|
||||
//{
|
||||
// currWorkspaceName = oogyState.GetCurrentWorkspace();
|
||||
|
||||
// if (currWorkspaceName != null)
|
||||
// {
|
||||
// oogyState.HideWorkspace(currWorkspaceName);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
private void showToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string currWorkspaceName = null;
|
||||
|
||||
//using (OoganizerState oogyState = new OoganizerState())
|
||||
//{
|
||||
// currWorkspaceName = oogyState.GetCurrentWorkspace();
|
||||
|
||||
// if (currWorkspaceName != null)
|
||||
// {
|
||||
// oogyState.ShowWorkspace(currWorkspaceName);
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
private void unloadToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
//string currWorkspaceName = null;
|
||||
|
||||
//using (OoganizerState oogyState = new OoganizerState())
|
||||
//{
|
||||
// currWorkspaceName = oogyState.GetCurrentWorkspace();
|
||||
|
||||
// if (currWorkspaceName != null)
|
||||
// {
|
||||
// string currentWorkspaceName = oogyState.GetCurrentWorkspace();
|
||||
|
||||
// if (currentWorkspaceName != null)
|
||||
// {
|
||||
// oogyState.UnloadWorkspace(currentWorkspaceName);
|
||||
// }
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
174
Deskband/DeskBand/DeskBand.csproj
Normal file
174
Deskband/DeskBand/DeskBand.csproj
Normal file
@@ -0,0 +1,174 @@
|
||||
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectType>Local</ProjectType>
|
||||
<ProductVersion>9.0.30729</ProductVersion>
|
||||
<SchemaVersion>2.0</SchemaVersion>
|
||||
<ProjectGuid>{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}</ProjectGuid>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ApplicationIcon>
|
||||
</ApplicationIcon>
|
||||
<AssemblyKeyContainerName>
|
||||
</AssemblyKeyContainerName>
|
||||
<AssemblyName>Foo.DeskBand</AssemblyName>
|
||||
<AssemblyOriginatorKeyFile>MyKeyFile.SNK</AssemblyOriginatorKeyFile>
|
||||
<DefaultClientScript>JScript</DefaultClientScript>
|
||||
<DefaultHTMLPageLayout>Grid</DefaultHTMLPageLayout>
|
||||
<DefaultTargetSchema>IE50</DefaultTargetSchema>
|
||||
<DelaySign>false</DelaySign>
|
||||
<OutputType>Library</OutputType>
|
||||
<RootNamespace>Foo.Deskband.Deskband</RootNamespace>
|
||||
<StartupObject>
|
||||
</StartupObject>
|
||||
<FileUpgradeFlags>
|
||||
</FileUpgradeFlags>
|
||||
<OldToolsVersion>0.0</OldToolsVersion>
|
||||
<UpgradeBackupLocation>
|
||||
</UpgradeBackupLocation>
|
||||
<PublishUrl>publish\</PublishUrl>
|
||||
<Install>true</Install>
|
||||
<InstallFrom>Disk</InstallFrom>
|
||||
<UpdateEnabled>false</UpdateEnabled>
|
||||
<UpdateMode>Foreground</UpdateMode>
|
||||
<UpdateInterval>7</UpdateInterval>
|
||||
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
||||
<UpdatePeriodically>false</UpdatePeriodically>
|
||||
<UpdateRequired>false</UpdateRequired>
|
||||
<MapFileExtensions>true</MapFileExtensions>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
||||
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||
<SignAssembly>true</SignAssembly>
|
||||
<SccProjectName>
|
||||
</SccProjectName>
|
||||
<SccLocalPath>
|
||||
</SccLocalPath>
|
||||
<SccAuxPath>
|
||||
</SccAuxPath>
|
||||
<SccProvider>
|
||||
</SccProvider>
|
||||
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<OutputPath>..\..\Target\Debug\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>false</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>full</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<OutputPath>..\..\Target\Release\</OutputPath>
|
||||
<AllowUnsafeBlocks>false</AllowUnsafeBlocks>
|
||||
<BaseAddress>285212672</BaseAddress>
|
||||
<CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
|
||||
<ConfigurationOverrideFile>
|
||||
</ConfigurationOverrideFile>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<DocumentationFile>
|
||||
</DocumentationFile>
|
||||
<DebugSymbols>false</DebugSymbols>
|
||||
<FileAlignment>4096</FileAlignment>
|
||||
<Optimize>true</Optimize>
|
||||
<RegisterForComInterop>false</RegisterForComInterop>
|
||||
<RemoveIntegerChecks>false</RemoveIntegerChecks>
|
||||
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
<DebugType>none</DebugType>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System">
|
||||
<Name>System</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Data">
|
||||
<Name>System.Data</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Drawing">
|
||||
<Name>System.Drawing</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.EnterpriseServices" />
|
||||
<Reference Include="System.Windows.Forms">
|
||||
<Name>System.Windows.Forms</Name>
|
||||
</Reference>
|
||||
<Reference Include="System.Xml">
|
||||
<Name>System.XML</Name>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="AssemblyInfo.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="DeskBand.cs">
|
||||
<SubType>UserControl</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DesignTime>True</DesignTime>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<EmbeddedResource Include="DeskBand.resx">
|
||||
<DependentUpon>DeskBand.cs</DependentUpon>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||
<Install>true</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||
<Visible>False</Visible>
|
||||
<ProductName>.NET Framework 3.5</ProductName>
|
||||
<Install>false</Install>
|
||||
</BootstrapperPackage>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="MyKeyFile.SNK" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\Client Services\GUIWPForms\GUIWPForms.csproj">
|
||||
<Project>{A02E052C-3C52-43DB-BB30-A47446B8165F}</Project>
|
||||
<Name>GUIWPForms</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\Platform\Platform.csproj">
|
||||
<Project>{F6929AFC-BF61-43A0-BABD-F807B65FFFA1}</Project>
|
||||
<Name>Platform</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\BandObjectBase\BandObject.csproj">
|
||||
<Project>{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}</Project>
|
||||
<Name>BandObject</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<PropertyGroup>
|
||||
<PreBuildEvent>"$(FrameworkSDKDir)bin\gacutil.exe" /uf "$(TargetName)"</PreBuildEvent>
|
||||
<PostBuildEvent>"$(FrameworkSDKDir)bin\gacutil.exe" /if "$(SolutionDir)target\$(ConfigurationName)\$(TargetFileName)"
|
||||
"$(FrameworkDir)\regasm.exe" "$(SolutionDir)target\$(ConfigurationName)\$(TargetFileName)" tlb:$(TargetName).tlb /codebase</PostBuildEvent>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
123
Deskband/DeskBand/DeskBand.resx
Normal file
123
Deskband/DeskBand/DeskBand.resx
Normal file
@@ -0,0 +1,123 @@
|
||||
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<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" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>
|
||||
<metadata name="contextMenuStrip.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</metadata>
|
||||
</root>
|
||||
91
Deskband/DeskBand/DeskBand.sln
Normal file
91
Deskband/DeskBand/DeskBand.sln
Normal file
@@ -0,0 +1,91 @@
|
||||
Microsoft Visual Studio Solution File, Format Version 10.00
|
||||
# Visual Studio 2008
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DeskBand", "DeskBand.csproj", "{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3} = {BDB3B670-A17B-483E-954C-52FC2B6FF9D3}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Register", "Register\Register.vcproj", "{E35915FE-ED91-4AE5-B566-F269CD854498}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7} = {ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BandObject", "..\BandObjectBase\BandObject.csproj", "{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}"
|
||||
EndProject
|
||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "RegisterLib", "..\BandObjectBase\RegisterLib\RegisterLib.vcproj", "{A6903D99-B950-4D1A-B715-0B808ED64376}"
|
||||
ProjectSection(ProjectDependencies) = postProject
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3} = {BDB3B670-A17B-483E-954C-52FC2B6FF9D3}
|
||||
EndProjectSection
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(TeamFoundationVersionControl) = preSolution
|
||||
SccNumberOfProjects = 5
|
||||
SccEnterpriseProvider = {4CA58AB2-18FA-4F8D-95D4-32DDF27D184C}
|
||||
SccTeamFoundationServer = http://myhome.romischer.com:8080/
|
||||
SccLocalPath0 = .
|
||||
SccProjectUniqueName1 = Register\\Register.vcproj
|
||||
SccProjectName1 = Register
|
||||
SccLocalPath1 = Register
|
||||
SccProjectUniqueName2 = DeskBand.csproj
|
||||
SccLocalPath2 = .
|
||||
SccProjectUniqueName3 = ..\\BandObjectBase\\BandObject.csproj
|
||||
SccProjectName3 = ../BandObjectBase
|
||||
SccLocalPath3 = ..\\BandObjectBase
|
||||
SccProjectUniqueName4 = ..\\BandObjectBase\\RegisterLib\\RegisterLib.vcproj
|
||||
SccProjectName4 = ../BandObjectBase/RegisterLib
|
||||
SccLocalPath4 = ..\\BandObjectBase\\RegisterLib
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Debug|Mixed Platforms = Debug|Mixed Platforms
|
||||
Debug|Win32 = Debug|Win32
|
||||
Release|Any CPU = Release|Any CPU
|
||||
Release|Mixed Platforms = Release|Mixed Platforms
|
||||
Release|Win32 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{ACCDA683-C6AC-43DD-819F-4C3DE36E6BD7}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Debug|Any CPU.ActiveCfg = Debug|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Debug|Mixed Platforms.Build.0 = Debug|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Release|Any CPU.ActiveCfg = Release|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Release|Mixed Platforms.ActiveCfg = Release|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Release|Mixed Platforms.Build.0 = Release|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{E35915FE-ED91-4AE5-B566-F269CD854498}.Release|Win32.Build.0 = Release|Win32
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Debug|Win32.ActiveCfg = Debug|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Release|Mixed Platforms.Build.0 = Release|Any CPU
|
||||
{BDB3B670-A17B-483E-954C-52FC2B6FF9D3}.Release|Win32.ActiveCfg = Release|Any CPU
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Debug|Any CPU.ActiveCfg = Debug|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Debug|Mixed Platforms.ActiveCfg = Debug|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Debug|Mixed Platforms.Build.0 = Debug|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Debug|Win32.Build.0 = Debug|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Release|Any CPU.ActiveCfg = Release|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Release|Mixed Platforms.ActiveCfg = Release|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Release|Mixed Platforms.Build.0 = Release|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Release|Win32.ActiveCfg = Release|Win32
|
||||
{A6903D99-B950-4D1A-B715-0B808ED64376}.Release|Win32.Build.0 = Release|Win32
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
BIN
Deskband/DeskBand/MyKeyFile.SNK
Normal file
BIN
Deskband/DeskBand/MyKeyFile.SNK
Normal file
Binary file not shown.
63
Deskband/DeskBand/Properties/Resources.Designer.cs
generated
Normal file
63
Deskband/DeskBand/Properties/Resources.Designer.cs
generated
Normal file
@@ -0,0 +1,63 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.4200
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Foo.Deskband.Deskband.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", "2.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("Foo.Deskband.Deskband.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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
120
Deskband/DeskBand/Properties/Resources.resx
Normal file
120
Deskband/DeskBand/Properties/Resources.resx
Normal file
@@ -0,0 +1,120 @@
|
||||
<?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.Runtime.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:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<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" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</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>
|
||||
91
Deskband/DeskBand/Register/Register.vcproj
Normal file
91
Deskband/DeskBand/Register/Register.vcproj
Normal file
@@ -0,0 +1,91 @@
|
||||
<?xml version="1.0" encoding="Windows-1252"?>
|
||||
<VisualStudioProject
|
||||
ProjectType="Visual C++"
|
||||
Version="9.00"
|
||||
Name="Register"
|
||||
ProjectGUID="{E35915FE-ED91-4AE5-B566-F269CD854498}"
|
||||
RootNamespace="Register"
|
||||
SccProjectName="SAK"
|
||||
SccAuxPath="SAK"
|
||||
SccLocalPath="SAK"
|
||||
SccProvider="SAK"
|
||||
Keyword="Win32Proj"
|
||||
TargetFrameworkVersion="131072"
|
||||
>
|
||||
<Platforms>
|
||||
<Platform
|
||||
Name="Win32"
|
||||
/>
|
||||
</Platforms>
|
||||
<ToolFiles>
|
||||
</ToolFiles>
|
||||
<Configurations>
|
||||
<Configuration
|
||||
Name="Debug|Win32"
|
||||
OutputDirectory="Debug"
|
||||
IntermediateDirectory="Debug"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
||||
CharacterSet="2"
|
||||
ManagedExtensions="4"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="cd $(ProjectDir)..\bin\Debug

gacutil /if Ooganizer.Client.UI.DeskBand.dll
regasm Ooganizer.Client.UI.DeskBand.dll


"
|
||||
/>
|
||||
</Configuration>
|
||||
<Configuration
|
||||
Name="Release|Win32"
|
||||
OutputDirectory="Release"
|
||||
IntermediateDirectory="Release"
|
||||
ConfigurationType="10"
|
||||
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC70.vsprops"
|
||||
CharacterSet="2"
|
||||
ManagedExtensions="4"
|
||||
>
|
||||
<Tool
|
||||
Name="VCPreBuildEventTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCCustomBuildTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCMIDLTool"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCPostBuildEventTool"
|
||||
CommandLine="cd $(ProjectDir)..\bin\Release

gacutil /if SampleBars.dll
regasm SampleBars.dll
"
|
||||
/>
|
||||
</Configuration>
|
||||
</Configurations>
|
||||
<References>
|
||||
</References>
|
||||
<Files>
|
||||
<Filter
|
||||
Name="Source Files"
|
||||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Header Files"
|
||||
Filter="h;hpp;hxx;hm;inl;inc"
|
||||
>
|
||||
</Filter>
|
||||
<Filter
|
||||
Name="Resource Files"
|
||||
Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
>
|
||||
</Filter>
|
||||
</Files>
|
||||
<Globals>
|
||||
</Globals>
|
||||
</VisualStudioProject>
|
||||
Reference in New Issue
Block a user