I hereby claim:
- I am maximilian-krauss on github.
- I am maximilian (https://keybase.io/maximilian) on keybase.
- I have a public key whose fingerprint is 83CA 569E 408F 88D2 E0D1 7E7D AAFB 2BD2 4929 04B5
To claim this, I am signing this object:
' (c) TommyB http://shotty.devs-on.net | |
MyBase.KeyPreview = True | |
' ... | |
Private Sub Me_KeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) Handles Me.KeyDown | |
Dim SelectedNode As TreeNode = NaviTreeView.SelectedNode |
#Region " Asynchroner Updatespaß " | |
Private Sub btnRunAsync_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRunAsync.Click | |
'Updatesuche anstoßen | |
upctrlMain.checkForUpdatesAsync() | |
End Sub | |
'Dieses Event wird in jedem Falle nach Abschluß der Updatesuche gefeuert. | |
'Also bei gefundenen Updates, keinen neuen Updates und auch im Fehlerfall. | |
Private Sub upctrlMain_checkForUpdatesCompleted(ByVal sender As Object, ByVal e As updateSystemDotNet.appEventArgs.checkForUpdatesCompletedEventArgs) Handles upctrlMain.checkForUpdatesCompleted |
using System;using System.Collections.Generic;using System.Linq;using System.Windows.Forms;using System.Drawing;class T { class L : Control { List<Point> dataPoints = new List<Point>(); public delegate void LeMoveHandler(object sender, Point cords); public event LeMoveHandler LeMove; public L() { SetStyle(ControlStyles.OptimizedDoubleBuffer, true); MouseMove += (o, e) => { Invalidate(); onLeMove(); }; MouseLeave += (o, e) => { Invalidate(); onLeMove(); }; Click += (o, e) => { dataPoints.Add(PointToClient(new Point(MousePosition.X, MousePosition.Y))); Invalidate(); }; } void onLeMove() { if (LeMove != null) LeMove(this, PointToClient(new Point(MousePosition.X, MousePosition.Y))); } protected override void OnPaint(PaintEventArgs e) { e.Graphics.FillRectangle(new SolidBrush(BackColor), ClientRectangle); dataPoints.ForEach(p => e.Graphics.FillRectangle(Brushes.Green, new Rectangle(new Point(p.X - (6 / 2), p.Y - (6 / 2)), new Size(6, 6)))); if (dataPoints.Count > 1) e.Graphics.DrawLines(Pens.Yellow, dataPoints.ToA |
using System.ComponentModel; | |
using System.Diagnostics; | |
using System.Drawing.Design; | |
using System.Text.RegularExpressions; | |
using System.Windows.Forms; | |
/* | |
* linkLabelEx - Ein Linklabel with BB-Code | |
* Copyright (c) 2012 by Maximilian Krauss | |
* http://kraussz.com |
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel.Composition; | |
using System.ComponentModel.Composition.Hosting; | |
using System.Linq; | |
using System.Reflection; | |
using System.Text; | |
namespace ConsoleApplication1 { | |
class Program { |
using System; | |
using System.Collections.Generic; | |
using System.Globalization; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Net; | |
using System.Web; | |
namespace coffeeInjection { |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using System.Text; | |
using System.Xml.Serialization; | |
namespace kraussHQ { | |
public sealed class BlobCacheEntry { |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Security.Cryptography; | |
using System.IO; | |
using System.Runtime.Serialization.Json; | |
using System.Runtime.Serialization; | |
// Add reference to System.Runtime.Serialization.dll |
static class UriHelper { | |
public static Uri Combine(params string[] parts) { | |
var raw = new StringBuilder(); | |
for (int i = 0; i < parts.Length; i++) { | |
var p = parts[i]; | |
if (p.StartsWith("/")) | |
p = p.Substring(1); | |
raw.Append( | |
p.EndsWith("/") || i == parts.Length - 1 ? p : p + "/" |
I hereby claim:
To claim this, I am signing this object: