Example #1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var help = new ServerForm();

            if (help.auth)
            {
                Application.Run(help);//new ServerForm());
            }
        }
Example #2
0
        public LoginForm(ServerForm form1)
        {
            InitializeComponent();

            this.form1 = form1;
            try
            {
                userRows.ReadXml("user_data.xml");
            }
            catch (System.IO.FileNotFoundException)
            {
                userRows.WriteXml("user_data.xml");
            }
            catch (Exception e)
            {
                label1.Text = e.ToString();
            }
        }
Example #3
0
 public ServerSocket(ServerForm form)
 {
     this.form = form;
 }
Example #4
0
 public ServerThread(ServerForm serverForm)
 {
     this.serverForm = serverForm;
 }