Ejemplo n.º 1
0
    static public void Main()
    {
        IrcClient irc = new IrcClient(
            "irc.twitch.tv",
            6667,
            "flav__bot",
            "oauth:yx9llpk5k7fjq64895vqifadgy0fke");

        graphics box = new graphics();

        box.configure();

        /*
         *
         * string inputMessage;
         * irc.joinRoom("flav__");
         *
         *
         * while(true) {
         *
         *      inputMessage = irc.readMessage();
         * Console.ForegroundColor = ConsoleColor.DarkGreen;
         *
         *      Console.WriteLine("$> " + inputMessage);
         *
         *      Console.ResetColor();
         *      irc.parse(inputMessage);
         * }*/
    }
Ejemplo n.º 2
0
 public graph(Graphics pikcha)
 {
     gr = new graphics(pikcha);
     v1 = v2 = -1;
 }
Ejemplo n.º 3
0
 handleRef = new HandleRef(graphics, graphics.GetHdc());