Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all 18858 articles
Browse latest View live

Copying data from grid and storing it in a variable.

$
0
0

Hi All,

I want to copy a text string from a table and store it in a variable for further use programatically in C#.

If any one can help me on how I can perform this operation programtically using C#.

I am working on a Windows application.

Regards,

NK


NK


Exception on start debug: Cannot locate resource 'app.xaml'.

$
0
0
I just installed Visual Studio 2008 beta 2. After Orcas beta 1 was a complete pain to work with (on my machine) I was hoping that beta 2 is more stable. Well, first time I opened it it crashed completely and now I can't even run my project anymore. As soon as I start to debug the project, I get an unhandled IOExpception saying:

Cannot locate resource 'app.xaml'.

sometimes I get this messsage just briefly before the exception:

Entering break mode failed for the following reason: ....\app.xaml does not belong to the project beeing debugged...

I had these issues in Orcas beta 1 as well but after a Clean and a Rebuild it always worked.  I just don't see any difference between a simple (working) hello world application and my bigger project and the error message doesn't help me.

Has anyone else had this error messages - What should I do?
Any hints are greatly appreciated!

Particular open type font is not working with WPF

$
0
0

Hello,

In one of my requirements, I have to display list of installed fonts into the dropdown and based on the font selection by user, I have to apply that selected font to the Textblock.

I am getting list of installed fonts using InstalledFontCollection.Families and this is working well for most of the fonts except few.

I am using, DINOT open type font. When I installed these fonts it shows properly in the dropdown but textblock is not taking effect using this font.

After researching further, if I set fontfamily of textblock to "DINOT-Black" it is not working but if write "DIN OT BLACK" then it works. So my question is, what could be reason if this behavior ?

You can find DINOT font here : https://www.dropbox.com/sh/z724ykozm13zjn9/AADwDrfledISyvq-7ICtkCUGa?dl=0

Any would be really helpful.

Thanks,

Parthiv

Change the container of a control programmatically with C# in WPF

$
0
0

Hi folks,

I am facing an unsolvable issue for me. What I would like to do is to change the container of a control such under a certain event such as button click. The two parent controls are Grid.

Does someone can help me...

PS: I am using WPF

Cheers.


Many

SOC performance on Observable objects

$
0
0

Hello,

in my Class Library project there are classes, each with properties, methods and inheriting a class ObservableProperties that allow the update of visual information (such as WPF with bindings).

Here is the ObservableProperties class that i use for reporting properties changes :

    public class ObservableProperties : INotifyPropertyChanged, IObservableProperties
    {
        public event PropertyChangedEventHandler PropertyChanged;

        protected void OnPropertyChanged([CallerMemberName] String propertyName = null)
        {
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));
        }

        protected bool SetField<T>(ref T field, T value, [CallerMemberName] String propertyName = null)
        {
            if (EqualityComparer<T>.Default.Equals(field, value))
            {
                return false;
            }

            field = value;
            PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));

            return true;
        }
    }


And here is one of the brick classes :

public class Stack : ObservableProperties, IStack
    {
        private ulong _current;
        private ulong _max;

        public UInt64 Current
        {
            get { return _current; }
            set
            {
                if (SetField(ref _current, (value > _max? _max : (value < 0 ? 0 : value))))
                {
                    OnPropertyChanged(nameof(Left));
                }
            }
        }

        public UInt64 Max
        {
            get { return _max; }
            set
            {
                if (SetField(ref _max, (value < 0 ? 0 : value)))
                {
                    if (_max < Current)
                    {
                        Current = _max;
                    }
                    OnPropertyChanged(nameof(Left));
                }
            }
        }

        public UInt64 Left
        {
            get
            {
                return Max - Current;
            }
        }

        public UInt64 Add(UInt64 amount, Boolean cancelOnOver = false)
        {
            if (amount > Left)
            {
                UInt64 left;
                if (cancelOnOver)
                {
                    left = amount;
                }
                else
                {
                    left = amount - Left;
                    Current = Max;
                }

                return left;
            }

            Current += amount;

            return 0;
        }

        public UInt64 Remove(UInt64 amount, Boolean cancelOnUnder = false)
        {
            if (amount > Current)
            {
                UInt64 left;
                if (cancelOnUnder)
                {
                    left = amount;
                }
                else
                {
                    left = amount - Current;
                    Current = 0;
                }

                return left;
            }

            Current -= amount;

            return 0;
        }
    }

