Tutorials to .com

Tutorials to .com » Dotnet » Winform » .Net Windows development

.Net Windows development Articles


161: Lazy, standardization and automation -> tool
Original text published in the "MSDN development of selected", if reproduced in a commercial site or magazine, please contact me from here to download, if readers are interested, you can buy the magazine to read, below, if the number of so...

162: API do not have to find a realization of all the files under the folder
I wrote a module to find documents, API can not achieve the recursive wildcard search based on a folder and its subfolders of all documents, including all the hidden, system, read-only files, run faster. And at the same time a number of wildcard mat...

163: How to webbrowser and IE programming (c)
IWebBrowserApp Only in the IE interface IWebBrowserApp achieve. Typical, InternetExplorer object you use IE to create a case in point. IWebBrowserApp interface and then you use the example of manipulation. (IWebBrowser2 alternative used today) IWeb...

164: FasSms2.0beta1 integration Cnforums2.02 (attached to source code version)
1. Create a new sql database 2. In Query Analyzer run Cms / Table.sql 3. In Query Analyzer run Cms / function.sql 4. From Cms / data.mdb import all the data 5. Web.config modified as follows position <! - Database connection settings: dbSer...

165: To your table automatically generate CRUD stored procedures
In April 2003 in the msdn magezine, there is an article "Automate the Generation of Stored Procedures for Your Database" Which provides a method for each database table are generated corresponding to the CRUD stored procedures. This featu...

166: BOOLEAN out similar improvements with the rewrite DATAGRIDTEXTBOX
Here we run an article on how to proceed with data columns and display the contents of the method of operation. This method is similar to the realization: There are data table test (id int not null primary key, name varchar (20), sex bit), then see ...

167: Set form background picture and picture with the form so that the size of the adjustment to adjust the size of
Private r As RectangleF Private m_image As Image = Image.FromFile ( "g: \ picture.bmp") Private Sub Form1_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Try r = New RectangleF (0, 0, Me.ClientSize...

168: Out the application button. (Add button in datagrid column, winforms)
Public Class mybuttondatagridtablestyle1 Inherits System.Windows.Forms.DataGridTextBoxColumn # Region "Windows Form Designer generated code" Public Sub New () MyBase.New () ''''Is the call by the Windows Form Designer ...

169: Listbox control with color
Private Sub filllistboxwithcolors () Me.ListBox1.DrawMode = DrawMode.OwnerDrawFixed Me.ListBox1.ItemHeight = 24 To avoid flicker'''' Me.ListBox1.BeginUpdate () ListBox1.Items.Clear () Dim pi As Reflection.PropertyInfo For Each...

170: Can not drag the title bar of the form, and can pull the form size changes.
Note: To set up a form of controlbox attribute false, Pay particular attention to: form.text to set to air, otherwise they would not remove the title bar Dim MousX As Integer Dim MousY As Integer Dim CurrX As Integer Dim CurrY As Integer Publi...

171: Sine function of a method of drawing. (Coordinate transformation and to enlarge)
Private Sub Button1_Click (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim G As Graphics G = PictureBox1.CreateGraphics () Coordinates of origin''mobile''(it becomes the next starting point (2...

172: The realization of the use of reflection to create a form based on the name of Dynamic Methods.
'Method 1 to create examples of the use of activator methods Dim str As String str = "Form2"''''namespace must be a + point + form the class name (here assumed to be empty namespace) Dim tempAssembly As [Assembly] = ...

173: Run-time tensile and mobile control class.
Public Class Resize ''Mobile''it? Private IsMoving As Boolean = False ''Control''the final width Private ctrlLastWidth As Integer = 0 Finally,''''high-control Private ctrlLastHeight As Integer = ...

174: String based on a number of characters in a way to partition (using the split rather than regex.split not replace)
Dim s As String = "gtdfg123fdgdfs123dd123" Dim c () As Char = ( "1", "2", "3") Dim a () As String = s.Split (c) Dim p As String For Each p In a If p <> "" Then MessageBox.Show (p) End If...

175: A recursive use of the data read from the database to dynamically establish a menu approach
Table structure and contents MenBh MenText Bhparent 0001 documents <null> 0002 Editor <null> 0005 Open 0001 0006 New 0001 0011 access database 0006 Dbf 0006 of 0012 VFP 0013 Shear 0002 0014 copy 0002 0014 copy 0015 total Priva...

176: Tabcontrol settings tab font control for the.
Private tabArea As Rectangle Private tabTextArea As RectangleF Private Sub Form1_Load (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Me.TabControl1.DrawMode = TabDrawMode.OwnerDrawFixed''''set the...

177: Drag the control container (from a container to another container)
Private Sub PictureBox2_MouseDown (ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles PictureBox2.MouseDown Me.PictureBox2.DoDragDrop (sender, DragDropEffects.Move) End Sub Private Sub GroupBox1_DragEnter (ByVal sende...

178: Write a unit test helper class for reading the text by adding data, deleting data and inspection data
The following is a text file data format "#" Is the Notes "T:" is to "D:" is to delete the data inside the table "C:" is to check data Between the data and the data separated by TAB (Enterprise Manager ca...

179: [DNN features] add a list of the management of China's provinces, the drop-down box to choose
DNN in the list of management can be achieved in the variable on the list DNN management. Variable list includes: choice of currency, such as alternative country provinces. These lists have the following general form of pull box. DNN in the process ...

180: . net package based on API access DirectUIHWND form
Directly into the subject: 1. Add Reference. Project -> Add Reference -> C: \ Progmme ~ 1 \ MSN Messenger \ msnmsgr.exe 2. Using MessengerAPI; Statement: private MessengerAPI.MessengerClass msn; private MessengerAPI.IMessengerConversation...


Page 9 of 25
[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]