Sunday, June 30, 2013

C# WPF Tutorial 10- Simple Fade animation for controls using WPF
























------------------------------------------------------
xaml  WPF Fade Animation
Fade Animation in WPF Using XAML
Change opacity using Animation
WPF Fade Out on a control
c# WPF Fade Out on a control
Fading visibility in and out in WPF
c# Fade any control using a WPF animation
How To Animate Visibility Property?
Windows Fade animation using WPF
Create Animation Programmatically
A simple WPF fading popup control

C# WPF Tutorial 9- Open New WPF Window on button click ( with Login )

























---------------------------------------------------
how to run single instance of wpf form?
Opening new window or Message Box in Login using WPF
Open New Window in WPF With Prism using MEF Container
Open another WPF Windows in same Project
c# - How to open a new window using WPF
WPF: Click button and open new window different options
c# - How to open second window from first window in wpf?
WPF: Opening new window on button click
Searches related to how to open a new window in wpf
wpf open window in new thread
c# wpf open new window
wpf mvvm open new window
xaml open new window
wpf main window
difference between wpf page and wpf window
wpf window fit to content
wpf load new window

C# WPF Tutorial 8- How to bind to a PasswordBox in WPF (with Login Window)




























------------------------------------------------------------
c# - How to bind to a PasswordBox
wpf - Use value of passwordbox
how to use text box as password box in wpf
WPF Tutorial | PasswordBox
Binding to PasswordBox in WPF
WPF PasswordBox

Friday, June 28, 2013

C# WPF Tutorial 7- Login Form using sqlite in C# WPF application PART-2/2















---------------------------------------------------------

Login Form in C# windows Presentation Foundation
wpf - Select query of sqlite in wpf?
How can I use Sqlite in a C# project?
How to set Login page using sqlite
Create Login Form
Login Program for C# with Mysql
Visual C# - Login Form Tutorial
c# - How can I close a login form and show the main form
Login Form using C# and SQL
C# Login Form with MS Access
Login Form using c# and ms access as database..?‎
closing Login form after a successful Login in C# form‎
create a login form using c#‎
C# program to connect to mysql
php login code mysql
Login Source Codes
Code for login form in c#
C# Login form Searches related to c# login form
java login form
visual basic login form
visual studio login form
c# login form template
c# login form access database
c# login form example
c# login form code
c# login form sql
create login page contain user id,password,buttons
mysql C# sample code

C# WPF Tutorial 6- Login Form using sqlite in C# WPF application PART-1/2



















---------------------------------------------------------

Login Form in C# windows Presentation Foundation
wpf - Select query of sqlite in wpf?
How can I use Sqlite in a C# project?
 How to set Login page using sqlite
Create Login Form
Login Program for C# with Mysql
Visual C# - Login Form Tutorial
c# - How can I close a login form and show the main form
Login Form using C# and SQL
C# Login Form with MS Access
Login Form using c# and ms access as database..?‎
closing Login form after a successful Login in C# form‎
create a login form using c#‎
C# program to connect to mysql
php login code mysql
Login Source Codes
Code for login form in c#
C# Login form Searches related to c# login form
java login form
visual basic login form
visual studio login form
c# login form template
c# login form access database
c# login form example
c# login form code
c# login form sql
create login page contain user id,password,buttons
mysql C# sample code



C# WPF Tutorial 4- SQLite database connection using ADO.NET 2.0 Provide...

Sqlite  Ado.net provider 2.0 for .C# WPF .net provider 
















--------------------------------------------------------------

sqlite  Ado.net provider 2.0 for .C# .net provider
Is there a .NET/C# wrapper for SQLite?
ADO.NET 2.0/3.5 Provider for SQLite  C#-SQLite
Searches related to system.data.sqlite for SQLite C#
c# system data sqlite example
system data sqlite
system data sqlite tutorial
system data sqlite example
system data sqlite connection string
system data sqlite 64 bit
system data mysql

Thursday, June 27, 2013

C++ program to print patterns of numbers

C++ program to print pyramid of numbers




#include <iostream>
using namespace std;
int main()
{
 int i,j,rows;
cout<<"Enter the number of rows: ";
cin>>rows;
 for(i=1;i<=rows;++i)
 {
 for(j=1;j<=i;++j)
 {
cout<<j<<" ";
 }
cout<<"\n";
 }
 return 0;
}


OUTPUT:
1 
1 2
1 2 3
1 2 3 4
1 2 3 4 5







C++

  1. Write a C++ program to Make Simple calculator
  2. Write a C++ program to arrange 10 numbers in ascending order
  3. Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!)
  4. Write a C++ program to 1. Initialize Matrices 2. Print Matrices 3. Multiply Matrices 4. Transpose of 2nd Matrix 5. Move Row and Column of 2nd Matrix 6. Quit
  5. Write the C++ program for processing of the students structure
  6. Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2
  7. Write a C++ program that gets one text with the maximum of 256 characters from input and converts it to standard format based on the following rules and prints the final standardized text
  8. C++ Mini-Project: Human Resource Management Program
  9. Write a C++ program to Solve Quadratic equation
  10. C++ program for Calculation of the surface and the volume of a cone
  11. C++ Program to show Fibonacci Series
  12. C++ Program for Decimal to Hexadecimal Conversion
  13. C++ program to convert decimal number into binary
  14. C++ PROGRAM TO CHECK WHETHER A NUMBER IS NOT A PERFECT NUMBER OR NOT
  15. C++ program to find prime numbers in a given range
  16. C++ program to find Armstrong number
  17. C++ program to find prime number
  18. C++ program to convert a string into upper-case or lower-case
  19. C++ program to concatenate strings
  20. How to Run and install the mongo c++ drivers (MongoDB) On Ubuntu Linux
  21. How to Install Crypto++ Library with the Eclipse IDE on UBUNTU12.10 OS.
  22. Build and Run Sample Code Using Log4Cpp from Source Code on Ubuntu
  23. C++ counting the number of lines in a text file
  24. How do you implement the factorial function in C++
  25. C++ program to find HCF n LCM of two numbers
  26. The most elegant way to split a string in C++
  27. C++ Program for Printing 1 to 1000 without loop
  28. PASS BY REFERENCE C++ EXAMPLE
  29. C++ PROGRAM TO FIND WHETHER A NUMBER IS EVEN OR ODD
  30. C++ code to print all odd and even numbers in given range
  31. C++ Program to Check Palindrome Number
  32. C++ code to get sum of all odd numbers in given range
  33. C++ program to find ASCII Code for Characters and numbers
  34. Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment + Running Sample program
  35. Write a c++ program that calculates the average of three numbers
  36. C++ program compute hourly pay taking overtime into account
  37. C++ program to print 5 rows of 10 stars
  38. Write a C++ program that can print a temperature conversion
  39. Write a C++ program to construct a pyramid of stars
  40. C++ PROGRAM FOR RANDOM NUMBER GENERATOR
  41. Program for climbing worm program in c++
  42. C++ Program to display current date and time
  43. A C++ program to print the half pyramid
  44. C++ program to print pyramid of numbers
C++ Conversion
















---------------------------------------
C program to print patterns of numbers
program to print pyramid of numbers
C++ Program to print half pyramid as using numbers as shown in figure below

C++ Program To display the half pyramid of * stars numbers and character 
c++ program to print patterns of numbers and stars
 Program to print half Pyramid 
C Programming: half Pyramid
A program to print the half pyramid
Program to print pyramid of stars * - C Programming Examples
C++ program to print half patterns of numbers and stars
C++ Tutorial – A Star half pyramid and String triangle using for loops
C++ Star Pyramid - C++ Forum
c++ program to print patterns, half pyramids of numbers and stars
C++ Programming: Reverse Star Pyramid
C++ Programming Source Code to Print Pyramid and Triangles
Program to print pyramid of stars
C++ Tutorial – A Star pyramid and String triangle using for loops
C++ Program to Print Star Pyramid Triangle, C++
C++ programs to print pyramid patterns
C++ Program to print star pattern pyramid 
C++ Programming Code To Create Pyramid and Structure
Print pyramids and diamonds in C Language - C and C++




C++ Program to print half Pyramid

A C++ program to print the half pyramid


