Advertisement
Guest User

Untitled

a guest
Jun 21st, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.36 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using System.Net;
  11. using System.Net.Sockets;
  12.  
  13. namespace GroßesProjekt
  14. {
  15.     public enum Größen
  16.     {
  17.         Klein = 1,
  18.         Mittel = 2,
  19.         Groß= 3
  20.     };
  21.  
  22.     public class GlobaleVariablen
  23.     {
  24.         public static bool isIp = false;
  25.         public static bool isChat = false;
  26.  
  27.         public static Color HintergrundFarbe = Color.White;
  28.         public static Color TextboxFarbe = Color.Gray;
  29.         public static Color ButtonFarbe= Color.Gray;
  30.  
  31.         public static Color TextFarbe = Color.Black;
  32.         public static Color ButtonTextFarbe = Color.Black;
  33.  
  34.         public static string UserName = "Unknown";
  35.         public static string IpDesAnderen = "127.0.0.1";
  36.         public static TcpClient ClientSocket = new TcpClient("localhost", 4662);
  37.         public static int ChatroomVerschlüsslung = 5;
  38.  
  39.         public static List<string> ErhalteneIpMessages = new List<string>();
  40.         public static List<string> ErhalteneChatroomMessages = new List<string>();
  41.  
  42.         public static Größen GrößeDesChatrooms = Größen.Klein;
  43.         public static Größen GrößeDesIpMessengers = Größen.Klein;
  44.        
  45.     }
  46. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement