Basic Components Devi, Erick, Hendrawan, Reddy © Sekolah Tinggi Teknik Surabaya 1.

Slides:



Advertisements
Presentasi serupa
Pemrograman Visual I Pendahuluan Presented by : Herianto.
Advertisements

God... When I find joy in a friend Remind me that there would be an end So I stay with the One who has no end.
Pengenalan Action di dalam Movie Flash
Database Create-Retrieve-Update-Delete (CRUD)
GUI Design Event-Driven Programming Basic Windows Controls
Array Array adalah sekumpulan variable yang memiliki nama dan tipe data yang sama Karena merupakan kumpulan maka array memiliki anggota yang disebagai.
Lecture 2 Introduction to C# - Object Oriented Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Lecture 9 Single Linked List Sandy Ardianto & Erick Pranata © Sekolah Tinggi Teknik Surabaya 1.
Function.
© aSup-2007 PENGENALAN SPSS   1 INTRODUCTION to SPSS Statistical Package for Social Science.
PERTEMUAN II CONTROLS DAN SINTAK DASAR
Object Form, Label, Textbox, & Command Button
Object Form, Label, Textbox, & Command Button
Roesfiansjah Rasjidin Program Studi Teknik Industri Fakultas Teknik – Univ. Esa Unggul.
Elemen Dasar pada Windows Form Pemrograman Visual I 4 sks Renni Angreni, M.Kom. This Slide from Herianto.
Johannes Simatupang, MKom, Cobit5-F NIDN :
Presented by : Arfansyah, M.Kom
1 DATA STRUCTURE “ STACK” SHINTA P STMIK MDP APRIL 2011.
1 Pertemuan 06 Control Object Matakuliah: T0063/Pemrograman Visual Tahun: 2005 Versi: 1/0.
PRAKTIKUM 3 PEMROGRAMAN BASIS DATA. Menghapus baris  Deleting rows- DELETE FROM Use the DELELE FROM command to delete row(s) from a table, with the following.
INTRODUCTION TO SPSS Statistical Package for Social Science 1.
1 Pertemuan 03 Form Matakuliah: T0063/Pemrograman Visual Tahun: 2005 Versi: 1/0.
Pemrograman VB.NET Pertemuan 3.
Pertemuan 05 Sebaran Peubah Acak Diskrit
Kelas SI.  Review Kontrol yang Umum  Pemilihan dan Perulangan  Sub, Function dan Modul  OOP dalam Visual Basic 2008  NameSpace  Array  Menu dan.
1 Pertemuan 09 Menu Matakuliah: T0063/Pemrograman Visual Tahun: 2005 Versi: 1/0.
Fakultas Teknologi Informasi Universitas Budi Luhur
TOOLBOX VISUAL BASIC 6.0.
PEMBUATAN MODEL DATA dan DESAIN DATABASE
Dasar Pemrograman 1 Pemrograman Visual Basic 6.0
1 Pertemuan 21 Function Matakuliah: M0086/Analisis dan Perancangan Sistem Informasi Tahun: 2005 Versi: 5.
LABEL VB.NET menyebut komponen pada Form seperti tombol, Textbox dan lainnya sebagai control yang ditemukan pada class : System.Windows.Foems.Control Label.
Pertemuan 07 Peluang Beberapa Sebaran Khusus Peubah Acak Kontinu
Software Bibliografi.
Bahasa Pemrograman Pertemuan 2-3
1 Minggu 10, Pertemuan 20 Normalization (cont.) Matakuliah: T0206-Sistem Basisdata Tahun: 2005 Versi: 1.0/0.0.
1 Pertemuan 11 Function dari System Matakuliah: M0446/Analisa dan Perancangan Sistem Informasi Tahun: 2005 Versi: 0/0.
Binary Search Tree. Sebuah node di Binary Search Tree memiliki path yang unik dari root menurut aturan ordering – Sebuah Node, mempunyai subtree kiri.
OPERATOR DAN FUNGSI MATEMATIK. Operator  Assignment operator Assignment operator (operator pengerjaan) menggunakan simbol titik dua diikuti oleh tanda.
Dasar query basis data dengan SQLite
PROPERTY, METHOD DAN EVENT
AJAX (Asynchronous Javascript And XML)
Fondasi Pemrograman & Struktur Data
Presented by : Herianto
High Level User Interface
Program Studi Teknologi Game Politeknik Elektronika Negeri Surabaya
AJAX Teguh S.
GARIS DAN SUDUT Kompetensi Dasar
Algoritma & PEMROGRAMAN 2B (Visual basic)
Model Berorinetasi Data
Mengenal Integrated Development Environment (IDE) VB 6
CAD READER PERTEMUAN 4.
Pengenalan Visual Basic
Windows Form (Kontrol Tingkat Lanjut)
Kelas VII semester 2 Rahmi Susiswanti
Algorithms and Programming Searching
TEOREMA PYTHAGORAS This template can be used as a starter file to give updates for project milestones. Sections Right-click on a slide to add sections.
Pertemuan 4 CLASS DIAGRAM.
Model Berorinetasi Data
LABEL VB.NET menyebut komponen pada Form seperti tombol, Textbox dan lainnya sebagai control yang ditemukan pada class : System.Windows.Foems.Control Label.
ELASTIC PROPERTIS OF MATERIAL
Printing: Your printer might not print the same way our printers do, so make sure to try a couple of test prints. If things aren’t aligning quite right,
PERTEMUAN 4 PERANCANGAN PROGRAM.
How to Pitch an Event
HughesNet was founded in 1971 and it is headquartered in Germantown, Maryland. It is a provider of satellite-based communications services. Hughesnet.
 Zoho Mail offers easy options to migrate data from G Suite or Gmail accounts. All s, contacts, and calendar or other important data can be imported.
