DevExpress VCL套件是一套非常强大的界面控件,可惜关于Delphi开发方面的说明太少,有些控件使用起来一头雾水,不知从何下手。本节详细介绍在Delphi Xe10 Seattle中如何利用dxLayoutControl 控件来做界面布局。 1、 首先从工具箱面板中将dxLayoutCon ...
1、分支语句之 if 语句 1、流程控制语句是程序的核心部分,对任何一门编程语言来说都至关重要,是控制程序执行流向的基本语句。如果一门语言缺少了流程控制,就会缺少对程序流向的控制,就不能称之为计算机语言。 2、C#语言提供了丰富、灵活的控制流程语句,主要分分支语句、迭代语句、跳转语句三类。 分支语句 ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; using System.IO; namespace ConsoleApplication { class Program { static void Main(string[] args) { FileStream file = new FileStream("log.... ...
using System; using System.Runtime.InteropServices; namespace ConsoleApplication { class Program { [DllImport("winmm.dll")] public static extern uint ... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { Console.Write(DateTime.Now); Console.ReadKey... ...
using System; namespace ConsoleApplication2 { class Program { static void Main(string[] args) { int a = 5; unsafe { int* p... ...
using System; using System.Media; namespace ConsoleApplication { class Program { static void Main(string[] args) { SoundPlayer s = new SoundPlayer("te... ...
using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace W... ...
using System; using System.Collections.Generic; namespace ConsoleApplication { class Program { static void Main(string[] args) { Dictionary a = new Di... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; namespace ConsoleApplication { class Program { static void Print(int a, int b) { Console.Write(a + b); } static void Print(string a... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; using System.Net; namespace ConsoleApplication { class Program { static void Main(string[] args) { IPHostEntry ipHost = Dns.GetHostEntry... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...
using System; namespace ConsoleApplication { class Program { static void Main(string[] args) { string a = "1234"; int b = Convert.ToInt32(a)+1; ... ...
using System; using System.Net; using System.Net.Mail; using System.Text; namespace ConsoleApplication { class Program { static void Main(string[] arg... ...
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.... ...