Friday, November 5, 2010

Appling fade out effect to Windows Form

In this post I'm going to show how to and beautiful fade out effect to your windows form,first create the Windows application through you visual studio program and add following code to your application

Add timer controller to Form that you are selected.

Then add following code to timer control
private bool setClose = false;

private void timer1_Tick(object sender, EventArgs e)
{
   this.Opacity -= 0.05;
   if(this.Opacity<0.05)
   {
      setClose = true;
      this.Close();
   }
}

Finally add the following code to FormClosing event

 private void myForm_FormClosing(object sender,FormClosingEventArgs e)
 {
   if(!setClose)
   {
      e.Cancel=true;
      this.timer1.Enabled=true;
   }
 }

Finally you have done it, Experience the fadeout effect in windows forms


Get code from here http://www.ziddu.com/download/12396154/urbuddyApp.7z.html

Monday, November 1, 2010

Create SharePoint Page Layout using SharePoint Designer 2007

-          Open SharePoint Designer and go to File -> Open Site and give necessary credential and log in to site.

-          Then  select File -> New -> SharePoint Content



-          And go to SharePoint Content tab and select SharePoint Publishing and select Page Layout and select content type that you have created and give the URL name and Title.
-          Then your Page Layout page has been created and loaded, then you have to do further modification page layout and save it and check out.
-          Then when you are creating new page you can use that particular page that you have create.

Sunday, October 31, 2010

Sunday, September 5, 2010

Welcome to SP Tech Buddy

Today 5th of September 2010 I have just created this blog to share my coding experiences and technology with me and others. In this blog, the majority of posts will be Microsoft technologies SharePoint development,.net Development, Power Platforms. etc. 

Others may be Javascript, JS Libraries, Frameworks and other time to time news may be published.

In 2021 I decided to add a logo and modify the blog with remove deprecated posts and modify the theme. hope you can get knowledge and share your ideas with us in the comment section.

Welcome to SPTechbuddy
hope you will enjoy