본문 바로가기 메뉴 바로가기

프로그래밍

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

프로그래밍

검색하기 폼
  • 분류 전체보기 (125)
    • C# Programming (47)
    • Python Programming (0)
    • Veranda Plant Factory (22)
    • System Trading (10)
    • Excel & VBA (9)
    • esp32 드론 만들기 (7)
    • Sqlite Database (3)
    • Chrome Extension (0)
    • Stirling Engine Generator (3)
    • 3D Printing (2)
    • Mysql Database (2)
    • Windows Trouble Shooting (2)
    • IT & Computer (2)
    • Book Summary (1)
    • Mathematics (1)
    • Tranggle GPS (1)
    • Recipes (1)
    • OpenOffice (1)
    • Electronic Craft (1)
    • RecordOfReading (3)
    • HTML CSS JAVASCRIPT (1)
  • 방명록

C# Programming (47)
C# DataColumn.Expression

행을 필터링하거나 열의 값을 계산하거나 집계 열을 만드는 데 사용되는 식을 가져오거나 설정합니다.예제private void CalcColumns(){ DataTable table = new DataTable (); // Create the first column. DataColumn priceColumn = new DataColumn(); priceColumn.DataType = System.Type.GetType("System.Decimal"); priceColumn.ColumnName = "price"; priceColumn.DefaultValue = 50; // Create the second, calculated, column. DataColumn taxColumn = new DataColumn(..

C# Programming 2018. 12. 18. 08:52
c# SortableBindingList<T>

public class SortableBindingList : BindingList where T : class { private bool _isSorted; private ListSortDirection _sortDirection = ListSortDirection.Ascending; private PropertyDescriptor _sortProperty; public SortableBindingList() { } public SortableBindingList(IList list) : base(list) { } protected override bool SupportsSortingCore { get { return true; } } protected override bool IsSortedCore ..

C# Programming 2018. 12. 17. 03:06
C# 마우스로 폼이동하기

전체 소스파일입니다 폼을 두개 생성합니다Form1 - 메인폼이죠 기본생성되는 폼MoveForm - 폼을 움직일때 테두리를 표시해 주기 위한 폼 MoveForm 에 패널을 하나 넣고 this.BackColor = System.Drawing.Color.DarkSlateGray; // MoveForm 배경을 빨강이 아닌 아무색이나 변경. 테두리로 보일 색입니다this.panel1.BackColor = System.Drawing.Color.Red; // panel1 배경을 빨강으로 설정합니다this.panel1.Location = new System.Drawing.Point(6, 6); // Location을 6,6으로 설정합니다this.panel1.Size = new System.Drawing.Size(848..

C# Programming 2018. 12. 8. 12:49
C# DataGridView 열 추가된후 열 선택되어있는거 해제하기

DataBindingComplete 이벤트에ClearSelection() 매서드 호출하시면 됩니다 예) // 열이 추가된 후 그리드 선택된것 해제하기 private void MessageGrid_DataBindingComplete(object sender, DataGridViewBindingCompleteEventArgs e) { MessageGrid.ClearSelection(); }

C# Programming 2018. 10. 25. 11:35
C# 텔레그렘 봇

1. Visual Studio 에서 NuGet 패키지 관리에서 Telegram.Bot 를 설치한다 2. private void Form1_Load(object sender, EventArgs e) { /// 비동기 봇 접근 TestAPIAsync(); } static async void TestAPIAsync() { var Bot = new Telegram.Bot.TelegramBotClient(" 여기에 API 토근 입력 "); var me = await Bot.GetMeAsync(); await Bot.SendTextMessageAsync("여기에 Chatid 입력", "여기에 전송할 텍스트"); } 소스는 잘 모르겠습니다어떤 기능을 하는지 저는 일단 텍스트 전송만 테스트하였습니다잘 전송이 됩니다

C# Programming 2018. 7. 13. 10:02
C# Mutex 를 이용한 프로그램 중복 실행 방지

Main 함수입니다 응용해보세요 [STAThread] static void Main() { Mutex m_hMutex = new Mutex(true, "이름는 아무거나", out bool flagMutex); if (flagMutex) { Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new MainForm()); m_hMutex.ReleaseMutex(); } else { MessageBox.Show("중복 안됨"); } }

C# Programming 2018. 7. 6. 16:38
C# datagridview 에 바인딩할 때 컬럼이름 재설정하기

dataGridView1.AutoGenerateColumns = false; DataGridViewTextBoxColumn makeColumn = new DataGridViewTextBoxColumn(); makeColumn.DataPropertyName = "CarName"; makeColumn.HeaderText = "자동차이름"; dataGridView1.Columns.Add(makeColumn); dataGridView1.DataSource = cars;

C# Programming 2018. 7. 4. 23:01
C# 이벤트

C# 이벤트 사용법 namespace Test{class main{void main1(){Test1 t1 = new Test1();t1.MessageOccur += t1_MessageOccur();} private void t1_MessageOccur(string msg){MessageBox.Show(msg);}} class Test1{public delegate void MessageEventHandler(string msg);public event MessageEventHandler MessageOccur; public void test2(){MessageOccur(" Test1 클래스에서 메세지 발생");}} }

C# Programming 2018. 4. 5. 17:50
이전 1 2 3 4 5 6 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 암호화
  • C# textbox 커서 마지막
  • ESP32
  • 복호화
  • 이 행은
  • Xingapi
  • C# 마우스 폼이동
  • 베란다 텃밭
  • 베란다 방울토마토
  • 방울토마토
  • c#
  • 베란타
  • c# 음성
  • imemode
  • framework
  • 이베스트
  • ArgumentException
  • 스털링엔진
  • 시스템트레이딩
  • c# SpeechSynthesizer
  • NET FRAMEWORK
  • 스털링
  • 코딩
  • C# textbox 커서 위치
  • 드론
  • 앉은뱅이 방울토마토
  • 인삼키우기
  • C# textbox 커서 시작
  • c# Speech
  • MySQL
more
«   2025/07   »
일 월 화 수 목 금 토
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
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바