static void Main() { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); var help = new ServerForm(); if (help.auth) { Application.Run(help);//new ServerForm()); } }
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(); } }
public ServerSocket(ServerForm form) { this.form = form; }
public ServerThread(ServerForm serverForm) { this.serverForm = serverForm; }