//텍스트 파일쓰기 예제 string txtFile = @"text.txt"; FileStream fileStream = new FileStream(txtFile, FileMode.Append, FileAccess.Write);StreamWriter streamWriter = new StreamWriter(fileStream, System.Text.Encoding.Default); streamWriter.WriteLine(txt);streamWriter.Flush(); streamWriter.Close();fileStream.Close();
using System.Reflection; // 추가합니다그리고 public static class ExtensionMethods { public static void DoubleBuffered(this DataGridView dgv, bool setting) { Type dgvType = dgv.GetType(); PropertyInfo pi = dgvType.GetProperty("DoubleBuffered", BindingFlags.Instance | BindingFlags.NonPublic); pi.SetValue(dgv, setting, null); } }위의 클래스를 추가하시고 그리고 private void Form1_Load(object sender, EventArgs e) { dataGr..
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Runtime.InteropServices; // 추가해주시고 namespace ConsoleApplication1{ class Program { // DllImport [DllImport("kernel32")] private static extern long WritePrivateProfileString(string section, string key, string val, string filePath); [DllImport("kernel32")] private static exter..
- Total
- Today
- Yesterday
- Xingapi
- 베란다 텃밭
- 앉은뱅이 방울토마토
- 코딩
- C# textbox 커서 시작
- c#
- imemode
- C# textbox 커서 위치
- c# Speech
- 인삼키우기
- 방울토마토
- 암호화
- c# SpeechSynthesizer
- 드론
- framework
- 스털링엔진
- ArgumentException
- MySQL
- c# 음성
- 베란다 방울토마토
- 이베스트
- C# textbox 커서 마지막
- NET FRAMEWORK
- 시스템트레이딩
- 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 |