I'm using the events to recursively update all properties whose values depend on objects contained within the class. Also i'm trying to contain all the manipulation of data within the class containing it.

Until now i've used the classes in simple tests but data was never persisted. What i'm worried about is that once i begin persisting data, all the events fired when properties are set on instantiation trough an ORM might make the application hit a low on the performance end.

Is this the right way to do things or is there a better way to do this?


close messagebox of another application

$
0
0
How can I detect and close messagebox of another application?

How to render a WPF visual to a bitmapsource without blocking the UI

$
0
0

I tried to use a bitmapcachebrush to copy a visual in GPU and freeze it before rendering it in a background task. 
Unfortunately I got stuck. 
Here is my current code:

public static async Task<BitmapSource> RenderAsync(this Visual visual)
        {
            var bounds = VisualTreeHelper.GetDescendantBounds(visual);

            var bitmapCacheBrush = new BitmapCacheBrush(visual);
            bitmapCacheBrush.BitmapCache = new BitmapCache();

            // We need to disconnect the visual here to make the freezable freezable :). Of course this will make our rendering blank
            // Is there any way to disconnect the visual without deleting the bitmapcache of the visual?
            bitmapCacheBrush.Target = null;
            bitmapCacheBrush.Freeze();

            var bitmapSource = await Task.Run(() =>
            {
                var renderBitmap = new RenderTargetBitmap((int)bounds.Width,
                                                             (int)bounds.Height, 96, 96, PixelFormats.Pbgra32);

                var dVisual = new DrawingVisual();
                using (DrawingContext context = dVisual.RenderOpen())
                {

                    context.DrawRectangle(bitmapCacheBrush,
                                          null,
                                          new Rect(new Point(), new Size(bounds.Width, bounds.Height)));
                }

                renderBitmap.Render(dVisual);
                renderBitmap.Freeze();
                return renderBitmap;
            });

            return bitmapSource;
        }
Are there any hacks/tricks to disconnect the bitmapcachebrush's target without deleting its visual presentation?
Or do you have any other ideas how to render a WPF visual asynchronously or with a good performance?
Thank you guys in advance! 

WPF: Lostfocus with SourceUpdated gets trigger without value update.

$
0
0

I'm trying to trigger command if text value of TextBoxColumn gets change and on LostFocus. Thus, I used PropertyChanged=LostFocus in combination with NotifySourceUpdate=True to trigger SourceUpdated event if value gets changed. However, the command is getting trigger on LostFocus even if value is not change or not edited. Am I missing anything here?


XAML:


                <DataGridTemplateColumn Text="Cost" EditOnSelection="True" >
                    <DataGridTemplateColumn.CellTemplate>
                        <DataTemplate>
                            <TextBlock Text="{Binding Cost, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
                        </DataTemplate>
                    </DataGridTemplateColumn.CellTemplate>
                    <DataGridTemplateColumn.CellEditingTemplate>
                        <DataTemplate>
                            <Text="{Binding Cost, Mode=TwoWay, UpdateSourceTrigger=LostFocus, NotifyOnSourceUpdated=True}">
                                <i:Interaction.Triggers>
                                    <i:EventTrigger EventName="SourceUpdated">
                                        <i:InvokeCommandAction Command="{Binding Path=TotalCostCalculationCommand/>
                                    </i:EventTrigger>
                                </i:Interaction.Triggers>
                            </TextBox>
                        </DataTemplate>
                    </DataGridTemplateColumn.CellEditingTemplate>
                </DataGridTemplateColumn>


C# ViewModal:
public Decimal? Cost
        {
            get
            {
                return this.cost;
            }
            set
            {
                if (value == this.cost)
                {
                    return;
                }

                    this.cost = value;
                OnPropertyChanged("Cost");
            }
        }


