본문 바로가기

Winform

NLog.Windows.Forms https://github.com/NLog/NLog.Windows.Forms NLog.Windows.Forms This package is an extension to NLog.This package contains targets specific for Windows.FormsTargetsRichTextBoxTargetMessageBoxTargetFormControlTargetHow to useWhen installing with Nuget, no additional configuration is needed.LicenseBSD 더보기
LogString: A Simple C# 2 Application Event Logging Class 출처: https://www.codeproject.com/Articles/15364/LogString-A-Simple-C-Application-Event-Logging-C IntroductionWhen interfacing to real-world devices, it is typical to have one or more background processing tasks responsible for collecting data and/or controlling the devices. Monitoring these tasks can be done in a variety of ways, some of which can involve complex GUI components for status reporti.. 더보기
C# WinForm : JSON 결과값을 반환하는 웹서비스 값 가져오기 출처: http://son10001.blogspot.kr/2015/05/c-winform-json.html .Net 의 웹서비스를 이용해서 JSON 데이터를 보내는 것을 만들어 보았다. [JSON 웹서비스 만들기 링크: http://son10001.blogspot.kr/2015/05/c-json.html] 그럼 이걸 써먹어야지. WinForm 에서 한번 불러와 보자. 일단 "Newtonsoft.Json" 를 참조에 넣자. 참조에 "NuGet 패키지 관리..." 에서... Json.NET 을 설치하면... 이렇게 "Newtonsoft.Json" 이 설치된다. 물론 JSON 데이터를 직접 컨트롤할 자신이 있다면 안해도 되긴 한다. 일단 MIT License 라서 부담이 적으니 뭐... 그냥 쓰자... 그리고.. 더보기
C#에서 HTTP POST로 JSON 데이터 보내는 방법 출처: http://blog.83rpm.com/archives/1445 회사 업무 중 HTTP POST로 Request Body에 JSON을 넣어서 보내야 할 일이 있어서 간단하게 짜본 WinForm 프로그램이다.이런 코드들을 간단하면서도 막상 필요할 때 찾아서 쓰기가 귀찮아서 찾아보기 쉽게 여기에 적어둔다.using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.IO;using System.Linq;using System.Net;using System.Text;using System.Threading.Tasks;using System.W.. 더보기