CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of ui
SQL
USE [msdb]
GO
 
/****** Object:  Job [iERP85_ExpandGLPeriods]    Script Date: 02/01/2012 10:45:58 ******/
BEGIN TRANSACTION
DECLARE @ReturnCode INT
SELECT @ReturnCode = 0
/****** Object:  JobCategory [[Uncategorized (Local)]]]    Script Date: 02/01/2012 10:45:58 ******/
IF NOT EXISTS (SELECT name FROM msdb.dbo.syscategories WHERE name=N'[Uncategorized (Local)]' AND category_class=1)
BEGIN
by Brent Pabst   Wednesday @ 7:50am
10 Views
no comments
 
C#
//Stored Guid as a string
string strGuid = "5152A989-279F-4A81-AC68-4696966CD1E2"
//Creating a GUID obj based on that guid string
new Guid(strGuid);
by Egli   August 15, 2011 @ 6:12pm
Tags: .NET, Guid
74 Views
no comments
 
C#
string strFormatedGuid = Guid.NewGuid().ToString("N"); //Where N is the format, can be any of the ones described below
 
/*
Format: N
Output 32 digits:
00000000000000000000000000000000
 
Format: D
Output 32 digits separated by hyphens:
00000000-0000-0000-0000-000000000000
by Egli   August 02, 2011 @ 8:14pm
70 Views
no comments
 
copy $(ProjectDir)\..\{path to file} $(TargetDir)
 
rem add '1>nul' to NOT display any messages from the copy.
rem add '2>nul' to NOT fail the build and to NOT display any error messages from the copy.
 
 
by Al Gonzalez   June 16, 2011 @ 3:44pm
117 Views
no comments
 
C#
public static MvcHtmlString MenuItem(this HtmlHelper helper, string linkText, string actionName, string controllerName, string className)
        {
            var sb = new StringBuilder("<li");
            var urlHelper = new UrlHelper(helper.ViewContext.RequestContext);
            var currentControllerName = helper.ViewContext.RouteData.Values["controller"] as string;
            
            if (!string.IsNullOrWhiteSpace(className))
            {
                sb.AppendFormat(CultureInfo.InvariantCulture, " class=\"{0}\"", className);
            }
by alfonso   May 02, 2011 @ 1:22pm
Tags: MenuItem
59 Views
no comments
 
package juddiv3admin.juddiv3;
 
import java.util.ArrayList;
import java.util.List;
import juddiv3admin.gui.GUI;
import org.apache.juddi.api_v3.*;
import org.uddi.api_v3.*;
 
public class QueryBuilder
{
by Martynas   March 29, 2011 @ 5:34am
100 Views
no comments
 
Download Kaspersky Internet Security 2012 Beta With 91 Days Genuine Activation Key
 
    * Best Anti Virus Software
    * Download Kaspersky 2012 Beta
    * Kaspersky
    * Kaspersky 2012 Activation
    * Kaspersky Antivirus 2012
    * Kaspersky Internet Security 2012
    * KIS 2012
    * KIS 2012 Beta
by even   March 08, 2011 @ 10:17pm
933 Views
no comments
 
XML
<Target Name="UpdateWebConfig">
   <XmlUpdate XmlFileName="$(PackageDir)\$(WebApplicationName)\web.config"
              XPath="//*/compilation/@debug"
              Value="false"/>
 </Target>
 
by Petter Wigle   September 08, 2010 @ 1:32am
196 Views
no comments
 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Html Template</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
 
    <style type="text/css">
        .primary { background-color: green; }
        .secondary { background-color: blue; }
by jwwishart   June 16, 2010 @ 4:02pm
773 Views
no comments
 
C#
/// <summary>
/// Holds up the test execution for the given duration without blocking the UI thread.
/// </summary>
void UIPause(int sec)
{
    Storyboard PauseSB = new Storyboard() { Duration = new Duration(new TimeSpan(0, 0, sec)) };
    PauseSB.Completed += (sender, e) => { TestComplete(); };
    PauseSB.Begin();
}
450 Views
no comments
 
C#
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
using System.Collections.Specialized;
 