Thanks & Regards, Ankur




Best way to use a WPF Form in Windows forms app

$
0
0

I have been researching using a wpf form in a windows forms app. I am using VS 2015. I found several articles that said to use a WPF user control project, build the WPF there and then use the wpf user control inside of a windows form.  I completed the code and when I try to drag the control from the toolkit in VS, it starts the load and then errors with:

Set the Application.ResourceAssembly property or use the pack://application:,,,/assemblyname;component/ syntax to specify the assembly to load the resource from.

I am not sure the best way to do this.  I have a separate Resource file in the user control project and it uses it in the designer of the wpf control. 

Am I even going about this the best way?  Is there an easier way to use the wpf in windows forms?

I am pretty new to wpf, so any help would be greatly appreciated...


Joel WZ

Particular open type font is not working with WPF

$
0
0

Hello,

In one of my requirements, I have to display list of installed fonts into the dropdown and based on the font selection by user, I have to apply that selected font to the Textblock.

I am getting list of installed fonts using InstalledFontCollection.Families and this is working well for most of the fonts except few.

I am using, DINOT open type font. When I installed these fonts it shows properly in the dropdown but textblock is not taking effect using this font.

After researching further, if I set fontfamily of textblock to "DINOT-Black" it is not working but if write "DIN OT BLACK" then it works. So my question is, what could be reason if this behavior ?

You can find DINOT font here : https://www.dropbox.com/sh/z724ykozm13zjn9/AADwDrfledISyvq-7ICtkCUGa?dl=0

Any would be really helpful.

Thanks,

Parthiv

How to Add or Remove bullet from RichTextBox?

$
0
0

Hi Developers,

I want to add and remove bullets from in front of selected paragraph.

like in Wordpad We can add or remove bullet character using one single button click. I know this can be happen  using List object like following code.

<RichTextBox x:Name="textBox" HorizontalAlignment="Left" Height="222" Margin="10,10,0,0" VerticalAlignment="Top" Width="497"><FlowDocument><List MarkerStyle="Circle" MarkerOffset="5"><ListItem><Paragraph><Run Text="RichTextBox"/></Paragraph></ListItem></List><Paragraph><Run Text="RichTextBox"/></Paragraph></FlowDocument></RichTextBox>

and I also know how to add list from code. But I am not able to remove it from code.

[WPF] INotifyPropertyChanged doesn't work.

$
0
0

"0" should become "1", but it doesn't happen.

How to fix?

MainWindow.xaml:

<Grid MouseDown="Grid_MouseDown" Background="White"><local:UserControl1 x:Name="userControl1" Value="0"/></Grid>

MainWindow.xaml.cs:

    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void Grid_MouseDown(object sender, MouseButtonEventArgs e)
        {
            userControl1.Value = 1;
        }
    }

UserControl1.xaml:

<Grid><TextBlock x:Name="textBlock"
                   Text="{Binding ElementName=userControl, Path=Value, Mode=OneWay}"/></Grid>

UserControl1.xaml.cs:

    public partial class UserControl1 : UserControl, INotifyPropertyChanged
    {
        public UserControl1()
        {
            InitializeComponent();
        }

        public static readonly DependencyProperty ValueProperty =
     DependencyProperty.Register("Value", typeof(double),
     typeof(UserControl1));

        public event PropertyChangedEventHandler PropertyChanged;

        double value;
        public double Value
        {
            get
            {
                return value;
            }
            set
            {
                this.value = value;
                if (PropertyChanged != null)
                {
                    PropertyChanged(this, new PropertyChangedEventArgs("Value"));
                }
            }
        }
    }

WPF/VB.net - databinding to user control

$
0
0

I'm new to WPF and am trying my best to understand how fundamentally different WPF is to the WinForms I'm accustomed to.

In WinForms I would update a control in another class by referencing the class then the control and then the property I wanted to change. This apparently doesn't work in WPF and needs to be done via Binding. As it seems most people don't care for VB.net all I've been able to dig up is C# examples which don't seem to translate well.

So my question. How do I interact with a UserControl after I load it in at runtime. Essentially my plan was to use UserControls which can be swapped in and out of the main window at run time and I can read/write data out of the UserControls via my main window class.

Any help or good articles would be appreciated. I cant wrap my head around how to set up databinding with other classes.

MainWindow.Xaml

<Window x:Class="MainWindow"
    Name="w1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="MainWindow" Height="319" Width="409.8"><Grid Name="grid1"><Button Content="Button" HorizontalAlignment="Left" Margin="262,113,0,0" VerticalAlignment="Top" Width="75" RenderTransformOrigin="0.053,-0.045" Click="Button_Click_1"/></Grid></Window>

MainWindow.Xaml.vb

Class MainWindow
    Public Sub New()
        ' This call is required by the designer.
        InitializeComponent()
        ' Add any initialization after the InitializeComponent() call.
        Me.DataContext = Me
    End Sub

    Private Sub Button_Click_1(sender As Object, e As RoutedEventArgs)
         Dim cntrl As Control = New UserControl1
        grid1.Children.Add(cntrl)

'' insert code to update button content on UserControl that was loaded above

    End Sub
End Class

UserControl1.Xaml

<UserControl x:Class="UserControl1"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d" Height="42" Width="98"><Grid><Button x:Name="Testbutton" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Width="75" Content="{Binding textz}"/></Grid></UserControl>

UserControl1.Xaml

Public Class UserControl1
    Public textz As String

    Public Property text
        Get
            text = Testbutton.Content
        End Get
        Set(value)
            Testbutton.Content = value
        End Set
    End Property
End Class

WPF App is begin cropped on win7 and xp, windows 10 for some reason.

$
0
0

Hi,

I have got so many problem witn .NET 4.0 WPF.

What is the root cause?


Selection Changed of list box is not working with touch scroll.

$
0
0

Touch Scrolling is working when check my app by window Simulator on the OS 2010. But Selection Changed is not working with touch scrolling.  I am not asking question about telerik control . my problem releted to touch scrolling.

