Şu c# wpf kodlarımda listview den tıkladığım kanalı bir uygulamanın içine resource…
- User
Şu c# wpf kodlarımda listview den tıkladığım kanalı bir uygulamanın içine resource olarak gömdüğüm Kanallar klasöründe her kanalın .html dosyası var tıklanan kanalın html dosyasını webview2 kütüphanesi kullanarak açacak <ui:FluentWindow x:Class=“KolayTV.MainWindow” xmlns=“http://schemas.microsoft.com/winfx/2006/xaml/presentation” xmlns:x=“http://schemas.microsoft.com/winfx/2006/xaml” xmlns:ui=“http://schemas.lepo.co/wpfui/2022/xaml” xmlns:d=“http://schemas.microsoft.com/expression/blend/2008” xmlns:mc=“http://schemas.openxmlformats.org/markup-compatibility/2006” xmlns:local=“clr-namespace:KolayTV” mc:Ignorable=“d” WindowStartupLocation=“CenterScreen” ExtendsContentIntoTitleBar=“True” WindowBackdropType=“Mica” WindowCornerPreference=“Round” Title=“KolayTV” Height=“450” MinWidth=“800”> <ui:TitleBar Title=“KolayTV” CanMaximize=“True”/> <ui:TextBox Background=“Transparent” PlaceholderText=“Kanal ara…” Width=“170” Margin=“0,50,0,5”/> <ListViewItem Content=“TRT 1”/> <ListViewItem Content=“TRT 2”/> <ListViewItem Content=“TRT Haber”/> <ListViewItem Content=“TRT Spor”/> <ListViewItem Content=“TRT Çocuk”/> <ListViewItem Content=“TRT Müzik”/> <ListViewItem Content=“TRT Belgesel”/> <ListViewItem Content=“TRT Avaz”/> <ListViewItem Content=“TRT Kurdî”/> <ListViewItem Content=“TRT Arabi”/> <ListViewItem Content=“Star TV”/> <ListViewItem Content=“Kanal D”/> <ListViewItem Content=“Show TV”/> <ListViewItem Content=“Kanal 7”/> <ListViewItem Content=“CNN Türk”/> <ListViewItem Content=“TGRT Haber”/> <ListViewItem Content=“Bloomberg HT”/> <ListViewItem Content=“A Haber”/> <ListViewItem Content=“Ülke TV”/> <ListViewItem Content=“Halk TV”/> <ListViewItem Content=“Cem TV”/> <ListViewItem Content=“Yol TV”/> <ListViewItem Content=“Beyaz TV”/> <ListViewItem Content=“Kanal 24”/> <ListViewItem Content=“Number1 TV”/> <ListViewItem Content=“Power Türk TV”/> <ListViewItem Content=“Dream TV”/> <ListViewItem Content=“Kral Pop TV”/> <ListViewItem Content=“Minika GO”/> <ListViewItem Content=“Minika Çocuk”/> <ListViewItem Content=“Cartoon Network Türkiye”/> <ListViewItem Content=“Planet Çocuk”/> <ListViewItem Content=“Planet Mutfak”/> <ListViewItem Content=“Planet Türk”/> <ListViewItem Content=“TV Em”/> <ListViewItem Content=“S Sport”/> <ListViewItem Content=“Sports TV”/> <ListViewItem Content=“GS TV”/> <ListViewItem Content=“FB TV”/> <ListViewItem Content=“BJK TV”/> <ListViewItem Content=“A Spor”/> <ListViewItem Content=“TRT Spor 2”/> </ui:FluentWindow>
- Assistant