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
function arrange(windows) | |
{ | |
var i = 0; | |
var maxHeight = 0; | |
var currentX = 0; | |
var currentY = 0; | |
var maxWidth = window.innerWidth; | |
var padding = 10; | |
var paddingY = 30; | |
for (i=0;i<windows.length;i++) |
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
function cascadeArrange(windows) | |
{ | |
var i = 0; | |
var maxHeight = 0; | |
var currentX = 50; | |
var currentY = 50; | |
var maxWidth = window.innerWidth; | |
var padding = 50; | |
var paddingY = 30; | |
for (i=0;i<windows.length;i++) |
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 HtmlAgilityPack; | |
using System.Collections.Specialized; | |
using System.IO; | |
using System.Net; | |
using System.Web.Mvc; | |
namespace WebApplication9.Controllers | |
{ | |
public class ProxyController : Controller | |
{ |
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
public class Class1 {} |
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.Web; | |
using System.Web.SessionState; | |
namespace UpgradeHelpers.WebMap.Server | |
{ | |
public class OnlineUsersModule : IHttpModule | |
{ | |
private static Int32 _sessionTimeOut = 20; // Set Default to 20 Minutes |
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
VERSION 5.00 | |
Begin VB.Form Form1 | |
Caption = "Drag and Drop" | |
ClientHeight = 3195 | |
ClientLeft = 6180 | |
ClientTop = 5730 | |
ClientWidth = 4680 | |
LinkTopic = "Form1" | |
ScaleHeight = 3195 | |
ScaleWidth = 4680 |
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.Windows.Forms; | |
namespace WindowsFormsApplication8 | |
{ | |
public partial class Form1 : Form | |
{ | |
public Form1() | |
{ | |
InitializeComponent(); |
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.Collections.Generic; | |
namespace System.Windows.Forms | |
{ | |
public static class DragAndDropExtensions | |
{ | |
static HashSet<Type> draggedTypes = new HashSet<Type>(); | |
public static void BeginDrag(this Control c) | |
{ | |
draggedTypes.Add(c.GetType()); |
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
function getOpenKendoWindows() { | |
return $(".k-window-content").map( | |
function(idx){ | |
var kwin = $(this).data("kendoWindow"); | |
return kwin; }) | |
} |
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
Option Compare Database | |
Sub AllForms() | |
Dim obj As AccessObject, dbs As Object | |
Set dbs = Application.CurrentProject | |
' Search for open AccessObject objects in AllForms collection. | |
For Each obj In dbs.AllForms | |
If obj.IsLoaded = True Then | |
' Print name of obj. | |
OlderNewer