This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Phone.Controls; | |
namespace PhoneApp1 { | |
public partial class MainPage : PhoneApplicationPage { | |
// コンストラクター | |
public MainPage() { | |
InitializeComponent(); | |
// コードの最適化が有効になっている場合は、 | |
// このhogeは無かったものとして扱われる |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<span id="form1:htmlMain" class="output002">教室変更情報詳細<br><br>日付:2012年4月26日 木曜日<br>時限:6限<br>科目:ワイヤレスシステム工学<br>教員:小林 岳彦<br>変更前教室:【千住】2号館2501教室<br>変更後教室:【千住】2号館2502教室<br>備考:4月26日(木)から前期終了まで<BR></span> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5,20120711,3,【千住】科学技術と企業経営,世良耕一, | |
5,20120711,6,【千住】企業と経営,世良耕一, | |
5,20120711,7,【千住】科学技術と企業経営,世良耕一, | |
5,20120712,2,【千住】グループスタディI,本橋光也, | |
5,20120712,3,【千住】流体の力学Iおよび演習,児山秀晴, | |
5,20120712,6,【千住】電気回路の基礎および演習,本橋光也, | |
5,20120713,1,【千住】オブジェクト指向プログラミングおよび演習,脇英世, | |
5,20120713,2,【千住】オブジェクト指向プログラミングおよび演習,脇英世, | |
5,20120713,7,【千住】基礎情報数学B(確率と情報),月本洋, | |
5,20120716,2,【千住】建築設備概論,射場本忠彦, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private HSV HsvFromRgb(double r, double g, double b) | |
{ | |
var max = Math.Max(Math.Max(r, g), b); | |
var min = Math.Min(Math.Min(r, g), b); | |
var sub = max - min; | |
double h = 0, s = 0, v = 0; | |
// Calculate Hue | |
if (sub == 0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// RGBへ変換する | |
/// </summary> | |
/// <returns>RGBオブジェクト</returns> | |
public RGB ToRGB() | |
{ | |
// まず、もしSが0.0と等しいなら、最終的な色は無色もしくは灰色である。 | |
if (Saturation == 0) | |
{ | |
return new RGB(Value, Value, Value); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Imports Softbuild.Media | |
Public NotInheritable Class MainPage | |
Inherits Page | |
Protected Overrides Async Sub OnNavigatedTo(e As Navigation.NavigationEventArgs) | |
Dim bmp As WriteableBitmap = New WriteableBitmap(320, 240) | |
Await bmp.EffectBakumatsuAsync() | |
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list.Add(new SiteInfo(1, PublisherTypes.ShortStory, "SS宝庫", PublishTypes.RDF, "http://minnanohimatubushi.2chblog.jp/index.rdf", true)); | |
list.Add(new SiteInfo(2, PublisherTypes.ShortStory, "インバリアント -SSまとめサイト-", PublishTypes.RDF, "http://feed.rssad.jp/rss/fc2/invariant0.blog130", true)); | |
list.Add(new SiteInfo(3, PublisherTypes.Anime, "お絵かき速報!萌え絵上達法", PublishTypes.RDF, "http://mazikanon.blog102.fc2.com/?xml", true)); | |
list.Add(new SiteInfo(4, PublisherTypes.Sports, "なんJ(まとめては)いかんのか?", PublishTypes.RDF, "http://blog.livedoor.jp/livejupiter2/index.rdf", true)); | |
list.Add(new SiteInfo(5, PublisherTypes.News, "痛いニュース(ノ∀`)", PublishTypes.RDF, "http://blog.livedoor.jp/dqnplus/index.rdf", true)); | |
list.Add(new SiteInfo(6, PublisherTypes.News, "哲学ニュースnwk", PublishTypes.RDF, "http://blog.livedoor.jp/nwknews/index.rdf", true)); | |
list.Add(new SiteInfo(7, PublisherTypes.News, "ハムスター速報", PublishTypes.RDF, "http://hamusoku.com/index.rdf", true)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Drawing; | |
using MonoTouch.Foundation; | |
using MonoTouch.UIKit; | |
using System.Net; | |
using System.IO; | |
namespace WebRequestSample | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using SQLite; // ←これを追加 | |
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Linq; | |
using Windows.Foundation; | |
using Windows.Foundation.Collections; | |
using Windows.UI.Xaml; | |
using Windows.UI.Xaml.Controls; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// SepiaEffect.cs | |
// | |
// Copyright (c) 2012 Kenji Wada, http://ch3cooh.jp/ | |
// | |
// Permission is hereby granted, free of charge, to any person obtaining | |
// a copy of this software and associated documentation files | |
// (the "Software"), to deal in the Software without restriction, including | |
// without limitation the rights to use, copy, modify, merge, publish, | |
// distribute, sublicense, and/or sell copies of the Software, and to |
OlderNewer