Beispiel #1
0
 public Sockets(ChannelClass l, frmMain m, ChannelHandler c)
 {
     log = l;
     main = m;
     channel = c;
     admin = new List<string>();
     level = 1;
 }
Beispiel #2
0
        public frmMain()
        {
            InitializeComponent();

            channel = new ChannelHandler(tab);
            channel.createChannel("main");

            log = channel.getChannel("main");

            /*
            // check if install is needed
            FileIO file = new FileIO(log);
            if (file.needInstall())
            { // if it needs to install
                file.performInstall(this);
            }*/

            socket = new Sockets(log, this, channel);

            // attempt to connect

            connect = new Thread(socket.connect);
            connect.Start();
        }
Beispiel #3
0
 public FileIO(ChannelClass l)
 {
     log = l;
 }