본문 바로가기

Language/C#58

C# 리본메뉴 다운로드 경로: http://windowsribbon.codeplex.com/Project DescriptionWindows Ribbon for WinForms is a .NET wrapper for Windows 7 Ribbon control. It will allow WinForms developers to use Microsoft Windows 7 Ribbon control in their WinForms applications. The project includes the library RibbonLib, which adds support for Windows Ribbon to WinForms application and sample applications, written both in C# an.. 2016. 2. 4.
WPF usercontrol을 winform에서 사용하기 전제조건. WPF userconrol이 있다. 사용하기.1. 참조추가- C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\PresentationFramework.dll (찾아보기) - C:\Program Files\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\PresentationCore.dll (찾아보기) - WindowsFormsIntegration (.Net) 2. using 추가using System.Windows.Controls; using System.Windows.Forms.Integrati.. 2016. 2. 4.
정규식 패턴 RegularExpression을 사용하여 Replace, Search, 패턴검사를 쉽게 할수 있다.' 정규식을 사용한 우편번호 패턴채크 Dim regex As System.Text.RegularExpressions.Regex = _ New System.Text.RegularExpressions.Regex("^\d{3}-\d{3}$") If regex.IsMatch(Me.txtPostNo.Text) Then MessageBox.Show("올바른 우편번호") End If 전자메일 주소 확인Public Class Tester Public Shared Sub Main Dim testString As String Dim emailPattern As String = _ "^([0-9a-zA-Z]+[-._+&])*.. 2016. 2. 4.
Image 배율만큼 확대 /// /// 확대 퍼센트 변수 /// 기본 값 500% /// double dZoomPercent = 500; _img = bmp as Image; Bitmap ConvertImg = new Bitmap(_img, (int)(_img.Size.Width*dZoomPercent/100), (int)(_img.Size.Height*dZoomPercent/100)); _form.BackgroundImage = ConvertImg; 2016. 2. 4.
MSChart Control 설치방법 MS Visual Studio에서 제공하는 Chart component 이다. Dundas chart의 이전 버전을 Microsoft에서 라이센스하여 제공한다고 하며, 무료로 사용 가능하다. 1. 사전 필요사항 - MS Visual Studio 2008 SP1 (Visual Studio 2008 C# Express, Webdeveloper 2008 에서도 사용 가능) Microsoft .NET Framework 3.5 SP1 2. 설치 파일 MSChart.exe MSChart_VisualStudioAddOn.exe DataVisChartControl.zip DataVisChartControl.z01 WebSamples.zip WinSamples.zip WinSamples.z01 WinSamples.z02.. 2016. 2. 4.
Microsoft Public License (MS-PL) Microsoft Public License (MS-PL)This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.1. Definitions The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. A "contribution" is the original software, or any addi.. 2016. 2. 4.
반응형