Click here to Skip to main content
15,946,179 members

Comments by AghaKhan (Top 31 by date)

AghaKhan 26-Dec-13 22:55pm View    
Dear Brother:
Your comments are greatly appreciated. Someone should have to courage to say that. I have no problem with when you suggested “Have some shame”. Please guide me more. I love it. As you suggested "Implementation inheritance is not allowed in WinRT" is gibberish, but that is the error I received from my compiler and I am not making it up. I tried to implement solution but inheritance didn’t let me do so. I can send you the picture of my visual studio to show you that error if you wish. As you understand mistakes are the foundation of success and I do make mistakes. Please be my guide. Many times we write which is not following any design patterns but it works. Just Google “C# games by Agha Khan”. You will see about 4000 download.
Happy holidays

Best regards
Sergey Alexandrovich Kryukov
Thanks for help
AghaKhan 26-Dec-13 16:03pm View    
Thank you for your emails/reply.
Before I received your replies I started to look internal Constructor, but found out that
public sealed class CtrlCoreDispatcher : CoreDispatcher
{
}

Implementation inheritance is not allowed in WinRT. So I have to look something else to resolve this problem. I have to look something else beside inheritance.
Thanks for reply.

Best regards
Agha
AghaKhan 26-Dec-13 14:22pm View    
:-) Thank you.

var coreDispatcher = new CoreDispatcher();
The type 'Windows.UI.Core.CoreDispatcher' has no constructors defined
What todo now?
Thanks for help.
AghaKhan 26-Dec-13 3:38am View    
public event PropertyChangedEventHandler PropertyChanged;
private async void NotifyChanged(string propertyName)
{
if (this.PropertyChanged != null)
{
var ignored = await CoreDispatcher.RunAsync(CoreDispatcherPriority.Normal,
() => { PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); });
}
}
Error:
Error 1 An object reference is required for the non-static field, method, or property 'Windows.UI.Core.CoreDispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority, Windows.UI.Core.DispatchedHandler)' C:\Apps\CSharp\Nuts\VisualControls\FlipViewModel.cs 36 37 VisualControls
AghaKhan 26-Dec-13 0:28am View    
C# Window store Application