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.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
using System.Net; | |
using System.Text; | |
using System.IO; | |
using System.Data.SqlClient; |
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.Numerics; | |
using System.Text; | |
/// <summary> | |
/// Extension methods to convert <see cref="System.Numerics.BigInteger"/> | |
/// instances to hexadecimal, octal, and binary strings. | |
/// </summary> | |
public static class BigIntegerExtensions | |
{ |
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.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Diagnostics; | |
using System.Reflection; | |
using System.Runtime.InteropServices; | |
namespace WindowsHookSample | |
{ |
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 button1_Click(object sender, EventArgs e) | |
{ | |
hssfworkbook = new HSSFWorkbook(); | |
MemoryStream ms = new MemoryStream(); | |
// 新增試算表。 | |
hssfworkbook.CreateSheet("試算表 A"); | |
hssfworkbook.CreateSheet("試算表 B"); | |
hssfworkbook.CreateSheet("試算表 C"); |