remove Ninjacrab from name space

This commit is contained in:
Kang Yu 2023-03-03 11:58:00 -08:00
parent 42a91fd801
commit 9717dae16b
41 changed files with 2039 additions and 2039 deletions

View file

@ -7,7 +7,7 @@
<ProjectGuid>{4CC8B3FB-214B-42AB-8AAE-E7DC5E266EF0}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Ninjacrab.PersistentWindows.Common</RootNamespace>
<RootNamespace>PersistentWindows.Common</RootNamespace>
<AssemblyName>PersistentWindows.Common</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>

View file

@ -2,7 +2,7 @@
using System.IO;
using System.Diagnostics;
namespace Ninjacrab.PersistentWindows.Common.Diagnostics
namespace PersistentWindows.Common.Diagnostics
{
public class Log
{

View file

@ -1,5 +1,5 @@

namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
partial class LaunchProcess
{

View file

@ -2,7 +2,7 @@
using System.Drawing;
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
public partial class LaunchProcess : Form
{

View file

@ -1,7 +1,7 @@
using System.Windows.Forms;
using System.Drawing;
namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
partial class LayoutProfile
{

View file

@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
public partial class LayoutProfile : Form
{

View file

@ -1,9 +1,9 @@
using System;
using Ninjacrab.PersistentWindows.Common.WinApiBridge;
using Ninjacrab.PersistentWindows.Common.Diagnostics;
using PersistentWindows.Common.WinApiBridge;
using PersistentWindows.Common.Diagnostics;
namespace Ninjacrab.PersistentWindows.Common.Models
namespace PersistentWindows.Common.Models
{
public class DeadAppPosition
{

View file

@ -1,8 +1,8 @@
using System.Collections.Generic;
using System.Linq;
using Ninjacrab.PersistentWindows.Common.WinApiBridge;
using PersistentWindows.Common.WinApiBridge;
namespace Ninjacrab.PersistentWindows.Common.Models
namespace PersistentWindows.Common.Models
{
public class DesktopDisplayMetrics
{

View file

@ -1,5 +1,5 @@

namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
partial class NameDbEntry
{

View file

@ -8,7 +8,7 @@ using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
public partial class NameDbEntry : Form
{

View file

@ -14,11 +14,11 @@ using Microsoft.Win32;
using LiteDB;
using Ninjacrab.PersistentWindows.Common.Diagnostics;
using Ninjacrab.PersistentWindows.Common.Models;
using Ninjacrab.PersistentWindows.Common.WinApiBridge;
using PersistentWindows.Common.Diagnostics;
using PersistentWindows.Common.Models;
using PersistentWindows.Common.WinApiBridge;
namespace Ninjacrab.PersistentWindows.Common
namespace PersistentWindows.Common
{
public class PersistentWindowProcessor : IDisposable
{

View file

@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
[StructLayout(LayoutKind.Sequential)]
public struct CallWindowProcedureParam

View file

@ -2,7 +2,7 @@
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
public class Display
{

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Auto)]
public struct MonitorInfo

View file

@ -1,6 +1,6 @@
using System;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
[Flags()]
public enum SetWindowPosFlags : uint

View file

@ -1,4 +1,4 @@
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
public enum ShowWindowCommands
{

View file

@ -2,7 +2,7 @@ using System;
using System.Text;
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
/**
* This is a subset of events from winuser.h.

View file

@ -1,6 +1,6 @@
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
//[StructLayout(LayoutKind.Sequential)]
public struct WindowPlacement

View file

@ -1,6 +1,6 @@
using System;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
/// <summary>
/// Windows Messages

View file

@ -1,7 +1,7 @@
using System;
using System.Runtime.InteropServices;
namespace Ninjacrab.PersistentWindows.Common.WinApiBridge
namespace PersistentWindows.Common.WinApiBridge
{
/*
[StructLayout(LayoutKind.Sequential)]

View file

@ -3,9 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.28307.960
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ninjacrab.PersistentWindows.Common", "Ninjacrab.PersistentWindows.Common\Ninjacrab.PersistentWindows.Common.csproj", "{4CC8B3FB-214B-42AB-8AAE-E7DC5E266EF0}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PersistentWindows.Common", "Common\Common.csproj", "{4CC8B3FB-214B-42AB-8AAE-E7DC5E266EF0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Ninjacrab.PersistentWindows.SystrayShell", "Ninjacrab.PersistentWindows.SystrayShell\Ninjacrab.PersistentWindows.SystrayShell.csproj", "{A728279C-F567-4E54-8BC6-90A66DC3EF57}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PersistentWindows.SystrayShell", "SystrayShell\SystrayShell.csproj", "{A728279C-F567-4E54-8BC6-90A66DC3EF57}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View file

@ -4,11 +4,11 @@ using System.Threading;
using System.Windows.Forms;
using System.Diagnostics;
using Ninjacrab.PersistentWindows.Common;
using Ninjacrab.PersistentWindows.Common.WinApiBridge;
using Ninjacrab.PersistentWindows.Common.Diagnostics;
using PersistentWindows.Common;
using PersistentWindows.Common.WinApiBridge;
using PersistentWindows.Common.Diagnostics;
namespace Ninjacrab.PersistentWindows.SystrayShell
namespace PersistentWindows.SystrayShell
{
static class Program
{

View file

@ -8,7 +8,7 @@
// </auto-generated>
//------------------------------------------------------------------------------
namespace Ninjacrab.PersistentWindows.SystrayShell.Properties {
namespace PersistentWindows.SystrayShell.Properties {
using System;
@ -19,7 +19,7 @@ namespace Ninjacrab.PersistentWindows.SystrayShell.Properties {
// 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", "15.0.0.0")]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Resources {
@ -39,7 +39,7 @@ namespace Ninjacrab.PersistentWindows.SystrayShell.Properties {
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Ninjacrab.PersistentWindows.SystrayShell.Properties.Resources", typeof(Resources).Assembly);
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("PersistentWindows.SystrayShell.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
@ -69,6 +69,10 @@ namespace Ninjacrab.PersistentWindows.SystrayShell.Properties {
return ((System.Drawing.Icon)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Drawing.Icon similar to (Icon).
/// </summary>
internal static System.Drawing.Icon pwIconBusy {
get {
object obj = ResourceManager.GetObject("pwIconBusy", resourceCulture);

View file

@ -1,28 +1,24 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.34014
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace Ninjacrab.PersistentWindows.SystrayShell.Properties
{
namespace PersistentWindows.SystrayShell.Properties {
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
{
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.10.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
{
public static Settings Default {
get {
return defaultInstance;
}
}

View file

@ -1,6 +1,6 @@
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.SystrayShell
namespace PersistentWindows.SystrayShell
{
partial class SplashForm
{

View file

@ -1,7 +1,7 @@
using System;
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.SystrayShell
namespace PersistentWindows.SystrayShell
{
public partial class SplashForm : Form
{

View file

@ -1,6 +1,6 @@
using System.Windows.Forms;
namespace Ninjacrab.PersistentWindows.SystrayShell
namespace PersistentWindows.SystrayShell
{
static class Globals
{

View file

@ -7,11 +7,11 @@ using System.Timers;
using System.IO;
using System.IO.Compression;
using Ninjacrab.PersistentWindows.Common;
using Ninjacrab.PersistentWindows.Common.Diagnostics;
using Ninjacrab.PersistentWindows.Common.WinApiBridge;
using PersistentWindows.Common;
using PersistentWindows.Common.Diagnostics;
using PersistentWindows.Common.WinApiBridge;
namespace Ninjacrab.PersistentWindows.SystrayShell
namespace PersistentWindows.SystrayShell
{
public partial class SystrayForm : Form
{

View file

@ -7,7 +7,7 @@
<ProjectGuid>{A728279C-F567-4E54-8BC6-90A66DC3EF57}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Ninjacrab.PersistentWindows.SystrayShell</RootNamespace>
<RootNamespace>PersistentWindows.SystrayShell</RootNamespace>
<AssemblyName>PersistentWindows</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
@ -107,9 +107,9 @@
</None>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Ninjacrab.PersistentWindows.Common\Ninjacrab.PersistentWindows.Common.csproj">
<ProjectReference Include="..\Common\Common.csproj">
<Project>{4cc8b3fb-214b-42ab-8aae-e7dc5e266ef0}</Project>
<Name>Ninjacrab.PersistentWindows.Common</Name>
<Name>PersistentWindows.Common</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>