#include <iostream>
using namespace std;
int main()
{
 int i,j,rows;
cout<<"Enter the number of rows: ";
cin>>rows;
 for(i=1;i<=rows;++i)
 {
 for(j=1;j<=i;++j)
 {
cout<<"* ";
 }
cout<<"\n";
 }
 return 0;
}


OUTPUT:
* 
* * 
* * * 
* * * *
* * * * *




C++

  1. Write a C++ program to Make Simple calculator
  2. Write a C++ program to arrange 10 numbers in ascending order
  3. Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!)
  4. Write a C++ program to 1. Initialize Matrices 2. Print Matrices 3. Multiply Matrices 4. Transpose of 2nd Matrix 5. Move Row and Column of 2nd Matrix 6. Quit
  5. Write the C++ program for processing of the students structure
  6. Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2
  7. Write a C++ program that gets one text with the maximum of 256 characters from input and converts it to standard format based on the following rules and prints the final standardized text
  8. C++ Mini-Project: Human Resource Management Program
  9. Write a C++ program to Solve Quadratic equation
  10. C++ program for Calculation of the surface and the volume of a cone
  11. C++ Program to show Fibonacci Series
  12. C++ Program for Decimal to Hexadecimal Conversion
  13. C++ program to convert decimal number into binary
  14. C++ PROGRAM TO CHECK WHETHER A NUMBER IS NOT A PERFECT NUMBER OR NOT
  15. C++ program to find prime numbers in a given range
  16. C++ program to find Armstrong number
  17. C++ program to find prime number
  18. C++ program to convert a string into upper-case or lower-case
  19. C++ program to concatenate strings
  20. How to Run and install the mongo c++ drivers (MongoDB) On Ubuntu Linux
  21. How to Install Crypto++ Library with the Eclipse IDE on UBUNTU12.10 OS.
  22. Build and Run Sample Code Using Log4Cpp from Source Code on Ubuntu
  23. C++ counting the number of lines in a text file
  24. How do you implement the factorial function in C++
  25. C++ program to find HCF n LCM of two numbers
  26. The most elegant way to split a string in C++
  27. C++ Program for Printing 1 to 1000 without loop
  28. PASS BY REFERENCE C++ EXAMPLE
  29. C++ PROGRAM TO FIND WHETHER A NUMBER IS EVEN OR ODD
  30. C++ code to print all odd and even numbers in given range
  31. C++ Program to Check Palindrome Number
  32. C++ code to get sum of all odd numbers in given range
  33. C++ program to find ASCII Code for Characters and numbers
  34. Compiling and Integrating Crypto++ into the Microsoft Visual C++ Environment + Running Sample program
  35. Write a c++ program that calculates the average of three numbers
  36. C++ program compute hourly pay taking overtime into account
  37. C++ program to print 5 rows of 10 stars
  38. Write a C++ program that can print a temperature conversion
  39. Write a C++ program to construct a pyramid of stars
  40. C++ PROGRAM FOR RANDOM NUMBER GENERATOR
  41. Program for climbing worm program in c++
  42. C++ Program to display current date and time
  43. A C++ program to print the half pyramid
  44. C++ program to print pyramid of numbers







C++ Conversion










------------------------------------------------------

C++ Program To display the half pyramid of * stars numbers and character
c++ program to print patterns of numbers and stars
 Program to print half Pyramid
C Programming: half Pyramid
A program to print the half pyramid
Program to print pyramid of stars * - C Programming Examples
C++ program to print half patterns of numbers and stars
C++ Tutorial – A Star half pyramid and String triangle using for loops
C++ Star Pyramid - C++ Forum
c++ program to print patterns, half pyramids of numbers and stars
C++ Programming: Reverse Star Pyramid
C++ Programming Source Code to Print Pyramid and Triangles
Program to print pyramid of stars
C++ Tutorial – A Star pyramid and String triangle using for loops
C++ Program to Print Star Pyramid Triangle, C++
C++ programs to print pyramid patterns
C++ Program to print star pattern pyramid
C++ Programming Code To Create Pyramid and Structure
Print pyramids and diamonds in C Language - C and C++

How to convert text to binary in Java

Convert String to Binary in Java




import java.io.*;

public class TexttoBinary {
  private static final int maxBytes = 3;
  public static void main(String[] args) {
  
  BufferedReader in = 
  new BufferedReader(new InputStreamReader(System.in));
  do {
  try {
  System.out.print("Type the number to parse: ");
  int number = Integer.parseInt(in.readLine());
  int Bit;
  String result = "";
  for (int i = maxBytes*8; i >= 0; i--) {
  Bit = 1 << i;
  if (number >= Bit) {
  result += 1;
  number -= Bit;
  }
  else {
  result += 0;
  }
  }
  System.out.println(result);
  }
  catch (NumberFormatException e) {
  System.exit(0);
  }
  catch (IOException e) {
  e.printStackTrace();
  System.exit(1);
  }
  }
  while (true);
  }
}



-----------------------------------------
How to convert binary to text in Java
java: converting binary to text?
Convert String to Binary 
Thread: Converting a string of binary to data, to save to a ...
Thread: conversion text-binary-text
converting binary to string
Thread: Convert String to Binary equivalent
Java: Convert a binary file to text and back again
Searches related to convert text to binary java
java string to binary conversion
java convert binary to string
java binary decimal conversion
convert binary to text linux
convert binary file to text
convert binary to text sql
convert binary to text c++
converting integer binary java

Convert Number to String in Java

Java Program to Convert Number to String



class NumToStr {
  public static void main(String[] args) {
  int i  = 40;
  float f  = (float) 100.0;
  long l = 3000000;
  String s = new String();

  s = String.valueOf(i);
  System.out.println ("int i = " + s);
  s = String.valueOf(f);
  System.out.println ("float f = " + s);
  s = String.valueOf(l);
  System.out.println ("long l = " + s);
  s = new Integer(i).toString();
  System.out.println ("int i = " + s);
  s = new Float(f).toString();
  System.out.println ("float f = " + s);
  s = new Long(l).toString();
  System.out.println ("long l = " + s);
  }
}





------------------------------------------------

Convert Number to String
java - integer to string conversion
Converting Between Numbers and Strings
Convert int to string : Convert 
Searches related to convert int to string java
convert int to string java 6
convert char to string java
convert float to string java
convert int to string android
int to string java example
java turn string into int
conversion de string a int en java
converting string array to int array in java
How to Convert INT to String in Java
How to Convert String to Integer to String in Java with Example

Thursday, June 13, 2013

C program to check even or odd

C determine odd or even


#include<stdio.h>

int main(){

    int number;
    int min,max;
  
    printf("Enter the minimum range: ");
    scanf("%d",&min);

    printf("Enter the maximum range: ");
    scanf("%d",&max);

    printf("Odd numbers in given range are: ");
    for(number = min;number <= max; number++)

         if(number % 2 !=0)
             printf("%d ",number);
  
    return 0;

}



output:
Enter the minimum range: 1
Enter the maximum range: 20
Odd numbers in given ranges are: 1 3 5 7 9 11 13 15 17 19






#include<stdio.h>

int main(){

    int number;
  
    printf("Enter any integer: ");
    scanf("%d",&number);

    if(number % 2 ==0)
         printf("%d is even number.",number);
    else
         printf("%d is odd number.",number);
  
    return 0;

}

output:
Enter any integer: 5
5 is odd number.




----------------------------------------
C program to check even or odd
 C determine odd or even
 How to check odd number in c
 How to determine odd or even in c
 C even odd test
 Display odd numbers in c
 How to print odd numbers in c
Even and odd numbers program in c
 C program to find even or odd
Sum of odd numbers in c
 Sum of odd and even numbers c program

C program to find Armstrong number

C program for finding Armstrong numbers

#include<stdio.h>
int main(){
    int num,r,sum=0,temp;

    printf("Enter a number: ");
    scanf("%d",&num);

    temp=num;
    while(num!=0){
         r=num%10;
         num=num/10;
         sum=sum+(r*r*r);
    }
    if(sum==temp)
         printf("%d is an Armstrong number",temp);
    else
         printf("%d is not an Armstrong number",temp);

    return 0;
}




output:
Enter a number: 153
153 is an Armstrong number


