Posts

Showing posts from June, 2013

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

Image
------------------------------------------------------ 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 )

Image
--------------------------------------------------- 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)

Image
------------------------------------------------------------ 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

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

Image
--------------------------------------------------------- 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

Image
--------------------------------------------------------- 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...

Image
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

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++ Write a C++ program to Make Simple calculator Write a C++ program to arrange 10 numbers in ascending order Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!) 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 Write the C++ program for processing of the students structure Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2 Write a C++ program that gets one text wi...

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++ Write a C++ program to Make Simple calculator Write a C++ program to arrange 10 numbers in ascending order Write a C++ program to calculates the following equation for entered numbers (n, x). 1+ (nx/1!) - (n(n-1)x^2/2!) 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 Write the C++ program for processing of the students structure Write a C++ program that gets two strings from input and stores them in variables such as str1 and str2 Write a C++ program that gets one text with the max...

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? C...

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 con...

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...

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 p...

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 ----------------------...