예제 #1
0
        private void ButtonDisconnect_Click(object sender, RoutedEventArgs e)
        {
            _Tcpclient.Discconect();
            MainWindow okno = new MainWindow();

            okno.Left = this.Left;
            okno.Top  = this.Top;
            this.Close();
            okno.ShowDialog();
        }