Rajini Style App


Hi, I never thought of writing a post today. But this website made me to do so. http://www.desimartini.com/​allaboutrajni.htm

A tribute for the creativity of those guys, it’s simply cool. So what is it to have a Silverlight version of the Rajini style app.

No big worries here’s the code. I named it as Rajini Style app. The code is not a matter here, but I salute the creativity of those guys who really made us think.

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;
using System.Net.NetworkInformation;

namespace RajiniStyleApp
    public partial class MainPage : UserControl
        public MainPage()
            NetworkChange.NetworkAddressChanged += new NetworkAddressChangedEventHandler(NetworkChange_NetworkAddressChanged);

        void NetworkChange_NetworkAddressChanged(object sender, EventArgs e)
            if (NetworkInterface.GetIsNetworkAvailable())
                textBlock1.Text = "You need to switch off the Internet \n in order to view the content";
                textBlock1.Text = "Disconnected ... Runs on Rajini power >> \n visit :: http://www.desimartini.com/​allaboutrajni.htm ";


You have to add the System.Net.NetworkInformation namespace.


Comments are closed.

Powered by WordPress.com.

Up ↑

%d bloggers like this: