728x90 반응형 .Net/WPF3 .NetCore 배포 폴더 만들기 C# .netcore3.1 배포 및 게시 방법 한번 알아봄 프로젝트 우클릭 후 게시 클릭 게시에서 폴더 클릭 후 다음 클릭 다음 게시에서도 폴더 클릭 후 다음 클릭 마침 클릭 게시 클릭 하면 프로젝트 빌드되기 시작함 빌드가 끝나면 해당 경로에 publish 폴더가 생성 되고 그 안에 프로젝트 생성됨 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 저장용 public MainWindow().. 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 = WindowStartupL.. 2022. 9. 16. 이전 1 다음 728x90 반응형