在WinFrom應用程式中,若調用一個WPF的表單,則彈出後,在文字框中不能輸入數字,這是因為WPF表單WinForm應用程式互動中,不能響應鍵盤操作資訊所致。解決方案如下:引用WindowsFormsIntergation.dll這個類庫,並使用如下代碼:Window winWPF = new Window();
最近一直跟DataGridView打交道,突然覺得很多技巧性的東西很模糊,經過最近的個人實驗操作和從網上查到的資料把對DataGridView操作的一些技巧總結和借鑒了一下,總結如下:1、自訂欄 Customize Cells and Columns in the Windows Forms DataGridView Control by Extending Their Behavior and Appearance Host Controls in Windows
Dotnet環境下的crystal report的部署(上)項目的需要,要使用crystal做報表顯示,水晶報表功能就是強大,做的報表就是漂亮,不過在使用過程中經常會遇到一些問題,很是麻煩,最可氣的是其隨軟體的協助有時都會誤導你。下面我將我這次的經曆展示一下,以免同道再走我的彎路。我的開發環境是win xp professional + visual studio for .net 2002 + crystal for
在用GDI+寫程式時,有 bmp = new Bitmap(L"E:\\1.png");用VC6 SP6或VS2005編譯錯誤為error C2660: 'new' : function does not take 3 parameters這是VC的一個BUG,微軟至今還沒有解除。解決辦法如下:法一:在該CPP檔案開頭部分注釋掉#define new DEBUG_NEW#ifdef _DEBUG//#define new
Servlet specification中關於load-on-startup的解釋:The load-on-startup element indicates that this servlet should be loaded (instantiated and have its init() called) on the startup of the web application. The optional contents of these element must be an
access 關鍵字影響 sql語句報錯 設計表時使用要注意 -A ADD ALL Alphanumeric ALTER AND ANY Application AS ASC Assistant AT AUTOINCREMENT Avg-B BETWEEN BINARY BIT BOOLEAN BY BYTE-C CHAR, CHARACTER COLUMN
/*** Copyright 2013 the original author or authors.** May 23, 2013*/import java.io.File;import javax.servlet.ServletException;import org.apache.struts.action.ActionServlet;import org.junit.After;import org.junit.Before;import org.junit.Test;import