What do you want to save?
Add Code snippet
New code examples
-
C# 2021-08-29 07:15:02
low level keyboard hook c#
using System; using System.Diagnostics; using System.Windows.Forms; using System.Runtime.InteropServices; class InterceptKeys { private const int WH_KEYBOARD_LL = 13; private const int WM_KEYDOWN = 0x0100; private static LowLevelKeyboa... Add solution -
-
Python 2021-08-28 00:14:01
python date range widget
from django import forms from bootstrap_daterangepicker import widgets, fields class DemoForm(forms.Form): # Date Picker Fields date_single_normal = fields.DateField() date_single_with_format = fields.DateField( input_formats=['%d/%m... Add solution -
Javascript 2021-08-27 23:47:02
javascript submit a form with id
// 1. Acquire a reference to our <form>. // This can also be done by setting <form name="blub" id="myAwsomeForm">: // var form = document.forms.blub; var form = document.getElementById("myAwsomeForm"); ... Add solution -
C# 2021-08-27 22:51:01
c# xamarin forms use AssetManager to get text file
// c# Xamarin Forms for Andriod strin text = string.Empty; string filename = "TestList.txt"; AssetManager assets = Android.App.Application.Context.Assets; using (StreamReader reader = new StreamReader(assets.Open(filename))) { text = reader... Add solution