Skip to content

Instantly share code, notes, and snippets.

View devlights's full-sized avatar
🤧
hay fever....

devlights devlights

🤧
hay fever....
View GitHub Profile
@devlights
devlights / memo.md
Created January 30, 2013 07:21
CSSのボックスモデルの話。
@devlights
devlights / memo.md
Created January 30, 2013 07:23
XAMLで他の名前空間を利用する場合のxmlnsの書き方

xmlns:Prefix="clr-namespace:Namespace;assembly=AssemblyName"

@devlights
devlights / memo.md
Last active December 11, 2015 22:49
GitHub上でMarkdown CheetSheetを表示するショートカット

画面のどこかで「m」キーを押す

@devlights
devlights / Default.aspx.cs
Created January 31, 2013 10:43
SPREAD for ASP.NET にて、CheckBoxCellType を設定して取得する方法。 セルの値を取得する前に明示的にFpSpread.SaveChanges()を呼ぶ必要がある。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FarPoint.Web.Spread;
namespace WebApplication1
@devlights
devlights / Default.aspx
Created February 2, 2013 07:11
SPREAD for ASP.NET にて、クライアントサイドスクリプト側で隠し列の値を取得
<FarPoint:FpSpread ID="spd" runat="server" BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" Width="100%" Height="100%">
<CommandBar BackColor="Control" ButtonFaceColor="Control" ButtonHighlightColor="ControlLightLight" ButtonShadowColor="ControlDark"></CommandBar>
<clientevents activecellchanging="spd_ActiveCellChanging" />
<Sheets>
<FarPoint:SheetView SheetName="Sheet1"></FarPoint:SheetView>
</Sheets>
</FarPoint:FpSpread>
@devlights
devlights / Default.aspx.cs
Created February 2, 2013 09:26
SPREAD for ASP.NETのHyperLinkCellTypeの設定方法. ImageUrlとNavigateUrlを設定する.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WebApplication2
{
public partial class _Default : System.Web.UI.Page
@devlights
devlights / Default.aspx.cs
Last active December 12, 2015 05:08
SPREAD for ASP.NETでCheckBoxCellTypeの状態がページをまたいで保持されることを確認
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using FarPoint.Web.Spread;
namespace WebApplication3
@devlights
devlights / memo.md
Created February 8, 2013 05:47
VS2012を利用したユニットテスト手法
@devlights
devlights / Default.aspx
Created February 14, 2013 12:14
SPREAD for ASP.NETにて結合列ヘッダーを持っている状態でソートインジケータを表示しつつ処理する方法. (OnSortColumnCommand, ImageCellType, uparrow.gif, downarrow.gif)
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="SpdCustomSortSample._Default" %>
<%@ Register assembly="FarPoint.Web.SpreadJ" namespace="FarPoint.Web.Spread" tagprefix="FarPoint" %>
<!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">
<title></title>
</head>
@devlights
devlights / memo.md
Created February 21, 2013 09:38
Resharperで同一ファイル内での参照検索と移動方法 (Find Usage, Next Item, Previous Item)
  • Shift+Alt+F11
    • Next Item: Ctrl+Alt+PgUp
  • Prev Item: Ctrl+Alt+PgDn