ArtemisComm.Proxy.UI.SQLLogger.MainWindow.MainWindow C# (CSharp) Méthode

MainWindow() public méthode

public MainWindow ( ) : ArtemisComm.Proxy.Logger
Résultat ArtemisComm.Proxy.Logger
        public MainWindow()
        {
            ServerHost = Properties.Settings.Default.LastServerHost;
            ServerPort = Properties.Settings.Default.LastServerPort;
            ListeningPort = Properties.Settings.Default.LastClientListeningPort;
            if (string.IsNullOrEmpty(SQLConnection))
            {
                SQLConnection = ArtemisComm.Proxy.UI.SQLLogger.Properties.Settings.Default.ArtemisProxyLoggingConnectionString;
                SQLConnection = "Data Source=.\\SQLEXPRESS;Initial Catalog=ArtemisProxyLogging;Integrated Security=True";
            }
            InitializeComponent();
        }