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
// TargetBlankの対象リンクを配列に格納する | |
var blankLinks = [ | |
"http://hogehoge/hoge/", | |
"http://hogehoge2.com" | |
]; | |
$(function(){ | |
$.each(blankLinks,function(index,value){ | |
$("a[href='"+value+"']").attr({target:"_blank"}); | |
}); |
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
function createSplitterValue(targetStr) | |
{ | |
var names = targetStr.split('_'); | |
var setName = ''; | |
for( var i=0 ; i<names.length ; i++ ) { | |
setName += names[i] + "<br />"; | |
} | |
return setName; | |
} |
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 void ConvineBooks(object sender, RibbonControlEventArgs e) | |
{ | |
// アプリケーション | |
Excel.Application thisApp = Globals.ThisAddIn.Application; | |
// 現在のブック | |
Excel.Workbook thisBook = thisApp.ActiveWorkbook; | |
using (FolderBrowserDialog fbd = new FolderBrowserDialog()) | |
{ | |
if (fbd.ShowDialog() == DialogResult.OK) |
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 class APPAREL | |
{ | |
public APPAREL() | |
{ | |
} | |
public APPAREL(string shop, string itemName, Sizes size, int stock, int price) | |
{ | |
this.Shop = shop; | |
this.ItemName = itemName; |