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

Mit

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

Mit

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

분류 전체보기 (143)
DataTable Find Value - Lambda

int? index = new System.Data.DataView(DTL).ToTable(false, new[] { "Chnum" }) .AsEnumerable() .Select(row => row.Field("Chnum")) // ie. project the col(s) needed .ToList() .FindIndex(col => col == _bdr2_name); // returns 2 chnum = Convert.ToInt32(index);

WPF 2020. 3. 30. 17:32
WPF SQLite Nuget 설치후 x86/x64 버전 SQLite.Interop.dll을 찾지 못할때

ClickOnce로 배포후 SQLite.Interop.dll을 찾지 못할때. csproj 파일을 메모장에서 열고 아래 부분을 붙여넣고 배포한다. NuGet을 추가 한 후에는 배포가 Interops를 복사하지 않습니다. 아래 내용을 csproj 파일에 추가하고 해당 동작을 수정해야합니다. true false false false https://stackoverflow.com/questions/13028069/unable-to-load-dll-sqlite-interop-dll

WPF 2020. 3. 25. 16:28
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
[MSSQL] 서버 수준의 URN 필터가 잘못되었습니다.

[MSSQL] 서버 수준의 URN 필터가 잘못되었습니다. SELECT @@SERVERNAME '현재 서버네임 확인 1. 서버네임삭제 EXEC sp_dropserver '조회된 서버네임' GO 2. 서버네임생성 EXEC sp_addlinkedserver '?????\SQLEXPRESS' GO

ETC 2020. 1. 22. 11:11
ClickOnce 인증서 인증기간 변경

>>첨부된 파일 다운로드 >> 압축풀기 >> 압축해제된 renewcert 폴더에 인증키복사 CMD(관리자로그인) >> CD 압축해제된폴더 >> renewcert 기존키이름.pfx 새로운키이름.pfx "CN=Teon\Teon" 비밀번호 * 인증기간은 10년으로 변경됨. http://may.be/renewcert/

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

티스토리툴바