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

Mit

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

Mit

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

WPF (47)
Custom class Clr-namespace

xmlns:my="clr-namespace:Test_name" Xaml 컨트롤에서 사용

WPF 2020. 3. 17. 09:30
WPF 프린트 출력, PDF -> FTP로 전송

try { PrintDialog printDialog = new PrintDialog(); // 프린트 다이얼로그 생성 printDialog.PrintTicket.PageOrientation = System.Printing.PageOrientation.Landscape; printDialog.PageRangeSelection = PageRangeSelection.AllPages; printDialog.SelectedPagesEnabled = true; printDialog.UserPageRangeEnabled = true; string return_value = string.Empty; if (Print_Queue == true) { Print_Queue = false; printDialog.MaxPag..

WPF 2020. 2. 26. 09:50
Datagrid CheckBox Template GetCellContent Null Exception or always False Value error

# Xaml #CS // Error1. CheckBox mycheckbox = dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num])) as CheckBox; // Error2. bool? chks = ((CheckBox)dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num])).IsChecked;).IsChecked;) // Solved FrameworkElement item = dataGrid1.Columns[7].GetCellContent(dataGrid1.Items[Row_num]); DataGridTemplateColumn temp = (dataGrid1.Columns[7] as Data..

WPF 2020. 2. 2. 23:55
WPF Rectangle Animate

https://docs.microsoft.com/en-us/dotnet/framework/wpf/graphics-multimedia/how-to-animate-a-rectangle How to: Animate a Rectangle - WPF How to: Animate a Rectangle In this article --> This example shows how to animate changes to the size and position of a rectangle. Example The following example uses an instance of the RectAnimation class to animate the Rect property of a RectangleGeometry docs.m..

WPF 2020. 1. 29. 15:07
DataTable Column Sum Total

DataTable Column Sum Total DataTable sumDataTable = new DataTable(); sumDataTable.Columns.Add("total", typeof(string)); sumDataTable.Columns.Add("workedhours", typeof(int)); sumDataTable.Columns.Add("tfshours", typeof(int)); DataRow row = sumDataTable.NewRow(); row["total"] = "Total"; row["workedhours"] = oldDataTable.Compute("Sum(workedhours)", "workedhours > 0"); row["tfshours"] = oldDataTable..

WPF 2020. 1. 22. 18:43
TextBox get LineNumber and Input Text Handle

private void Text_body_KeyDown(object sender, KeyEventArgs e) { var myTextBox = (TextBox)sender; int caret = myTextBox.CaretIndex; int iLine = myTextBox.GetLineIndexFromCharacterIndex(caret); if (iLine < 11) { e.Handled = true; return; } }

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

티스토리툴바