What do you want to save?
Add Code snippet
New code examples
-
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 -
Other 2021-11-16 09:54:35
file reader in loopback 4
// MyModel.js import fs = require('fs'); import xml = require('xml') import csv = require('csv') export function import(info, callback) { // Get the current database connection. var ds = this.dataSource.connector; // ***********************... 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 -
Other 2021-11-14 05:23:23
prevent system shutdown c#
public partial class Form1 : Form { [DllImport("user32.dll")] public extern static bool ShutdownBlockReasonCreate(IntPtr hWnd, [MarshalAs(UnmanagedType.LPWStr)] string pwszReason); private bool blocked = false; protected overri... Add solution -
C# 2021-11-09 00:32:10
c# postmessage mouse click
[DllImport("user32.dll")] static extern bool PostMessage(IntPtr hWnd, uint Msg, int wParam, int lParam); const int WM_LBUTTONDOWN = 0x0201; const int WM_LBUTTONUP = 0x0202; PostMessage(hWnd, WM_LBUTTONDOWN, 1, 0); PostMessage(hWnd, WM_LBUTTONU... Add solution