Fix problems opening Norton  Fix problems opening Norton This problem can happen after you update Norton. To fix the matter, restart the computer. Fix.
If you are an user, then you know how spam affects your account. In this article, we tell you how you can control spam’s in your ZOHO.
Integrasi e-Office dan Saga
Draw a picture that shows where the knife, fork, spoon, and napkin are placed in a table setting.
Transcript presentasi:

Basic Components Devi, Erick, Hendrawan, Reddy © Sekolah Tinggi Teknik Surabaya 1

» Important entities: ˃Properties: define component’s behavior ˃Events » Event-Driven Programming ˃Source code is executed when an event is triggered ˃Every component has event slots that can be coded ˃ Example: click event on Button. » Every components has (name) to identify components’ ID. 2 © Sekolah Tinggi Teknik Surabaya

3

» Text: Form title » Maximize Box » Minimize Box » FormBorderStyle ˃None ˃FixedSingle ˃Fixed3D ˃FixedDialog ˃Sizeable (Default) ˃FixedToolWindow ˃SizableToolWindow 4 © Sekolah Tinggi Teknik Surabaya

» WindowState ˃Normal (Default) ˃Minimized ˃Maximized » StartPosition ˃Manual ˃CenterScreen ˃WindowsDefaultLocation ˃WindowsDefaultBounds ˃CenterParent 5 © Sekolah Tinggi Teknik Surabaya

» Load: Occurs whenever the user loads the form » FormClosed: Occurs whenever the form is closed 6 © Sekolah Tinggi Teknik Surabaya

7

» Text: Content within TextBox » TextAlign ˃Left ˃Right ˃Center » PasswordChar: Determine what character should be shown as character replacement » MaxLength 8 © Sekolah Tinggi Teknik Surabaya

» TextChanged: Occurs whenever text property is changed 9 © Sekolah Tinggi Teknik Surabaya

10 © Sekolah Tinggi Teknik Surabaya

» Text: Button Caption ˃Add ampersand (&) in front of a character to make it a mnemonic key for that button » TextAlign 11 © Sekolah Tinggi Teknik Surabaya TopLeftTopCenterTopRight MiddleLeftMiddleCenterMiddleRight BottomLeftBottomCenterBottomRight

» Click 12 © Sekolah Tinggi Teknik Surabaya

13 © Sekolah Tinggi Teknik Surabaya

» Text » TextAlign (refer to Button TextAlign) » AutoSize: determine whether its size should automatically resize to text 14 © Sekolah Tinggi Teknik Surabaya

» Click » TextChanged 15 © Sekolah Tinggi Teknik Surabaya

16 © Sekolah Tinggi Teknik Surabaya

» Text » Checked 17 © Sekolah Tinggi Teknik Surabaya

» CheckedChanged 18 © Sekolah Tinggi Teknik Surabaya

19 © Sekolah Tinggi Teknik Surabaya

» Text » Checked 20 © Sekolah Tinggi Teknik Surabaya

» CheckedChanged 21 © Sekolah Tinggi Teknik Surabaya

22 © Sekolah Tinggi Teknik Surabaya

» Items: collection of objects to be displayed » MultiColumn: one column only or not » Sorted: whether objects in it should be sorted naturally in ascending manner » SelectionMode ˃None ˃Single ˃MultiSimple (on click basis) ˃MultiExtended (on drag basis) 23 © Sekolah Tinggi Teknik Surabaya

» SelectedIndexChanged 24 © Sekolah Tinggi Teknik Surabaya

» listBox1.Items.Clear(); ˃Clear Items » listBox1.Items.Add("string"); ˃Add an item to Items » listBox1.Items.RemoveAt(2); ˃Remove an item from Items » int x = listBox1.SelectedIndex; ˃Retrieve selected item index » string x = listBox1.SelectedItem.ToString(); ˃Retrieve selected item string 25 © Sekolah Tinggi Teknik Surabaya

» For multi selection: foreach (int i in listBox1.SelectedIndices) { MessageBox.Show(i.ToString()); } foreach (string i in listBox1.SelectedItems) { MessageBox.Show(i); } 26 © Sekolah Tinggi Teknik Surabaya

27 © Sekolah Tinggi Teknik Surabaya

» Items » MaxLength » DropDownStyle ˃Simple ˃DropDown (Default) ˃DropDownList » Sorted » Text: String displayed if DropDownStyle is not DropDownList 28 © Sekolah Tinggi Teknik Surabaya

» SelectionIndexChanged » SelectionChangeCommitted: Occurs whenever the item is truly chosen 29 © Sekolah Tinggi Teknik Surabaya

» comboBox1.Items.Clear(); ˃Clear Items » comboBox1.Items.Add("string"); ˃Add an item to Items » comboBox1.Items.RemoveAt(2); ˃Remove an item from Items » int x = comboBox1.SelectedIndex; ˃Retrieve selected item index » string x = comboBox1.SelectedItem.ToString(); ˃Retrieve selected item string 30 © Sekolah Tinggi Teknik Surabaya

31 © Sekolah Tinggi Teknik Surabaya

32 © Sekolah Tinggi Teknik Surabaya

33 © Sekolah Tinggi Teknik Surabaya

34 © Sekolah Tinggi Teknik Surabaya

35 © Sekolah Tinggi Teknik Surabaya

36 © Sekolah Tinggi Teknik Surabaya

37 © Sekolah Tinggi Teknik Surabaya

» Add additional functions for previous example ˃Update selected data ˃Delete selected data. Provide a confirmation dialog before deletion. 38 © Sekolah Tinggi Teknik Surabaya