TAILIEUCHUNG - WinForms – Basic Controls

WinForms – Basic Control's Objectives is Overview Window Form and basic Control; Form class; Type of Control; Basic Control. It includes Windows Form; WinForms and .NET Framework; Features; Form - basic unit of Application; Life cycle of a form and something else. | WinForms – Basic Controls Objectives Overview Window Form and basic Control Form class Type of Control Basic Control Summary Windows Form WinForms and .NET Framework Features Create App with leats operation Store global data to reused anywhere Powerfull way to link control with data source ( BindingSource component) GDI+ : drawing and painting image on forms ToolStrip,MenuStrip . Form : basic unit of Application Form : property & method Events Life cycle of a form Event Activated Click Deactivated FormClosed FormClosing GotFocus Load Resize Use of Controls Control class Base class of all controls available in WinForms canFocus Controls Enable Name Parent TabIndex Visible Properties Focus getNextControl Hide IsMNemonic Select Show Method Click ControlAdd DoubleClick Validating Validated KeyPress Leave LostFocus MouseClick Move Event Control Class – Properties-Method Common Controls Label class : Property – Method- Event Name Text TextAlign UseMnemonic Properties Contains Hide Show Method Click Event Label fname = new Label(); = “&First Name : “; = true ; TextBox & MaskedTextBox TextBox class : Property – Method- Event CharacterCasing MaxLength MultiLine Name PasswordChar ReadOnly Text Properties AppendText Clear Focus Copy Paste Method KeyPress Leave TextChanged Event MaskedTextBox class : Property – Method- Event Mask MaskFull MaskCompleted Name PromptChar Text Properties GetPositionFromCharIndex IsKeyLock SelectAll Method MaskChanged MaskedInputRejected Event MaskedTextBox mks = new MaskedTextBox(); = “00000-9999”; = “095204-7763”; if(!) { (“Enter proper code ”); } Mask Button class : Property – Method- Event DialogResult Enabled FlatStyle Image Name Text Properties Focus PerformClick Method Click DoubleClick MouseDoubleClick Event Button cmdOK = new Button(); cmdOK .Text = “OK” ; = .

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.