namespace WebControls
{
    /// <summary>
by Arjan   May 12, 2010 @ 4:34am
259 Views
no comments
 
XML
<PropertyGroup>
    <SolutionRootDir>$(MSBuildProjectDirectory)\..</SolutionRootDir>
    <ApplicationName>MyApp</ApplicationName>
    <WebApplicationName>$(ApplicationName).Web</WebApplicationName>
    <MSBuildCommunityTasksPath>$(SolutionRootDir)\BuildScripts\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
    <WebProject>$(SolutionRootDir)\$(WebApplicationName)\$(WebApplicationName).csproj</WebProject>
    <PackageDir>$(SolutionRootDir)\Package</PackageDir>
    <Configuration>Release</Configuration>
  </PropertyGroup>
by Petter Wigle   May 09, 2010 @ 3:25am
397 Views
no comments
 
XML
<PropertyGroup>
    <SolutionRootDir>$(MSBuildProjectDirectory)\..</SolutionRootDir>
    <ApplicationName>MyApp</ApplicationName>
   <Version>0.0.1.0</Version>
    <Company>Active Solution AB</Company>
    <Copyright>Copyright © Active Solution AB 2010</Copyright>
</PropertyGroup>
<PropertyGroup Condition="'$(BUILD_NUMBER)' != ''">
    <Version>$(BUILD_NUMBER)</Version>
</PropertyGroup>
by Petter Wigle   May 09, 2010 @ 3:13am
801 Views
1 comments
 
C#
namespace Nowcom.Quicksilver.Patterns
{
    using System;
 
    public class Strategy<T,V>
    {
        public Predicate<T> Condition { get; private set; }
        public Func<T, V> Result { get; private set; }
 
        public Strategy(Predicate<T> condition, Func<T, V> result)
by Robert Kozak   April 21, 2010 @ 12:33pm
872 Views
no comments
 
C#
namespace Nowcom.Quicksilver
{
  public interface IMessage
  {
  }
}
 
namespace Nowcom.Quicksilver
{
    using System.ComponentModel.Composition;
592 Views
no comments
 
C#
/// <summary>
/// Return all properties from a type up to a specified base type in the inheritance hierarchy
/// </summary>
/// <param name="type">Type that will be examined</param>
/// <param name="baseType">Where to stop in the inheritance hierarchy. Must be a type that first parameter inherits from
/// </param>
/// <returns>A list of all found properties</returns>
public static List<PropertyInfo> GetAllProperties(Type type, Type baseType)
{
   List<PropertyInfo> properties = new List<PropertyInfo>();
434 Views
no comments
 
C#
<div id="toolbar-pane">
    <% 
        Toolbar
            .Create()
            .SetCorners(Corners.CornersType.top)
            .AddSet()
                .AddIconButton("btnOpen", "Open", "folder-open")
                .AddIconButton("btnSave", "Save", "disk")
                .AddIconButton("btnDelete", "Delete", "trash")
            .EndSet()
by andreabalducci   February 24, 2010 @ 2:22am
275 Views
no comments
 
XML
  <Target Name="AfterMerge">
  <ItemGroup>
    <JsFiles Include="$(TempBuildDir)\Scripts\infinitecarousel.js;$(TempBuildDir)\Scripts\jquery.autocomplete.js;$(TempBuildDir)\Scripts\core.js"/>
    <CssFiles Include="$(TempBuildDir)\Content\reset.css;$(TempBuildDir)\Content\infinitecarousel.css;$(TempBuildDir)\Content\Site.css" />
  </ItemGroup>
    
  <ReadLinesFromFile File="%(JsFiles.Identity)">
    <Output TaskParameter="Lines" 
            ItemName="jsLines"/>
  </ReadLinesFromFile>
by ArranM   February 16, 2010 @ 2:25pm
1760 Views
no comments
 
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="jQueryBlockUi._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> 
    <script type="text/javascript" src="http://malsup.com/jquery/block/jquery.blockUI.js?v2.28"></script>
</head>
<body>
by Elijah Manor   December 09, 2009 @ 10:48am
1470 Views
no comments
 
Sub ToggleMvcBuildViews()
    DTE.ExecuteCommand("Project.UnloadProject")
    DTE.ExecuteCommand("OtherContextMenus.StubProject.EditProjectFile")
 
    Dim wasSetToTrue As Boolean = SetMvcBuildView(True)
    Dim wasSetToFalse As Boolean
    If Not wasSetToTrue Then
        wasSetToFalse = SetMvcBuildView(False)
    End If
by Al Gonzalez   December 08, 2009 @ 9:31pm
707 Views
no comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate