How can we help you today? How can we help you today?
anand.mohan
Hi Jessica, below is my sample project code in this i had added a hyperlink button and a button & on the click of it i am trying to open a child window. It is running fine without obfuscation but after obfuscation its not getting popped-up. Please look into this, using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Animation; using System.Windows.Shapes; namespace Child_Window { public partial class MainPage : UserControl { public MainPage() { InitializeComponent(); } private void button1_Click(object sender, RoutedEventArgs e) { demo objdemo = new demo(); objdemo.Show(); } private void hyperlinkButton1_Click(object sender, RoutedEventArgs e) { demo objdemo = new demo(); objdemo.Show(); } } } XAML, <UserControl x:Class="Child_Window.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400"> <Grid x:Name="LayoutRoot" Background="White"> <HyperlinkButton Content="Click to Open Smart Assembly" Height="23" HorizontalAlignment="Left" Margin="108,79,0,0" Name="hyperlinkButton1" VerticalAlignment="Top" Width="175" Click="hyperlinkButton1_Click" /> <Button Content="Click to Open Smart Assembly" Height="23" HorizontalAlignment="Left" Margin="92,147,0,0" Name="button1" VerticalAlignment="Top" Width="191" Click="button1_Click" /> </Grid> </UserControl> Thanks & Regards: / comments
Hi Jessica, below is my sample project code in this i had added a hyperlink button and a button & on the click of it i am trying to open a child window. It is running fine without obfuscation but a...
0 votes