Format:
Recent snippets matching tags of ui
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
10 Views
no comments
//Stored Guid as a string string strGuid = "5152A989-279F-4A81-AC68-4696966CD1E2" //Creating a GUID obj based on that guid string new Guid(strGuid);
74 Views
no comments
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
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.
117 Views
no comments
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); }
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 {
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
933 Views
no comments
<Target Name="UpdateWebConfig"> <XmlUpdate XmlFileName="$(PackageDir)\$(WebApplicationName)\web.config" XPath="//*/compilation/@debug" Value="false"/> </Target>
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; }
773 Views
no comments
/// <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
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Web; using System.Collections.Specialized; namespace WebControls { /// <summary>
259 Views
no comments
<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>
397 Views
no comments
<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>
801 Views
1 comments
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)
872 Views
no comments
namespace Nowcom.Quicksilver { public interface IMessage { } } namespace Nowcom.Quicksilver { using System.ComponentModel.Composition;
592 Views
no comments
/// <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
<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()
275 Views
no comments
<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>
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>
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
707 Views
no comments
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search
