public ConnectionParametersWindow() { InitializeComponent(); textBoxIp.Text = XML.ReadXML(XML.CheckOrCreateXML())[0]; textBoxPort.Text = XML.ReadXML(XML.CheckOrCreateXML())[1]; }