Process.Start(@"C:\Windows\notepad.exe");
Visual Studio NuGet 패키지 관리자에서 System.Text.Json 을 설치한다 변환 예제) class JsonData { public string Name { get; set; } public int Age { get; set; } } private void button2_Click(object sender, EventArgs e) { var jsonData = new JsonData { Name = "Kim", Age = 2540, }; string jsonString = JsonSerializer.Serialize(jsonData); Console.Write(jsonString); // 읽기 var djsonData = JsonSerializer.Deserialize(jsonStri..
Application AppExcel = null; Workbook workBook = null; Worksheet workSheet = null; try { AppExcel = new Application { Visible = true }; workBook = AppExcel.Workbooks.Add(); workSheet = workBook.Worksheets.Add(Before: workBook.Worksheets.Item[1]); // 여기에 코드를 작성하시오 workBook.SaveAs(@"d:\"+ DateTime.Now.ToString("HHmmss")+".xlsx", XlFileFormat.xlWorkbookDefault); } catch (Exception e) { } finally { ..
using System.Reflection; using System.Windows.Forms; namespace WindowsFormsApp1 { public static class Extensions { public static void DoubleBuffered(this Control control, bool enabled) { var prop = control.GetType().GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic); prop.SetValue(control, enabled, null); } } }
using System.Drawing; using System.Windows.Forms; namespace WindowsFormsApp1 { internal class FlickerFreeListBox : ListBox { public FlickerFreeListBox() { this.SetStyle( ControlStyles.OptimizedDoubleBuffer | ControlStyles.ResizeRedraw | ControlStyles.UserPaint, true); this.DrawMode = DrawMode.OwnerDrawFixed; } protected override void OnDrawItem(DrawItemEventArgs e) { if (this.Items.Count > 0) { ..
protected override void WndProc(ref Message m) { const int RESIZE_HANDLE_SIZE = 10; switch (m.Msg) { case 0x0084/*NCHITTEST*/ : base.WndProc(ref m); if ((int)m.Result == 0x01/*HTCLIENT*/) { Point screenPoint = new Point(m.LParam.ToInt32()); Point clientPoint = this.PointToClient(screenPoint); if (clientPoint.Y
- Total
- Today
- Yesterday
- 스털링
- c# SpeechSynthesizer
- 이 행은
- C# textbox 커서 마지막
- 코딩
- 인삼키우기
- 드론
- imemode
- NET FRAMEWORK
- 스털링엔진
- C# textbox 커서 시작
- c# Speech
- 방울토마토
- MySQL
- Xingapi
- 이베스트
- 베란다 방울토마토
- framework
- c#
- ArgumentException
- C# textbox 커서 위치
- 베란타
- c# 음성
- ESP32
- C# 마우스 폼이동
- 앉은뱅이 방울토마토
- 시스템트레이딩
- 복호화
- 베란다 텃밭
- 암호화
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
