private void RegAsTrader_Click(object sender, RoutedEventArgs e) { TraderRegister reg = new TraderRegister(); reg.Show(); this.Close(); }