Пример #1
0
        /// <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();
        }
Пример #2
0
 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();
     }
 }