public void login(string windowsname) { Tool_Class.IO_tool tool = new Tool_Class.IO_tool(); tool.writeconfig("lg", "wname", windowsname); CobasITMonitor.login lg = new login(); lg.ShowDialog(); }
private void ipconfig_Load(object sender, EventArgs e) { this.timer1.Enabled = true; login lg = new login(); lg.Hide(); }