public Sockets(ChannelClass l, frmMain m, ChannelHandler c) { log = l; main = m; channel = c; admin = new List<string>(); level = 1; }
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(); }
public FileIO(ChannelClass l) { log = l; }