<ScrollViewer VerticalScrollBarVisibility="Disabled" HorizontalScrollBarVisibility="Auto"  PanningMode="Both"  ManipulationBoundaryFeedback="ScrollViewerCanvas_ManipulationBoundaryFeedback"><telerik:RadTileList Grid.Column="1" Grid.Row="1" x:Name="horizontalListBox"  ItemsPanel="{StaticResource itemsPanelTemplate}"
                     ItemsSource="{Binding HomeModel.TechnicianFieldScheuleCollection }"><telerik:RadTileList.ItemContainerStyle><Style><Setter Property="telerik:Tile.Background" Value="Transparent" /></Style><!--<Style TargetType="telerik:Tile" BasedOn="{StaticResource {x:Type telerik:Tile}}"><Setter Property="Background" Value="Tomato"/><Setter Property="flowConfiguration:TileAttachedProperties.IsTyleTypeBound" Value="True"/>
                                                these events wil be handled in .xaml.cs file<EventSetter Event="TouchDown" Handler="TouchDown_OnHandler"/><EventSetter Event="MouseDown" Handler="MouseDown_OnHandler"/><Setter Property="Template"><Setter.Value><ControlTemplate><Grid x:Name="TileRootPanel" Background="{TemplateBinding Background}" Margin="10"
                                      HorizontalAlignment="Stretch"
                                      VerticalAlignment="Stretch"><Grid x:Name="ContentVisual" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"><ContentPresenter HorizontalAlignment="Stretch" VerticalAlignment="Stretch"
                                            Content="{Binding
                                            RelativeSource={RelativeSource Mode=FindAncestor, AncestorType={x:Type telerik:Tile}},
                                            Path=Content, UpdateSourceTrigger=PropertyChanged}"
                                            ContentTemplateSelector="{StaticResource TileContentTemplateSelectorKey}"/></Grid><Border x:Name="SelectedVisual" Visibility="Collapsed" BorderThickness="1" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"><Grid Margin="0" x:Name="SelectedSymbol" Background="Blue"
                                                      HorizontalAlignment="Right"
                                                      VerticalAlignment="Bottom" Width="20" Height="20"><TextBlock Text="!" FontWeight="Bold" Foreground="Red" HorizontalAlignment="Center" VerticalAlignment="Center"/></Grid></Border><Border x:Name="MouseOverVisual" Margin="0"
                                            Visibility="Collapsed" BorderThickness="1"
                                            HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/></Grid><ControlTemplate.Triggers><Trigger Property="telerik:Tile.IsMouseOver" Value="True"><Setter Property="Border.BorderBrush" TargetName="MouseOverVisual" Value="GreenYellow"/><Setter Property="Border.Visibility" TargetName="MouseOverVisual" Value="Visible"/><Setter Property="Border.BorderThickness" TargetName="MouseOverVisual" Value="1.5"/></Trigger><Trigger Property="telerik:Tile.IsMouseOver" Value="False"><Setter Property="Border.BorderBrush" TargetName="MouseOverVisual" Value="Transparent"/><Setter Property="Border.Visibility" TargetName="MouseOverVisual" Value="Collapsed"/></Trigger><Trigger Property="telerik:Tile.IsSelected" Value="True"><Setter Property="Border.BorderBrush" TargetName="SelectedVisual" Value="Blue"/><Setter Property="Border.BorderThickness" TargetName="SelectedVisual" Value="2.5"/><Setter Property="Grid.Visibility" TargetName="SelectedVisual" Value="Visible"/></Trigger><Trigger Property="telerik:Tile.IsSelected" Value="False"><Setter Property="Border.BorderBrush" TargetName="SelectedVisual" Value="Transparent"/><Setter Property="Grid.Visibility" TargetName="SelectedVisual" Value="Collapsed"/></Trigger></ControlTemplate.Triggers></ControlTemplate></Setter.Value></Setter></Style>--></telerik:RadTileList.ItemContainerStyle><ie:Interaction.Triggers><ie:EventTrigger EventName="SelectionChanged"><ie:InvokeCommandAction Command="{Binding homeTileListSelectedItemChangedCommand}" ><ie:InvokeCommandAction.CommandParameter><MultiBinding><MultiBinding.Converter><app:TechnicianConverterHome></app:TechnicianConverterHome></MultiBinding.Converter><Binding ElementName="horizontalListBox" /><Binding ElementName="HomeUserControl" /></MultiBinding></ie:InvokeCommandAction.CommandParameter></ie:InvokeCommandAction></ie:EventTrigger></ie:Interaction.Triggers></telerik:RadTileList></ScrollViewer>
in codeBehind:
private void ScrollViewerCanvas_ManipulationBoundaryFeedback(object sender, ManipulationBoundaryFeedbackEventArgs e)
        {
            e.Handled = true;
        }
Please provide solution of this question?






How do I disable the Window Snap? WPF C#

$
0
0

Window resizes can be easily handled in WPF with the SizeChanged event. However, on Windows 7/10 it is possible to snap windows. This resizes the window to the snap of the area. This doesn't trigger the SizeChanged event. Causing problems for my borderless GUI.

Is there a way to disable the top-snap?

https://www.youtube.com/watch?v=BHukoYmPEtI&feature=youtu.be

Send parameter to ViewModel through IDialogService when open new window

$
0
0

I have PersonViewModel, DepartmentViewModel and their PersonView,DepartmentView
PersonViewModel has empty constructor, however DepartmentViewModel has a parameter:

public class DepartmentViewModel
{
    public DepartmentViewModel(ObservableCollection<Person> persons)
    {}
}

I use the following service to open new window:

public interface IDialogService<T>
{
   void Show(IUnityContainer unityContainer);
   void ShowDialog(IUnityContainer unityContainer);
}

public class DialogService<T> : IDialogService<T> where T : Window
{
   public void Show(IUnityContainer unityContainer)
   {
     var container = unityContainer;
     container.Resolve<T>().Show();
   }

   public void ShowDialog(IUnityContainer unityContainer)
   {
      var container = unityContainer;
      container.Resolve<T>().ShowDialog();
   }
}

the above service works really good. So far, it works okay till I wanted to send parameters toDepartmentViewModel.

