Why where imports broken?
This commit is contained in:
parent
f6950a0d4c
commit
5f3fb98999
|
@ -1,4 +1,8 @@
|
|||
using CC_Functions.W32.DCDrawer;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.DCDrawer;
|
||||
using CC_Functions.W32.Forms;
|
||||
using CC_Functions.W32.Hooks;
|
||||
using static CC_Functions.W32.Power;
|
||||
|
@ -22,7 +26,7 @@ namespace CC_Functions.W32.Test
|
|||
_mainF = this;
|
||||
_tmpWnd32Obj = Wnd32.FromForm(this);
|
||||
#if DEBUG
|
||||
tmpWnd32_obj.MakeOverlay();
|
||||
_tmpWnd32Obj.Overlay = true;
|
||||
#endif
|
||||
set_up_box(power_mode_box, typeof(ShutdownMode));
|
||||
set_up_box(power_reason_box, typeof(ShutdownReason));
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Test
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Test
|
||||
{
|
||||
internal static class Program
|
||||
{
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace CC_Functions.W32.DCDrawer
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.DCDrawer
|
||||
{
|
||||
public class DCBuffered : IDCDrawer
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32.DCDrawer
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.DCDrawer
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace CC_Functions.W32.DCDrawer
|
||||
{
|
||||
public interface IDCDrawer : IDisposable
|
||||
{
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
using CC_Functions.W32.DCDrawer;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using CC_Functions.W32.DCDrawer;
|
||||
using CC_Functions.W32.Native;
|
||||
using Microsoft.Win32;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
|
@ -1,3 +1,11 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
public class DataGridViewNumericUpDownCell : DataGridViewTextBoxCell
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
/// <summary>
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
namespace CC_Functions.W32.Forms
|
||||
using System;
|
||||
using System.Linq.Expressions;
|
||||
using System.Reflection;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
public delegate void SetPropertyDelegate<TCtl, TProp>(TCtl control, Expression<Func<TCtl, TProp>> propexpr,
|
||||
TProp value) where TCtl : Control;
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
using Timer = System.Timers.Timer;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Drawing2D;
|
||||
using System.Windows.Forms;
|
||||
using Timer = System.Timers.Timer;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace CC_Functions.W32.Forms
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Forms
|
||||
{
|
||||
internal partial class SelectBox<T> : Form
|
||||
{
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace CC_Functions.W32
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
public static class GenericExtensions
|
||||
{
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32.Hooks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Hooks
|
||||
using System;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CC_Functions.W32.Hooks
|
||||
{
|
||||
public sealed class KeyboardHookEventArgs : EventArgs
|
||||
{
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Runtime.InteropServices;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32.Hooks
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Hooks
|
||||
using System;
|
||||
using System.Drawing;
|
||||
|
||||
namespace CC_Functions.W32.Hooks
|
||||
{
|
||||
public class MouseHookEventArgs : EventArgs
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public struct RECT
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class advapi32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class gdi32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class kernel32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class ntdll
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class shell32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
namespace CC_Functions.W32.Native
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
|
||||
namespace CC_Functions.W32.Native
|
||||
{
|
||||
internal static class user32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using CC_Functions.W32.Native;
|
||||
using static CC_Functions.W32.Privileges;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Globalization;
|
||||
using System.Runtime.InteropServices;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
using CC_Functions.W32.DCDrawer;
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.DCDrawer;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
namespace CC_Functions.W32
|
||||
using System.Security.Principal;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
public static class MiscFunctions
|
||||
{
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
11
W32/Wnd32.cs
11
W32/Wnd32.cs
|
@ -1,4 +1,13 @@
|
|||
using CC_Functions.W32.Native;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using CC_Functions.W32.Native;
|
||||
|
||||
namespace CC_Functions.W32
|
||||
{
|
||||
|
|
Reference in New Issue