--------------------------------------------------
  • Warp to check a number is Armstrong
  • C program to check whether a number is Armstrong or not
  • Simple c program for Armstrong number
  • Armstrong number in c with output
  • Write a c program for Armstrong number
  • C program for Armstrong number generation
  • How to find Armstrong number in c
  • Code for Armstrong number in c
  • C program to print Armstrong numbers from 1 to 500
  • C program for finding Armstrong numbers
  • Armstrong number c program
  • C program to generate and print armstrong numbers
  • C Program to Find whether Number is a Armstrong Number
  • C program to find Armstrong number

Tuesday, June 4, 2013

NetBeans IDE Keyboard Shortcuts

Keyboard Shortcuts - NetBeans


  • Alt + Shift + F for auto format
  • Ctrl + K for previously used matching word
  • Ctrl + arrowkeys for scroll without caret position change
  • Ctrl + P for function parameters tooltip. Applicable inside a function call's paranthesis
  • Ctrl + Shift + Right/Left Arrow to select words based on camel casing
  • ADDITION :
  • Ctrl + Shift + (UP/DOWN ) duplicate line up/down
  • Ctrl + E deletes the current line (very useful)
  • Ctrl + F9 Evaluate expression (Very useful while debugging - apart from the value of variables displayed on hover)
  • Alt + Shift + O Goto file
  • Ctrl + Space (after a class name) for auto-suggested variable names
  • Ctrl + F4 Close Editor Window
  • Alt + F7 Find Usages
  • Ctrl + / Toggle Comment
  • Shift + Ctrl + I Fix all Imports (Very convenient)
  • Ctrl + Del and Ctrl + BackSpace Delete next/previous word
--------------------------------------------------------------------------------------------- Look in your netbeans directory Mine is in C:\Program\NetBeans 6.8\nb6.8 There you find a document called shortcuts.pdf This has a lot of the most common shortcuts and is included (and updated i assume) in every release of netbeans. The one feature i use the most is CTRL + Click to navigate to method declaration etc. Shift + Esc : Maximize the editor window, very handy Alt + Enter : Activate quick fix and allow to deal with it without having to move your hands from keyboard to mouse again and again Ctrl + ";" : Inserts a semicolon at the end of the current line Ctrl + Shift + ";" : Inserts a semicolon at the end of the current line and insert a new one "View menu : Synchronize with view" to synchronize the editor and the project explorer panel Ctrl+Shift+1 - will show you the current file in projects window. handy shortcut: Ctrl+E deletes current line. --------------------------------------------------------------------------------------

Keyboard Shortcuts not specified in shortcuts.pdf (ALT+hALT+k) as of NetBeans v7.0.1:

Diff view: next diff: CTRL + . previous diff: CTRL + , apply diff left to right: wish I knew, seems not to exist apply diff right to left: ditto Create shortcut for custom ant target: Go to Files tab: CTRL + 2 Navigate to ant file: Arrow keys Go to Navigator window: CTRL + 7 Navigate to ant target: Arrow keys Open context MENU Create Shortcut... ----------------------------------------------------------------------------------------------- Each window has its own shortcut:

Ctrl+0 Switches to the Editor Ctrl+1 Focuses on the Projects Window Ctrl+2 Focuses on the Files Window Ctrl+3 Focuses on the Favorites Window Ctrl+7 Focuses on the Navigator Window Alt+Shift+O Opens the Open Type window where you just have to type the first characters of the class you are looking for Ctrl+Shift+Down Duplicates the current line Ctrl+R Renames the current variable/class/method



















-------------------------------------------------
Highlights of NetBeans IDE 7.3 Keyboard Shortcuts & Code 
Keyboard Shortcuts - NetBeans 
NetBeans IDE 4.1 Keyboard Shortcuts
Top 10 NetBeans IDE Keyboard Shortcuts
NetBeans Shortcut Keys
java - NetBeans shortcut key for collapsing/expanding a method
Highlights of NetBeans IDE 7.2 Keyboard Shortcuts 
10 Handy Editor Shortcuts in NetBeans IDE 6.0 
Two NetBeans Keyboard Shortcuts 
Searches related to netbeans shortcut keys
netbeans system out shortcut
netbeans keyboard shortcuts
netbeans comment selection
netbeans 7 shortcut keys
netbeans shortcuts
netbeans shortcut keys mac
netbeans shortcut keys for system out println
netbeans 6.1 shortcut keys