본문 바로가기
728x90

.Net/WPF3

.NetCore 배포 폴더 만들기 C# .netcore3.1 배포 및 게시 방법 한번 알아봄 프로젝트 우클릭 후 게시 클릭게시에서 폴더 클릭 후 다음 클릭다음 게시에서도 폴더 클릭 후 다음 클릭마침 클릭게시 클릭 하면 프로젝트 빌드되기 시작함빌드가 끝나면 해당 경로에 publish 폴더가 생성 되고 그 안에 프로젝트 생성됨 이 글과 함께 보면 좋은 정보🔧숨고 전문가 매칭이사·청소·레슨 등 전문가 무료 견적, 최대 44% 수수료›🧒엘리하이 키즈유아 학습지 1위, 무료체험 신청 (27,500원 혜택)›🧾머니택스 (절세 상담)프리랜서·사업자 종합소득세 절세, 건당 25,000원 혜택›위 링크를 통해 가입/구매 시 블로그 운영에 도움이 됩니다. (파트너스 활동으로 일정 수수료를 받을 수 있습니다) 2023. 6. 12.
C# WPF Serial 통신 연결 가끔 사용하는 C# Serial 통신사용할때 마다 잊어버려서 기록해놓으려고 한다.UI는 WPF로 작성using System;using System.Collections;using System.IO.Ports;using System.Threading;using System.Windows;using System.Windows.Threading;namespace robot_arduino_test{ public partial class MainWindow : Window { Queue Data = new Queue(); //데이터 저장 큐 SerialPort sp = new SerialPort(); string T_msg = ""; //WPF Text 저장용 .. 2022. 9. 27.
C#/WPF MainWindow Dual monitor setup 듀얼모니터 사용시 프로그램 화면 설정 MonitorCount 가 2 이상이면 설정가능 아래의 배열로 설정가능AllScreens[0] AllScreens[1]if (System.Windows.Forms.SystemInformation.MonitorCount > 1){ System.Drawing.Rectangle secondaryScreenRectangle = System.Windows.Forms.Screen.AllScreens[0].WorkingArea; Window w = sender as Window; w.WindowState = WindowState.Normal; w.WindowStyle = WindowStyle.None; w.WindowStartupLocation = Wi.. 2022. 9. 16.
728x90
반응형