My App.xaml.cs has all stuff to instantiate viewModels inside ofOnStartup() method:

_container = new UnityContainer();
_container.RegisterType<IViewMainWindowViewModel, MainWindow>();
_container.RegisterType<IViewMainWindowViewModel, MainViewModel>();
_container.RegisterType<IViewPersonViewModel, PersonView>();
_container.RegisterType<IViewPersonViewModel, PersonViewModel>(new ContainerControlledLifetimeManager());
_container.RegisterType<IViewDepartmentViewModel, DepartmentView>();
_container.RegisterType<IViewDepartmentViewModel, DepartmentViewModel>(new ContainerControlledLifetimeManager());
//types
 _container.RegisterType(typeof(IDialogService<>), typeof(DialogService<>));
_container.Resolve<MainWindow>().Show();

My question is how can I send a parameter to DepartmentViewModel when I open new window from PersonViewModel?

My code to open new window from PersonViewModel:

private readonly IDialogService<DepartmentView> _dialogDepartmentView; public void ContinueCommand_DoWork(object obj) { //want to send "persons" to departmentViewModel ObservableCollection<Person> persons = new ObservableCollection<Person>(); // Open new dialog

_dialogDepartmentView.ShowDialog(_unityContainer); }


How can I send ObservableCollection<Person> persons to DepartmentViewModel when I open new window through IDialogService?

Is it the case for EventAggregator pattern?




INotifyPropertyChanging interface and its uses

$
0
0

How to use INotifyPropertyChanging in code.

We know what to do about INotifyPropertyChanged, and what happens if we implement it or not implement it.

But what about  INotifyPropertyChanging ? 


Anjum S Khan Admin/Analyst Blog.TrackNifty.com

Referencing WPF namespaces in F# 4.0

$
0
0

I am going through several resources to learn F#, including the Pluralsight course, Introduction to F#. I am using VS2015 Enterprise. The code I'm using is:

open System

open System.Windows

open System.Windows.Controls

let loadWindows() = 

    letresourceLocator = newUri("/HelloWorldWPF;component/MainWindow.xaml", UriKind.Relative)

    letwindow = Application.LoadComponent(resourceLocator) :?> Window

    (window.FindName("clickButton") :?> Button).Click.Add(

        fun_->MessageBox.Show("Hello World!") |> ignore)

    window

[<STAThread>]

(newApplication()).Run(loadWindow()) |> ignore

I've got a simple XAML page as a resource:

<Windowxmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

   xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

   Title="MainWindow"Height="300"Width="500">

    <Grid>

        <ButtonName="clickButton"Content="Click me!"Height="40"Width="150" />

   </Grid>

</Window>

I'm getting errors that Application, Window and Grid are not defined.  It seems there is a namespace reference issue.  I could only get the "open System.Windows.Controls" to avoid an error after adding a reference to the System.Windows.Controls.Ribbon assembly.

My question is,  "How does one reliably set .NET namespace references in F#?

      

 


   


       


   

       

   

RenderTargetBitmap throws COM exception when created too fast: MILERR_WIN32ERROR (Exception from HRESULT: 0x88980003)

$
0
0

I am trying to use RenderTargetBitmaps to cache parts of a control I am rendering.  If I start creating the bitmaps too fast, the constructor of RenderTargetBitmap throws the exception: MILERR_WIN32ERROR (Exception from HRESULT: 0x88980003).

I have tried to research this problem and one suggestion was to force GB, but that completely locks up the app for some time.

Code:

private void PopulateCache(Position pos) { DrawingVisual drawingVisual = new DrawingVisual(); using (DrawingContext dc = drawingVisual.RenderOpen()) { // Many dc.DrawImage() }

// throws MILERR_WIN32ERROR (Exception from HRESULT: 0x88980003) if called in rapid succesion var bmp = new RenderTargetBitmap(700, 700, 96, 96, PixelFormats.Pbgra32); bmp.Render(drawingVisual); bmp.Freeze(); m_Cache[pos] = bmp; }

Does anyone know of a viable workaround for this?

Viewing all 18858 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>