Wednesday, April 30, 2014
Class_AccountList_Lab
//Define a class Account
//fields: _accountNumber, _balance, _bankName, _interestRate
//Add constructor + properties
//===============================
//In Form1: Create GUI to add new Account to a List
//-Preload List with few Accounts
//-Display entire list
namespace Zau_Class_AccountList_Lab
{
Wednesday, April 23, 2014
Tuesday, April 22, 2014
Friday, April 18, 2014
SQL code for World_Fact_RAW
UPDATE tblCountry
SET InternetUsersNumber = 0
WHERE (((tblCountry.[InternetUsers])='NA' Or (tblCountry.[InternetUsers]) Is Null Or (tblCountry.[InternetUsers])='0'));
SET InternetUsersNumber = 0
WHERE (((tblCountry.[InternetUsers])='NA' Or (tblCountry.[InternetUsers]) Is Null Or (tblCountry.[InternetUsers])='0'));
Thursday, April 17, 2014
The List Box Control
<summary>
Like a combobox, a list box displays a list of items. Listbox allows you to make either a single selection or multiple selection. Items in a listbox are indexed. The first item is at index 0.
The listbox contains an internal array called Items (same as combobox)
Adding items to and removing items from a listbox is done thru its Items array.
The listbox has a property: Count. It's the number of items in the list.
Use the SelectedIndex to find out the index of the item selected.
The selectedIndex is equal to -1 if no item is selected.
Use the SelectedItem to find out the item selected
</summary>
My Notes:
There are 3 ways to input in listbox.
One is: In [Design mode] click on ... (Property Items)
Write ... anything you want
eg.
Howard
Steve
Karen
etc....
Selection Mode Property give 4 different ways to make selection (None, One, MultiSimple, MultiExtended)
namespace The_List_Box_Control
{
Like a combobox, a list box displays a list of items. Listbox allows you to make either a single selection or multiple selection. Items in a listbox are indexed. The first item is at index 0.
The listbox contains an internal array called Items (same as combobox)
Adding items to and removing items from a listbox is done thru its Items array.
The listbox has a property: Count. It's the number of items in the list.
Use the SelectedIndex to find out the index of the item selected.
The selectedIndex is equal to -1 if no item is selected.
Use the SelectedItem to find out the item selected
</summary>
My Notes:
There are 3 ways to input in listbox.
One is: In [Design mode] click on ... (Property Items)
Write ... anything you want
eg.
Howard
Steve
Karen
etc....
Selection Mode Property give 4 different ways to make selection (None, One, MultiSimple, MultiExtended)
namespace The_List_Box_Control
{
Wednesday, April 16, 2014
Syllabus-CSI-154-IntroTovisualC#
Course Topics
Week Dates
|
Subject Matters
|
Suggested Readings:
|
Jan 06 – 10
|
Decisison Structures
• CheckBoxes • RadioButtons Two-Dimensional Arrays and Nested Loops • Creating and Initializing a two-dim array • Displaying a two-dim array • Perform various operations such as: o returning the sum of all the values in the Array. o getting the largest and smallest values o getting the average values of a specific row or column |
|
Jan 13 – 17
|
Methods• Review syntax, return type, and parameters.
• Default Arguments • Named and Optional Arguments • Methods that take parameters using out and ref keywords Enumerations • Defining an enum type • Declaring a variable of type Enum • Assigning an enumeration constant to an enum variable • Converting an Enum type to a string • Converting a string literal to an Enum type • Converting an enum values to a string array |
|
Jan 20 – 24
|
Using ListBox and ComboBox controls
• Add item to a list box • Remove item from a list box • Get selected indices or selected item from a list box • Populate a combo box with a list of items • Get the selected item or index from a combo box QUIZ#1 |
|
Jan 27 – 31
|
PictureBox and Windows Timer
Create Windows Applications Using Arrays, Methods, List boxes, and combo boxes. |
|
Feb 03 – 07
|
Create Windows Forms Applications projects
|
|
Feb 10 – 14
|
Midterm Exam (Monday, Feb 10)
Introduction to object-oriented programming Object and classes • Define a class • Create simple objects with public fields • A Look into public vs private fields (Encapsulation & class access) |
|
Feb 19 – 21
|
Introduction object-oriented programming
• Add Constructors to classes • Add Properties to classes • Create an Array & a List of class objects • Display an array of objects • Passing a class type object to a method • Returning an object from a method • Add methods to a class |
|
Feb 24 – 28
|
Introduction to object-oriented programming
• More on classes |
|
Mar 03 – 07
|
Introduction to object-oriented programing
• Define a struct o Include private fields, constructors, properties, and metods • Look into the differences between a class • (reference type) and a struct (value type) • Objects in Memory Stack vs Heap .Net Defined Structs • Size • Point • Rectangle • Color • TimeSpan • DateTime • DateTimePicker control |
Youtube:
1. Click here |
Mar 10 – 14
|
Introduction to object-oriented programming
• Work More Examples using object-oriented programming concepts. |
|
Mar 17 – 21
|
Object Containment:
"The 'has a' property" • Composition • Aggregation |
|
Mar 24 - 27
|
Final Exam
|
Using Windows Timer
April 15, 2014 (Tuesday)
namespace Enumerations
{
//With Enumerations you can create your own type.
public enum BankingTransaction
{
Deposit, Withdraw, Transfer
}
//the enum values: Deposit, Withdraw, and Transfer are
//called the enum constants.
//The Banking Transaction is now considered a data type
//by c# (your own data type)
namespace Enumerations
{
//With Enumerations you can create your own type.
public enum BankingTransaction
{
Deposit, Withdraw, Transfer
}
//the enum values: Deposit, Withdraw, and Transfer are
//called the enum constants.
//The Banking Transaction is now considered a data type
//by c# (your own data type)
Tuesday, April 15, 2014
Enumerations
April 15, 2014 (Tuesday)
namespace Enumerations
{
/*
* With Enumerations you can create your own type.
*/
public enum BankingTransaction
{
Deposit, Withdraw, Transfer
}
namespace Enumerations
{
/*
* With Enumerations you can create your own type.
*/
public enum BankingTransaction
{
Deposit, Withdraw, Transfer
}
Photoshop Weblinks
http://www.youtube.com/watch?v=SXwuY4056MU
Friday, April 11, 2014
Web links for reading
Web Design & Development I - Click Here
C# Video Tutorial Blog - Click Here
PRAGIM Technologies - Click Here
Tech On The Net - Click here
http://www.accessallinone.com/29-select-queries-returning-null-values_/
http://office.microsoft.com/en-us/access-help/iif-function-HA001228853.aspx#BMexamples
Photoshop Text Circling
Click here
C# Date / Time:
Click here
Click here
String Class
Click here
C# Video Tutorial Blog - Click Here
PRAGIM Technologies - Click Here
Tech On The Net - Click here
http://www.accessallinone.com/29-select-queries-returning-null-values_/
http://office.microsoft.com/en-us/access-help/iif-function-HA001228853.aspx#BMexamples
Photoshop Text Circling
Click here
C# Date / Time:
Click here
Click here
String Class
Click here
Thursday, April 10, 2014
2 Dim Array with Method_Sum_Average
Lab assignment:
Create a two dimensional arrays with 5 rows and 7 columns. Provide a method and a button to initialize it with random numbers. (also a display method)
Define a method that takes a 2-dim array and returns the sum of all the elements, the sum of only the odd elements and the sum of only the negative elements using the out keyword. Call this method and display its results.
Define an other method that takes a 2 dim array and returns the averages of the odd values, the positive values, and the negative even values. Call this method and display its results.
Create a two dimensional arrays with 5 rows and 7 columns. Provide a method and a button to initialize it with random numbers. (also a display method)
Define a method that takes a 2-dim array and returns the sum of all the elements, the sum of only the odd elements and the sum of only the negative elements using the out keyword. Call this method and display its results.
Define an other method that takes a 2 dim array and returns the averages of the odd values, the positive values, and the negative even values. Call this method and display its results.
Out Keyword with Method (Cylinder)
Q: Provide GUI to enter radius and height of a cylinder. Define a method "ProcessCylinder" that takes 2 input parameters: radius and height, both of type doubles and takes 3 output parameters: perimeter, area, and volume. In a button click, get user Input, call the method, then display the results.
Out Keyword_041014
/*Notes:
The out keyword causes arguments to be passed by reference. The out keyword allows you to specify output parameters. With the use of the out keyword, a method can return more than one value (using parameters as output).
To read: http://msdn.microsoft.com/en-us/library/ee332485.aspx
//Example exercise:
The out keyword causes arguments to be passed by reference. The out keyword allows you to specify output parameters. With the use of the out keyword, a method can return more than one value (using parameters as output).
To read: http://msdn.microsoft.com/en-us/library/ee332485.aspx
//Example exercise:
Array with Method in Window Form
Q. 1. Create a Dim array size 100. 2. Initialize it with random value (-100, 100). 3. Display it. 4. Get average of Negatives. 5. Get average of odd positives. 6. Add -5 to the positives and +10 to the negatives.
Tuesday, April 8, 2014
Lecture Notes_040814
04/08/2014 (Tuesday)
How to read books on www.kcls.org
Learning & Research --> Premium Database
select ebooks from drop down list.
choose Books 24x7;
Sign In
Under Browse Topics
*IT and Technical Topics
=====================
How to read books on www.kcls.org
Learning & Research --> Premium Database
select ebooks from drop down list.
choose Books 24x7;
Sign In
Under Browse Topics
*IT and Technical Topics
=====================
Friday, April 4, 2014
How To Bypass Window 7 Password
ကိုယ့္ရဲ႕ကိုယ္ပို္င္ ကြန္ပ်ဴတာေလးမွာ သူမ်ားမသိေစခ်င္တဲ့ အေၾကာင္းအရာ
ေလးေတြရွိလို႕ Passwords နဲ႕ပိတ္ထားကာမွ အခ်ိန္ၾကာလာ ေသာအခါ အမႈမဲ့အမွတ္မဲ့
နဲ႕ေမ့သြားတတ္ပါတယ္။ ထိုအခါ ကိုယ့္အတတ္နဲ႕
ကိုယ္ ကြိဳင္တက္ေတာ့တာပါဘဲဗ်ာ..။ ထိုအျဖစ္မ်ိဳးၾကံဳေတြ႕ေနရသူ ေတြအတြက္ေကာ ၊ Passwords ဖြင့္နည္း
သိခ်င္သူေတြအတြက္ နညး္လမး္ေလးမ်ားျဖစ္ႏိုင္သေ လာက္ ေဖာ္ျပေပးလိုက္ရပါတယ္..။
ကိုယ္ ကြိဳင္တက္ေတာ့တာပါဘဲဗ်ာ..။ ထိုအျဖစ္မ်ိဳးၾကံဳေတြ႕ေနရသူ
သိခ်င္သူေတြအတြက္ နညး္လမး္ေလးမ်ားျဖစ္ႏိုင္သေ
Subscribe to:
Comments (Atom)
















