Tuesday 28 May 2013

C# chapter 3 : C# or C sharp For Beginer, More Detail

C# chapter 3 :


For any one that have not read chapter 1 & 2 , Please refer C# chapter 1 & 2  if have any question.

OK!  Let continue !

Switch  between    program Code view   &  Forms View
use mouse click to Switch between   program Code view   &  Forms View
click on  Form1.cs  or  click on  Form1.cs [Design]


click on  Form1.cs
 click on  Form1.cs [Design]

TextBox

Learn to Lock the textbox , so no one can edit any things that inside the box.
Learn to Copy the content of the  textbox , part of  or Fully. 
Learn to unable Copy the content of the  textbox , part of  or Fully.


Lock the textbox , so no one can edit any things that inside the box.
click on  Form1.cs [Design] 
click on  textBox1
Use Mouse drag the scroll bar on the  Properties  on the bottom right   to find    Behavior ,  then click on the  ReadOnly   a few line below Behavior ,  use the mouse to change the  False  to  True.   The Textbox will become grey color.


 THEN  Select  Debug -> Start without Debugging
~  ~ Wait for a while  ~ ~ ~
The program Form screen will come out.
Let  click on button1
     Hello World
     Hello World
will show up  inside the Textbox.
Now you can not type in or delete anythings  inside the text box.
Click X to close the Form.
Now change it back !  Change ReadOnly   a few line below Behavior ,  from True to False , to be able the edit function.


Copy the content of the  textbox , part of  or Fully. 
Select  Debug -> Start without Debugging
~  ~ Wait for a while  ~ ~ ~
The program Form screen will come out.
Let  click on button1
     Hello World
     Hello World
will show up  inside the Textbox.
Use mouse click and drag inside the textbox , then Right click . Now you choose : copy ,  cut , paste , etc...




now you know how to copy


Unable Copy the content of the  textbox , part of  or Fully.  LOCK & CAN NOT COPY
To lock the content , so no one can edit or copy any things that inside the box.
click on  Form1.cs [Design] 
click on  textBox1
Use Mouse drag the scroll bar on the  Properties  on the bottom right   to find    Behavior ,  then click on the  Enabled   a few line below Behavior ,  use the mouse to change the   True to  False.


THEN  Select  Debug -> Start without Debugging
~  ~ Wait for a while  ~ ~ ~
The program Form screen will come out.
Let  click on button1
     Hello World
     Hello World
will show up  inside the Textbox.
Now you can not type in or delete anythings  inside the text box. Also you cannot right click inside the textbox. All inside this textbox is LOCK.
Click X to close the Form.
Now change it back !  Change    Enabled     a few line below Behavior ,  from   False  to  True , to be able the edit function.

 That all for now for the textbox. If you find out any special function of textbox , please let me know.
I still a beginner here.  Thank at first ~ ~ ~ .




___________________________________________
Need More Detail ?   contact me !!
Please send me some money at  Paypal
Any small amount is welcome , even 10 cents is good for me.

I will guide you step by step, personally.
My Paypal Account is :   ksw.industries@gmail.com


Don't know how to send money ?   Click here for detail about Paypal account.
http://xyberpast.blogspot.com/2014/05/how-to-get-my-program.html

Don't have money? OK! Here is another way to get the program.
how to get my program - Free of charge




AcuAids AstroNutrition Global Gear Pocket Strategist Anytimeherbal - Herbal Remedies, Supplements, Herbs Capsules and Vitamins. Calorad Century Supplements Thorn Equipment Finance Amino Z - Natural Weight Loss And Supplements Apex Sales - Leaders in health, hygiene and packaging supplies Associate-O-Matic

No comments:

Post a Comment