using System;
using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace groupbox { publicpartialclassForm1:Form { public Form1() { InitializeComponent(); } privatevoid checkBox5_CheckedChanged(object sender, EventArgs e) { if(checkBox5.Checked) { groupBox1.Visible=true; button1.Visible=true; checkedListBox1.Visible=true; button2.Visible=true; } else { groupBox1.Visible=false; button1.Visible=false; checkedListBox1.Visible=false; button2.Visible=false; } } privatevoid button1_Click(object sender,EventArgs e) { String str=""; if(checkBox1.Checked) { str+=checkBox1.Text+"\n"; } if(checkBox2.Checked) { str+=checkBox2.Text+"\n"; } if(checkBox3.Checked) { str+=checkBox3.Text+"\n"; } if(checkBox4.Checked) { str+=checkBox4.Text+"\n"; } MessageBox.Show(str); } privatevoid button2_Click(object sender,EventArgs e) { String str=""; CheckedListBox.CheckedItemCollection con=checkedListBox1.CheckedItems; for(int i=0;i<con.Count;i++) { str+=con[i].ToString()+","; } if(str!="") { str=str.Substring(0,str.Length-1); MessageBox.Show(str); } } } } |
Android Tutorial -Learn Android Programming and how to develop android application,activity,lifecycle,service,layout,architecture,debugging,bugs ,handling event others.
- HOME
- JAVA
- ANDROID
- 1.Material Search View (google play store search bar)
- 2.RecyclerView with a SearchView with filter
- 3.Speed Up android studio process Class
- 4.load url image from the network by asych task
- 5.Convert string to MD5
- 6.pass arraylist through intent
- 7.Bitmap to base64 convert
- 8.Snackbar Getview
- 9.load images from url and load into ViewPager with json
- 10.Splash Screen with timer
- 11.java could not reserve enough space
- 12.Cannot load project java.lang.NullPointerException
- 13.selecting pic from gallery or camera through intent
- 14.View Pager with Circle Indicator(Image slider show)
- 15.Internet Connection Detector
- 16.WebView with Progress Dialog
- 17.Created animated GIF with images
- 18.Reduce Android Studio Project Size
- 19.unable to resolve dependency
- 20.call Fragment method in Main Activity by interface
- 21.Get RecyclerViewAdapter onclick postion in main activity
- 22.Circle ImageView
- Flutter
- C#
- 1.Array
- 2.Jagged Array
- 3.Small Application program
- 4.Inheritance hybrid
- 5.ReferenceType:PassByVal and PassByRef
- 6.PlaceHolder
- 7.Interface:Implementing Multiple Inheritance
- 8.Collections: ArrayList,HashTable,Stack
- 9.Scope Test
- 10.Boxing and Unboxing
- 11.Constructors
- 12.Polymorphism: Overload / Override
- UNIX
- Videos
- Download
- About
- Github
- Youtube
Thursday, 24 November 2016
C# program small application create in netbean
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment