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

Mit

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

Mit

검색하기 폼
  • 분류 전체보기 (143)
    • Maui (7)
    • Xamarin (33)
    • WPF (47)
    • VBA (3)
    • C# WinForm (7)
    • ETC (42)
  • 방명록

분류 전체보기 (143)
MSSQL 오전 오후 DateTime Convert

convert(datetime, left(CB_insert_time,charindex(' ',@시간,1)-1) + ' ' + right(@시간,charindex(' ',reverse(@시간),1)-1) + case when charindex('오전',@시간,1) > 0 then 'AM' else 'PM' end )

WPF 2019. 10. 10. 09:59
Windows Resize Manual Mode

https://stackoverflow.com/questions/27157390/wpf-custom-window-windows-edge-resize-feature Wpf custom window, Windows edge resize feature Got a custom wpf window (WindowStyle=None, AllowTransparancy=true) and wondering how to get Windows edge resize features to work.. you know when draging window and mouse touches left, right or top ... stackoverflow.com

WPF 2019. 10. 8. 00:09
Dynamic Button 생성, Event

Xaml code:​​​​​​​ public MainWindow() { InitializeComponent(); for (int i = 0; i

WPF 2019. 9. 3. 09:22
WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)

Microsoft.Office.Interop을 사용하여 셀별로 복사하면 너무오래걸려 Row 일괄 복사하도록하여 성능향상 DataGrid -> DataView -> DataTable 로 변환하고 foreach 에서 DataRow 별로 일괄 붙이기. DataView Dview = (DataView)result_grid2.ItemsSource as DataView; DataTable Ex_table = Dview.Table; string excelRange1 = "A" + cellRowIndex;// 복사 시작범위 string excelRange2 = "BL" + cellRowIndex;// 복사 종료범위 worksheet.Range[excelRange1, excelRange2].Value2 = dr.Item..

WPF 2019. 8. 27. 09:22
WPF Datagrid Cell Value Change

데이터그리드 셀값 삭제하는방법이 어려워 셀값을 공백으로 붙여 넣었다. private void Paste_Cell(int col_index, int row_index) { DataGridColumn column1 = dataGrid1.ColumnFromDisplayIndex(col_index); column1.OnPastingCellClipboardContent(dataGrid1.Items[row_index], ""); }

WPF 2019. 6. 27. 21:13
WPF Textbox 항상 처음라인에 쓰기

if (list_box.LineCount > 1) { list_box.Text = list_box.Text.Insert(0, "[" + line_count.ToString() + "] " + lines); } else { list_box.AppendText("["+line_count.ToString()+"] "+lines); }

WPF 2019. 6. 26. 20:25
WPF Textbox 마지막라인 삭제

list_box.Text = list_box.Text.Remove(list_box.Text.LastIndexOf(Environment.NewLine));

WPF 2019. 6. 26. 20:24
WPF C# Serial EOF Check

String RF_text; private void SetText(string text) { if (RF_ID.Dispatcher.CheckAccess()) { RF_text = RF_text + text; byte[] StrByte = Encoding.UTF8.GetBytes(text); for (int i = 0; i < StrByte.Length; i++) { if (StrByte[i] == 0x03) //0x1A { RF_ID.Text = RF_text; SendSerial(true); RF_text = String.Empty; break; } } } else { SetTextCallBack d = new SetTextCallBack(SetText); RF_ID.Dispatcher.Invoke(d..

WPF 2019. 6. 24. 20:38
VBA 셀 선택 이벤트(선택한 열 색 추가, 이전 열 색 삭제)

VBA 셀 선택 이벤트(선택한 열 색 추가, 이전 열 색 삭제) -- Sheet1 Public pre_string As Integer Public Sub Worksheet_SelectionChange(ByVal Target As Range) On Error GoTo test Dim rs_string As Integer rs_string = VBA.Right(ActiveCell.Address, (Len(ActiveCell.Address) - 3)) 'ActiveCell.Address If Selection.Count = 1 And Sheet1.Range("a" & rs_string & ":z" & rs_string).Interior.Color RGB(120, 240, 200) Then If Not Inte..

VBA 2019. 6. 17. 17:34
Combobox 로딩중 selected event 금지

if (!cmbBox.IsLoaded) return;

WPF 2019. 5. 14. 15:58
이전 1 ··· 9 10 11 12 13 14 15 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • Microcharts
  • Embeded 한글Font적용
  • Entry '' has empty native path
  • Xamarin Firebase Phone User Add
  • Xamarin.Ios Firebase Phone SMS OTP Send
  • ClickOnce 인증서 인증기간 변경
  • C# LINQ Left join
  • ssl_client_socket_impl.cc
  • 암호 마스터키
  • WPF Textbox
  • 서버 수준의 URN 필터
  • Xamarin.Forms
  • Label Text LineBreak in Xaml
  • Xamarin reCAPTCHA
  • SkiaSharp
  • WPF Excel Export Microsoft.Office.Interop 성능향상(열 기준으로 복사)
  • Linux SSH Multi Computer Join
  • Xamarin Firebase Phone Auth
  • GetCellContent CheckBox Value
  • Windows IIS FTP 디렉토리 목록 오류
  • Xamarin.Ios Firebase Phone User Add
  • c# Encrypt / Decrypt
  • WPF Datagrid Cell Value Change
  • Xamarin.Ios Firebase Phone Auth
  • Xamarin SMS OTP Send
  • WPF Scrollviewer in ScrollViwer
  • FileStream Add Byte
  • 연산자 뒤에 피연산자가 없습니다.
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

티스토리툴바