This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
set -euo pipefail | |
# List all custom domains of all endpoints of all CDN profiles of all subscriptions | |
echo "CUSTOM_DOMAIN,ENDPOINT_NAME,CDN_NAME,RESOURCE_GROUP,SUBSCRIPTION" | |
SUBSCRIPTIONS=$(az account list --query "[].{id:id}" -o tsv) | |
echo "$SUBSCRIPTIONS" | while read -r SUBSCRIPTION | |
do | |
az account set --subscription $SUBSCRIPTION |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[DllImport("user32.dll")] | |
public static extern int ToUnicode(uint virtualKeyCode, uint scanCode, | |
byte[] keyboardState, | |
[Out, MarshalAs(UnmanagedType.LPWStr, SizeConst = 64)] | |
StringBuilder receivingBuffer, | |
int bufferSize, uint flags); | |
/// <summary> | |
/// https://stackoverflow.com/a/6949520/450141 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs b/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
index b97bf79f..1f454947 100644 | |
--- a/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
+++ b/CefSharp.WinForms.Example/BrowserTabUserControl.Designer.cs | |
@@ -1,4 +1,6 @@ | |
-<U+FEFF>namespace CefSharp.WinForms.Example | |
+<U+FEFF>using System.Windows.Forms; | |
+ | |
+namespace CefSharp.WinForms.Example | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ChromeWidgetMessageInterceptor chromeWidgetMessageInterceptor; | |
private void OnIsBrowserInitializedChanged(object sender, IsBrowserInitializedChangedEventArgs args) | |
{ | |
if (args.IsBrowserInitialized) | |
{ | |
SetupChromeWidgetMessageInterceptor(); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved. | |
// | |
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. | |
using System; | |
using System.Diagnostics; | |
using System.IO; | |
using System.Threading; | |
using System.Threading.Tasks; | |
using CefSharp.Example; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Runtime.InteropServices; | |
using System.Windows.Forms; | |
public class ControlSnapshot | |
{ | |
public static Bitmap Snapshot(Control c) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Drawing; | |
using System.Drawing.Imaging; | |
using System.Threading.Tasks; | |
using System.Windows; | |
using System.Windows.Interop; | |
using System.Windows.Media; | |
using System.Windows.Media.Imaging; | |
using CefSharp; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From c4493f98dd1742bda6818cda48dd52d9dd7d419c Mon Sep 17 00:00:00 2001 | |
From: jankurianski <[email protected]> | |
Date: Mon, 13 Oct 2014 23:55:09 +1100 | |
Subject: [PATCH] Browser now docks properly on startup | |
--- | |
.../BrowserTabUserControl.Designer.cs | 3 ++- | |
CefSharp.WinForms.Example/BrowserTabUserControl.cs | 18 ------------------ | |
2 files changed, 2 insertions(+), 19 deletions(-) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool setInitialSize = false; | |
protected override void OnSizeChanged(EventArgs e) | |
{ | |
base.OnSizeChanged(e); | |
if (setInitialSize && managedCefBrowserAdapter != null) | |
managedCefBrowserAdapter.OnSizeChanged(); | |
} | |
protected override void OnVisibleChanged(EventArgs e) |