string exceptionLogFile = Path.Combine(Path.GetDirectoryName(Application.ExecutablePath), @"Exception.txt"); private void checkBoxTopMost_CheckedChanged(object sender, EventArgs e) { try { this.TopMost = this.checkBoxTopMost.Checked; } catch (Exception ex) { StackFrame fr = new StackFrame(true); StackTrace st = new StackTrace(fr); MethodBase mb = fr.GetMethod(); recordExceptionLog(ex, mb.Name, f..
add UIAutomationClient.dll and UIAutomationTypes.dll libraries to project references using System.Diagnostics; using System.Threading; using System.Windows.Automation; namespace AutoTest { class Program { static void Main(string[] args) { bool isRun = false; Process[] myProcesses = Process.GetProcesses(); foreach (Process item in myProcesses) { if (item.ProcessName == "calc") { isRun = true; bre..
using System; namespace IndexerSample { class Program { static void Main(string[] args) { IntBits bits = new IntBits(Int32.MaxValue); printIntBits(bits); printBinaryString(Int32.MaxValue); bits.Value = 1; printIntBits(bits); printBinaryString(1); bits.Value = 0; printIntBits(bits); printBinaryString(0); bits.Value = -1; printIntBits(bits); printBinaryString(-1); bits.Value = Int32.MinValue; prin..
perform a circular bit shift in C# (int32variable > (32 - bits)) using System; namespace Shifting { class Program { static void Main(string[] args) { int num; int cnt; Console.WriteLine("> Int32.MaxValue"); num = Int32.MaxValue; cnt = 0; do { printBinaryString(num, cnt); num = num >> 1; cnt++; } while (cnt > Int32.MinValue"); num = Int32.MinValue; ..
regsvr32 acawebthumb.dll regsvr32 /u acawebthumb.dll using System; using System.Runtime.InteropServices; namespace WebThumbSample { class RegCOMServer { [DllImport("kernel32.dll")] static extern bool FreeLibrary(IntPtr hModule); [DllImport("kernel32.dll")] static extern IntPtr LoadLibrary(string lpFilename); [DllImport("kernel32.dll")] static extern UIntPtr GetProcAddress(IntPtr hModule, string ..
using System.Windows.Forms; namespace DetectUserControlClosing { public partial class UserControl1 : UserControl { public UserControl1() { InitializeComponent(); } protected override void OnCreateControl() { base.OnCreateControl(); this.ParentForm.FormClosing += new FormClosingEventHandler(ParentForm_FormClosing); } private void ParentForm_FormClosing(object sender, FormClosingEventArgs e) { Dia..
using WeifenLuo.WinFormsUI.Docking; namespace DockPanelSample { public partial class FormChild : DockContent { public FormChild() { InitializeComponent(); } } } using System; using System.Windows.Forms; namespace DockPanelSample { public partial class FormMain : Form { private FormChild formChild1; private FormChild formChild2; private FormChild formChild3; private FormChild formChild4; public F..
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using WeifenLuo.WinFormsUI.Docking; namespace DockPanelSample { public partial class FormChild : DockContent { public FormChild() { InitializeComponent(); } } } using System; using System.Collections.Generic; using System.ComponentMo..
using System; using System.Windows.Forms; namespace MdiSample { public partial class FormMain : Form { public FormMain() { InitializeComponent(); } private void menuItemNew_Click(object sender, EventArgs e) { FormChild newMDIChild = new FormChild(); newMDIChild.MdiParent = this; // Set the Parent Form newMDIChild.Show(); // Display the new form } private void menuItemCascade_Click(object sender,..
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlServerCe; namespace DataSample { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void toolStripButtonReadXml_Click(object sender, EventArgs e) { this.dataSet1.Clear(); this.d..
- Total
- Today
- Yesterday
- AdSense숨기기
- tagREADYSTATE
- Automation
- Rollback Rx
- iTextSharp
- AdSense감추기
- autohotkey
- 애드센스숨기기
- .net framework
- AxWebBrowser
- registry
- java
- Microsoft
- DotNetMagic
- windows
- Regular Expressions
- ScreenHunter
- 애드센스감추기
- Sample Code
- READYSTATE_COMPLETE
- WinAutomation
- Phalanger
- jre
- 스크린캡쳐
- c#
- iText
- download.com
- Service pack
- 유틸리티
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |