/// <summary> /// Button Logic: Method for switching back to simple interface /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void NonAdvSetting_Click(object sender, RoutedEventArgs e) { this.Close(); clientGUI clientGUI = new clientGUI(); clientGUI.Title = "Client Settings"; clientGUI.Width = 400; clientGUI.Height = 400; clientGUI.ShowDialog(); }
static void Main(string[] args) { if (args != null) { argParser(args); } else { //setting up of clientGUI window clientGUI gUI = new clientGUI(); gUI.Title = "Client"; gUI.Width = 400; gUI.Height = 400; gUI.ShowDialog(); } }