Posts

Showing posts from November, 2016

HOW TO CONNECT THE networking WIRE

Image

Triggers

<TextBlock Text="Girijesh"  Name="MyWipedText" FontWeight="Bold" Foreground="Red">   <TextBlock.RenderTransform>       <RotateTransform Angle="10" CenterX="50" CenterY="50"></RotateTransform>   </TextBlock.RenderTransform>                 <!-- Animates the text block's width. -->   <TextBlock.Triggers>     <EventTrigger RoutedEvent="TextBlock.Loaded"> <EventTrigger.Actions>     <BeginStoryboard>         <Storyboard >           <DoubleAnimation Storyboard.TargetName="MyWipedText"             Storyboard.TargetProperty="(RenderTransform).(RotateTransform.Angle)"             From="10" To="360"  Duration="0:0:50"             AutoReverse="True" RepeatBehavior="Forever" /> ...

ObservableCollection

namespace WpfApplication1 {     /// <summary>     /// Interaction logic for MainWindow.xaml     /// </summary>     public partial class MainWindow : Window     {         private ObservableCollection<customer> custcol;         public ObservableCollection<customer> custCol         {             get { return custcol; }             set             {                 custcol = value;             }         }         public MainWindow()         {             InitializeComponent();             custcol = new ObservableCollection<customer>();       ...

Find_Second_Heighest_Number_From_Array

namespace  Find_Second_Heighest_Number_From_Array {      class   Program     {          static   void  Main( string [] args)         {              int [] myArray =  new   int [] {12,1,48,38,89,98,-2,378 };              int  largest =  int .MinValue; //assining int minrange value              int  second =  int .MinValue; //assigning int minrange value              foreach  ( int  item  in  myArray)             {     ...

StringCheckApplication with Unit test

Create and exe with below informaiton : namespace  StringCheckApplication {      public   class   CombineString     {          public   string  combineArrayStringWithSpace( string [] stringArray)         {              string  str =  default ( string );              foreach  ( string  item  in  stringArray)             {                 str += item +  " " ;             }              return ...

How to remove item from List

namespace  multikey {      class   Program     {          static   void  Main( string [] args)         {              ForEachClass  objForeach =  new   ForEachClass ();              List < string > tempList = objForeach.BindListItem();             #region  ErrorCOde              ////This code will give you error for removing item from list               ////without converting to .ToList()        ...

WhyDelegateRequired?

namespace  WhyDelegateRequired {     #region  Using lamda expression      class   Program     {          delegate   bool   myDelegate ( int  n);          static   void  Main( string [] args)         {              int [] numbers =  new [] { 1, 45, 23, 49, 2, 6, 9, 5, 678, 89, 5, 45, 7 };              IEnumerable < int > resultGreaterThanFive = GetAllNumberAsPerRequiredCondtion(numbers, n => n > 5);              IEnumerable < int >...

Patient Information Dashboard in WPF

Image
public  MainWindow()         {             InitializeComponent();         }          private   void  Button_Click( object  sender,  RoutedEventArgs  e)         {              //TODO: Get data from database              //Bind to data grid.             dgLoadData.ItemsSource = GetDataFromEmployeeList();         }          private   List < Employee > GetDataFromEmployeeList()      ...

How to deal with HR round

Most challenging work. "Sometimes, I don't have a very good attention to detail. While that's good because it lets me execute quickly, it also means that I sometimes make careless mistakes. Because of that, I make sure to always have someone else double check my work." U need to ask from HR: Questions can be divided into three different categories. Genuine Questions These are the questions you actually want to know the answers to. Here are a few ideas of questions that are valuable to many candidates: 1. "How much of your day do you spend coding?" 2. "How many meetings do you have every week?" 3. "What is the ratio of testers to developers to program managers? What is the interaction like? How does project planning happen on the team?" Candidate #2:"l implemented the file system, which was considered one of the most challenging components because..." I can go into more details if you'd like. The S.A.R....

Create Control Panel Shortcuts

Create a new folder and rename it like beloww: * .{ed7ba470-8e54-465e-825c-99712043e01c} Note: * can be any name!! Voila it's done.

How to create shortcut for Windows?

right click =>New=>Create Link Copy -paste below code:[ControlPanel Add remove program] C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL appwiz.cpl,,0 Copy -paste below code:[Swap mouse button] C:\Windows\System32\rundll32.exe Shell32.dll,Control_RunDLL main.cpl @0,0 device Manager: C:\Windows\System32\rundll32.exe devmgr.dll DeviceManager_Execute delete internet temporary files: C:\Windows\System32\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 8 Date and Time Properties: C:\Windows\System32\rundll32.exe shell32.dll,Control_RunDLL timedate.cpl Delete cookies fiels: C:\Windows\System32\rundll32.exe InetCpl.cpl,ClearMyTracksByProcess 2 Click Next Provide a ShortCut Name. Voila you are done.

How to run TomCat server??

Image
Open webapps folder Shift + right click 2) go on browser and type Localhost:8080/DemoFirst/home.html