Sunday, October 23, 2011

Tiles Slider Puzzle For iPhone




 








You love puzzle games ?

If yes then this is what you want.
Just download this and make step towards the classic slider puzzle game.

Tiles Slider Puzzle is a classic puzzle game. It supports 3x3, 4x4, 5x5, 6x6, 7x7, 8x8 game mode.  It contains a beautiful collection of photos with which you can play this classic puzzle game.. You can play with any of the photo and with any of the game mode at any time. Very good application for good mind people to test your mind skills and your intelligence.

Screen Shots:





Monday, October 17, 2011

Download Free eBook: Silverlight for Windows Phone Toolkit In Depth


Boryana Miloshevska published this eBook "Silverlight for Windows Phone Toolkit in Depth" in WindowsPhoneGeek.com. The book includes hands on guide with code to demonstrate all the controls available in the Windows Phone 7.1 Toolkit (August 2011).   Click "Read More" to know about this book and find the links to download the eBook for Free. Hope this book will be a great help to you. Don't forget to visit the book's page to say a "Thanks" to the Author of the book.     Download eBook for FREE The eBook published on 11th October 2011 by Boryana Miloshevska (via WindowsPhoneGeek.com) is based on Windows Phone 7.1 (aka 7.5 Mango) release and includes 22 Chapters in 246 Pages to cover all controls from the Windows Phone Toolkit (August 2011 release).   You can Download the eBook for FREE from WindowsPhoneGeek.com. You will be able to Download all the Source Code used in this eBook. Also, you will be able to learn more about the Author "Boryana...

Download

Read More....

Friday, October 14, 2011

Silverlight Page Navigation Framework - Learn about UriMapper


Last day we discussed about "Silverlight Page Navigation Framework" where we understood the basic concept. We learnt how to add pages in the project from the template and the root of the page xaml. We also learnt about the assembly which we need to use to develop a navigation application using Silverlight.   Today in this post, we will discuss about Uri Mapping which will help you to implement the navigation application very easily. You will also be able to hide the actual Url of the page. We will discuss about each point in brief with a simple example continuing from previous post.   Designing the XAML Make sure that, you read my previous post "Silverlight Page Navigation Framework". We will use the same project here to demonstrate the use of this framework. First of all we need to change the UI of our main XAML page, so that, we will be able to navigate to the desired page. Open the MainPage.xaml and split it to two Rows. Insert a StackPanel in the first row and...


Download Ubuntu 11.10 (Oneiric Ocelot) CD ISO / DVD Images


Ubuntu Linux (a GNU/Linux-based computer operating system) version 11.10 has been released and available for download. The new release includes some enhancements to make your experience even more enjoyable. The Default user interface is set to unity shell on top of GNOME 3.x. However, you will get a 2D version of Unity as a fallback for systems that lack the hardware resources for the 3D version. The good news is you will be able to install the entire GNOME 3 desktop along with GNOME Shell directly from the Ubuntu repos.

Download Ubuntu 11.10

Ubuntu 11.10 (Natty Narwhal) DVD

You can install using live DVD for Intel/Amd based systems:

  1. 64 Bit DVD version (4G)
  2. 32 Bit DVD version (3.9G)

How Do I Upgrade To Ubuntu v11.10?

You can directly upgrade to Ubuntu v11.10 from Ubuntu v10.04, see upgrade howto here.

Stay tuned for our review, which will come out soon.

Thursday, October 13, 2011

How to get the week number for a date in C#


Today I needed to know which week of the year a certain day was in. My first instinct was DateTime.Now.Weekbut it seems there is no Week property on a DateTime instance. So I started looking for a way to get the week number. As it turns out the CultureInfo class will get you where you want to go using the Calendar property.

public static class DateTimeExtensions
{
    public static int WeekNumber(this System.DateTime value)
    {
        return CultureInfo.CurrentCulture.Calendar.GetWeekOfYear(value, CalendarWeekRule.FirstFourDayWeek,
                                                                 DayOfWeek.Monday);
 
    }
}

Monday, October 10, 2011

WPF Progress Bar using Threads


The following article describes a method to create a WPF project that provides a progress bar on a thread separate to your worker thread. The worker thread will be completing a task that will take 5 seconds, therefore you do not want your app to become unresponsive.

The code makes use of WPF windows, C# events, C# delegates. It would be useful if you are familiar with these types but it is not essential as I will explain what is needed.

In order to keep this tutorial as simple as possible, I will not make use of any WPF functionality to improve the appearance of the windows.

 

Read More from: Original Source

Looking at .NET Source code from Visual Studio


Today I will talk about how you can get integration of Source code server with your .NET programs so that you can easily see the Source code of the .NET library while you debug. By source code I mean the actual Source code which is written by Microsoft people not something that we disassemble with Reflector or some other tool. The source code will have all the comments available, the debug symbols, the program db and everything. I am talking in steps how to configure your Visual Studio to get Source from Microsoft servers.

Microsoft Officially released the source code of .NET framework for you which you can either download or get while  you debug your application.

Read More....

iPhone 4 VS iPhone 4S


The iPhone 4 just come out and it sure did make an amazing entrance, leaving behind all sales records in just one week it hit topped one million mark in a single day shattering all previous pre-order records for all Appleproducts!

The sales figures look promising but is this really something new?! Every Launch of an Apple product always promised an amazing piece of technology with innovations never seen before but this time apple might have fallen short of their routine. The iPhone 4S sadly feels less exciting. Don't be fooled by the sales figures; we all love the new car smell.

The iPhone 4S is 3 grams lighter, the camera has 3 more megapixels and a faster more powerful processor found in the iPad 2. Other upgrades include a bigger aperture of f/2.4, the illumination sensor has been improved and there's additional face detection. The storage capacity has been increased from 32GB to 64GB as well. It will also be pre-loaded with the iOS 5.

All these upgrades seem nice and dandy but the reality of the matter is that the iPhone 4S is nothing more than an upgraded iPhone 4. Sure the memory increase sounds great and so does the 8MP camera but that only puts the iPhone 4S at the same line as the Samsung Galaxy S2 or other competing phones and it's still dragging behind and the pre-loaded iOS 5 can already take space in your iPhone 4.

It comes to thought; expected innovation in the iPhone 4S is nothing short of being juvenile. The iPhone 5 is about to hit the markets soon enough and all innovations were saved for it. After the passing of Steve Jobs the Apple might just be trying to get as many bucks as they can since he was the brain and the visionary that brought Apple to the heights it is now.

Saving up for the iPhone 5 now sounds astute however kids will be kids. We all want a shiny new phone with new gizmos and gadgets but tough luck. The iPhone 4Sdoesn't have any, might as well just wait for iPhone 5.

Sunday, October 9, 2011

ContextMenu using MVVM


In this post we will discuss how to use the ContextMenu using MVVM pattern. You can find the beginner level of article about how to use ContextMenu on the web. But here I will show you how to use it using MVVM pattern. This is also first time that I am using the ContextMenu control of the Silverlight. So if there is any error or if you feel that I have miss something related to the ContextMenu then please let me now about it.
For this example I have used the Text Box control when you right click on the text box it will display the ContextMenu in the Text Box control. As you can see in theImage 1 when user right click inside the Text Box control Context Menu open  with the cut, copy and paste option in it. Here you can also see that I have also place TextBlock control with text "Message will be displayed here" which will show you the menu item click concatenated with the Time.

Thursday, October 6, 2011

Generic Types and Static Members


One of my friend recently asked me a question that I think I should share with you. Say you have a Static Implementation of a Type T which you pass as Open Type in your Generic Class. Now the problem is how to get reference to the Static Members or invoke a method that is Static to the Type from the Open Type T.  In this post, I will demonstrate few implementations that help you getting the Static implementation.

First of all, According to C# documentation, any type allocates its static members once per Type rather than once per Open Type. Now lets define this using the code below :

Tuesday, October 4, 2011

Silverlight ‘Loading’ Spin Icon in XAML


When loading large object collections in Silverlight, there is enough of a time delay so that I need some kind of animated icon that indicates a 'loading' state. There were many such icons used when loading data via AJAX, which are basically animated Gif's. As Gif's aren't supported in Silverlight, I needed to create one. I decided therefore to create a design in Expression Design, and then animate it in Blend, with a little tidying up in VS2008.

Im not sure how well it'll perform with large number of instances in a single control, but it does the trick for my needs.

The code for my animated spinning logo is below.

(Use the scaletransform in the grid to change the size)

  <Grid x:Name="LayoutRoot" Background="White"> 
      <Grid.RenderTransform> 
          <ScaleTransform x:Name="SpinnerScale" ScaleX="0.5" ScaleY="0.5" /> 
      </Grid.RenderTransform> 
      <Canvas RenderTransformOrigin="0.5,0.5" Width="120" Height="120"> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="20.1696" Canvas.Top="9.76358" 
              Stretch="Fill" Fill="#E6000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="2.86816" Canvas.Top="29.9581" 
              Stretch="Fill" Fill="#CD000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="5.03758e-006" Canvas.Top="57.9341" 
              Stretch="Fill" Fill="#B3000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="12.1203" Canvas.Top="83.3163" 
              Stretch="Fill" Fill="#9A000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="36.5459" Canvas.Top="98.138" 
              Stretch="Fill" Fill="#80000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="64.6723" Canvas.Top="96.8411" 
              Stretch="Fill" Fill="#67000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="87.6176" Canvas.Top="81.2783" 
              Stretch="Fill" Fill="#4D000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="98.165" Canvas.Top="54.414" 
              Stretch="Fill" Fill="#34000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="92.9838" Canvas.Top="26.9938" 
              Stretch="Fill" Fill="#1A000000"/> 
          <Ellipse Width="21.835" Height="21.862" Canvas.Left="47.2783" Canvas.Top="0.5" 
              Stretch="Fill" Fill="#FF000000"/> 
          <Canvas.RenderTransform> 
              <RotateTransform x:Name="SpinnerRotate" Angle="0" /> 
          </Canvas.RenderTransform> 
          <Canvas.Triggers> 
              <EventTrigger RoutedEvent="ContentControl.Loaded"> 
                  <BeginStoryboard> 
                      <Storyboard> 
                          <DoubleAnimation Storyboard.TargetName="SpinnerRotate" 
                                   Storyboard.TargetProperty="(RotateTransform.Angle)" 
                                   From="0" To="360" Duration="0:0:01" 
                                   RepeatBehavior="Forever" /> 
                      </Storyboard> 
                  </BeginStoryboard> 
              </EventTrigger> 
          </Canvas.Triggers> 
      </Canvas> 
  </Grid> 

 

Note: If you want to turn this animated spinner on and off (say, when accessing a WCF service), you could do so with something like the code below:

First, in your XAML make the spinner invisible by default

  <Grid x:Name="Spinner" Background="White" Visibility="Collapsed">

Then in your code do something like below:

 
  var client = new DataServiceClient();
  client.DoWorkCompleted += (s, e) => Spinner.Visibility = Visibility.Collapsed;
  Spinner.Visibility = Visibility.Visible;
  client.DoWorkAsync();

 

hope some of you find this usefull

LinkWithin

LinkWithin

Like Us On Facebook and Receive All Updates!

You can also receive Free Email Updates:

Powered By Tutorails