What do you want to save?
Add Code snippet
New code examples
-
C# 2021-11-22 13:03:22
c# make form draggable
[DllImport("user32")] private static extern bool ReleaseCapture(); [DllImport("user32")] private static extern int SendMessage(IntPtr hWnd, int Msg, int wp, int lp); protected override void OnMouseDown(MouseEventArgs e) { base.OnM... Add solution -
C# 2021-11-22 13:02:46
c# make form draggable
[DllImport("user32")] private static extern bool ReleaseCapture(); [DllImport("user32")] private static extern int SendMessage(IntPtr hWnd, int Msg, int wp, int lp); protected override void OnMouseDown(MouseEventArgs e) { base.OnM... Add solution -
C# 2021-11-22 13:02:41
c# make form draggable
[DllImport("user32")] private static extern bool ReleaseCapture(); [DllImport("user32")] private static extern int SendMessage(IntPtr hWnd, int Msg, int wp, int lp); protected override void OnMouseDown(MouseEventArgs e) { base.OnM... Add solution -
C# 2021-11-17 09:10:14
c# Console Font
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Drawing; namespace ConsoleExtender { [StructLayout(LayoutKind.Sequential, Pack = 1)] public struct ConsoleFon... Add solution -
C# 2021-11-15 11:43:17
unity transparent game
using System; using System.Runtime.InteropServices; using System.Collections; using System.Collections.Generic; using UnityEngine; public class Transparency : MonoBehaviour { [DllImport("user32.dll")] public static extern int Messa... Add solution -
C# 2021-10-27 20:13:08
hide console window c#
[DllImport("kernel32.dll")] static extern IntPtr GetConsoleWindow(); [DllImport("user32.dll")] static extern bool ShowWindow(IntPtr hWnd, int nCmdShow); const int SW_HIDE = 0; const int SW_SHOW = 5; // Usage: var handle = GetConsole... Add solution -
C# 2021-10-13 19:35:07
how to make an auto clicker UNITY
//Yes you can make an autoclicker in unity //Source: https://www.codeproject.com/Articles/15406/Creating-a-Simple-Autoclicker //NOTE: YOU NEED TO NAME YOUR SCIRPT "AutoClicker" //Here is some code (press tab to start autoclicker): using Syst... Add solution -
Other 2021-10-11 00:47:03
import User32.dll into Visual Studio code
using System; using System.Runtime.InteropServices; class Example { // Use DllImport to import the Win32 MessageBox function. [DllImport("user32.dll", CharSet = CharSet.Unicode)] public static extern int MessageBox(IntPtr hWnd, Stri... Add solution -
C# 2021-10-03 13:18:05
dispose method in c# with example
using Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; public class DisposableStreamResource : IDisposable { // Define constants. protected const uint GENERIC_READ = 0x80000000; protected const uint FILE_SHARE_... Add solution
Best helpers
Rlw
+5
John Rualo
+5
Michael Wang
+5
Heavens
+5
Calvino
+5
Withparadox2
+5
SuzyTypehead
+5
Aj Morales
+5