Translate

Freitag, 25. Dezember 2015

Super Kommunikation an der FH-Stipendienmail

Absolut genial, diese Kommunikation :D

Access Datenbank .mdb Passwort knacken

C#-Jedes Auftreten eines Textes in einer Richtextox farbig markieren

private void ColorAllAppearencesInRichTextBox(RichTextBox richTextBox, string appearence, Color color, int start)
        {
            int current = 0;
            RichTextBoxFinds options = RichTextBoxFinds.MatchCase;
            Action action = () => start = richTextBox.Find(appearence, start, options);
            richTextBox.Invoke(action);
            while (start >= 0)
            {
                action = () => richTextBox.SelectionStart = start;
                richTextBox.Invoke(action);
                action = () => richTextBox.SelectionLength = appearence.Length;
                richTextBox.Invoke(action);
                action = () => richTextBox.SelectionColor = color;
                richTextBox.Invoke(action);

                current = start + appearence.Length;

                int tempRichTextBoxTextLength = 0;
                action = () => tempRichTextBoxTextLength = richTextBox.TextLength;
                richTextBox.Invoke(action);

                if (current < tempRichTextBoxTextLength)
                {
                    action = () => start = richTextBox.Find(appearence, current, options);
                    richTextBox.Invoke(action);
                }
                else
                {
                    if(color == Color.Red)
                    {
                        currentRed = current;
                    }
                    else if (color == Color.Green)
                    {
                        currentGreen = current;
                    }
                    break;
                }
            }
        }


Beim ersten Run:

0 als start mitgeben,

sonst Wert in globalen Variablen zwischenspeichern und diese als start mitgeben:

        private int currentRed = 0;
        private int currentGreen = 0;

C# Chatserver

C#-IntLength

public static int IntLength(int i)
        {
            if (i < 0)
            {
                throw new ArgumentOutOfRangeException();
            } 
            if (i == 0)
            {
                return 1;
            }
            return (int)Math.Floor(Math.Log10(i)) + 1;
        }

Stundenlohnberechnung

C# GUI Invoke

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace GHP_MOUNT.Extensions
{
    public static class ControlExtensions
    {
        static public void UIThread(this Control control, Action code)
        {
            if (control.InvokeRequired)
            {
                control.BeginInvoke(code);
                return;
            }
            code.Invoke();
        }

        static public void UIThreadInvoke(this Control control, Action code)
        {
            if (control.InvokeRequired)
            {
                control.Invoke(code);
                return;
            }
            code.Invoke();
        }
    }
}

Lifehacks communication skills

Lifehakc

Coole Icons

Zeitzonentabelle

VB zu C# und Cross-Platform-Development

http://stackoverflow.com/questions/25112982/how-convert-vb-project-to-c-sharp-project
https://msdn.microsoft.com/en-us/library/dn771552.aspx

Urteil - Schmerzensgeld bei Cyber-Mobbing durch Kinder

Apple iPhone – Unangebracht hoher Datenverbrauch führt zu Sammelklage

Windows 10 - Verbraucherzentrale klagt gegen Microsoft

Sanrio - Datenbank des Hello-Kitty-Herstellers gehackt

Gesundheitsrisiko - BfS veröffentlicht Strahlenwerte von Handys

VG Wort: Studenten können noch auf Skripte hoffen

http://www.golem.de/news/vg-wort-studenten-muessen-bald-mehr-recherchieren-1512-117905.html

Jeff Bezos and Elon Musk spar over gravity of Blue Origin rocket landing oder warum Elon Musk besser ist

Jeff Bezos and Elon Musk spar over gravity of Blue Origin rocket landing oder warum Elon Musk besser ist

Wikipedia-Seite Oonagh

How to upload to the Usenet

Kostenloser Usenet-Zugang

IlSpy-Debugging von Apps mit IlSpy

IlSpy-Inspizieren von dlls und exes

Hot 5: "Bei meinen Brüsten sabbern die Männer" #3 | taff

redcoon Web-Doku Auflösung "Flitzer"

Micaela Schäfer sexy Fotoshooting

SAT1, pin, 19.10.2012, 19.30h Micaela Schäfer

Micaela Schäfer In Ice Bucket Challenge

Micaela Schäfer - Interview "Brüste zeigen mit Niveau"

Nacktinterview mit Micaela Schäfer in der Badewanne

MJMMM und Micaela Schäfer nackig

Pornos schauen mit einem Pornostar | Lexy Roxx

Brüste grabschen mit BeHaind | Venus 2014

Donnerstag, 24. Dezember 2015

Katja Krasavice vögelt alle!? | Marry Fuck Kill

Backstage knutschen mit Mia Julia

Micaela Schäfer oben ohne | Oktoberfest 2015

WER WILL MEINE TITTEN ANFASSEN? | Katja Krasavice

Brüste & Pornos mit Micaela Schäfer und Nina Kristin | Venus 2014

Pornos, Vorbilder & das 1. Mal - Micaela Schäfer und Sophia Wollersheim im Interview

Sarah and Ashliegh Wood Romantic Hot Scenes Big Brother Canada Season 3

Sarah and Willow Behaving as Lesbian | Kissing and Hugging Scenes | BBCAN Season 3

Tittenalarm!!! Micaela Schäfer und Mia Julia zeigen Brüste | Venus 2015

Sarah and Willow Bed And Pool Hot Scenes In Big Brother Canada Season 3

Ava und Zeljko im Pool Big Brother VIP

Alex sharon Kiss

Sharon sieht alles nur als Spiel | Tag 29 | Big Brother | sixx

I'm sexy and i know it! | Promi Big Brother | Tag 4 | SAT.1

Sexy Start in den Tag | Tag 21 | Big Brother | sixx

Pralle Brüste zum Anfassen | Tag 18 | Big Brother | sixx

Wer will Micaela Schäfers Brüste anfassen?

Jella Haase kann nicht nur Chantal - TV total

Coole Whatsapp-Bilder











TOTY-Team of the year bei der uefa wählen




Kostenloses Fußball-Livestreaming (Bundesliga, Premier League, etc)

Samstag, 28. November 2015

Windows Schattenkopien löschen

C# Write Class elements to XML file


private void writeUnitIDToXMLDocument(UnitIDSafe uidSafe)
        {
            XmlWriter writer;
            XmlWriterSettings settings = new XmlWriterSettings();
            settings.Indent = true;
            settings.IndentChars = "    ";
            settings.OmitXmlDeclaration = false;
            settings.NewLineOnAttributes = true;

            using (writer = XmlWriter.Create("UnitIDSafe.xml", settings))
            {
                writer.WriteStartDocument();
                writer.WriteStartElement("UnitIDSafe");
                writer.WriteElementString("UID", uidSafe.UID);
                writer.WriteElementString("RemovablePrefix", uidSafe.RemovablePrefix);
                writer.WriteEndElement();
                writer.WriteEndDocument();
            }
        }


Klasse UnitIdSafe:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace something
{
    public class UnitIDSafe
    {
        string uid;
        string removablePrefix;

        public string UID
        {
            get
            {
                return uid;
            }
            set
            {
                uid = value;
            }
        }
        public string RemovablePrefix
        {
            get
            {
                return removablePrefix;
            }
            set
            {
                removablePrefix = value;
            }
        }
    }
}