Monday, August 5, 2019

My First Investment


My First Investment

This is a story of my first investment experience. I started investment 6 month before. As everyone has a desired to be wealthy and successful in their life, I want to be same. I always watch rich and famous person interview. I was lost in their brightest life style and used to live this life in my dream. I wanted to be like them but I was keep doing ignored their struggler time. I did't want to do that struggle and always avoiding to hard work. I understood the life that I used to live in my dreams that can't come itself without struggle Therefore, I need to do anything else except job. I need to start From somewhere So I decided to invest in share market and I took my decision seriously. I gathering information from newspaper or internet. Slowly I learnt basic thing from share market. I told to my father regarded my investment but he did not want that I investing money in share market. He believed that share market is a risky and gambling game which is play by rich people only but I had decided and did not want push myself to backward I invested 20% amount of my salary in share market and buy some stocks. I started to track stocks position multiple time in a day unfortunately stock goes down. I started to thinking that my father is right. I started to thinking sell my stock and exit from marketing. Now I did not check stock position status. I assumed that my Money drowned But as everyone notion, “stock market is unpredictable” I stock went in positive direction. My loss was covered and profit started gaining. seeing profit I bought a plant and planted. Unfortunately I choose wrong day for planting. Heavy raining on that day so my plant did not survive and washed in to rain. I assumed that may be my stocks falling down. Luckily I was still in good position. Market was not performing well but my stocks in good position. I felt that my decision is good so I bought some more stock. Now 6 months are completed I am in good condition in stock market. Now I started to thinking about intraday trading I didn’t know basic fundamental of intraday trading. In present I am learning intraday fundamental and very soon I’ll start to Intraday trading. Let see what happen.

Thursday, July 18, 2013

Simple Calculator in C# window Application

Simple Calculator in c# window application Open Visual studio just follow to simple step
Visual c# - Windows From Application - OK
Take 3 text Boxes, 8 Buttons on Form 1 and Set button layout according to you
Now Copy This Code :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace My_calculator
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        Double i;

        private void button1_Click(object sender, EventArgs e)//double click on add Button
        {
            i = Convert.ToDouble(textBox1.Text);
            Double j = Convert.ToDouble(textBox2.Text);
            Double k = i + j;
            textBox3.Text = k.ToString();
        }

        private void button2_Click(object sender, EventArgs e)//double click on minus Button
        {
            i = Convert.ToDouble(textBox1.Text);
            Double j = Convert.ToDouble(textBox2.Text);
            Double k = i - j;
            textBox3.Text = k.ToString();
        }

        private void button3_Click(object sender, EventArgs e)//double click on multiply Button
        {
            i = Convert.ToDouble(textBox1.Text);
            Double j = Convert.ToDouble(textBox2.Text);
            Double k = i * j;
            textBox3.Text = k.ToString();
        }

        private void button4_Click(object sender, EventArgs e)//double click on divide Button
        {
            i = Convert.ToDouble(textBox1.Text);
            Double j = Convert.ToDouble(textBox2.Text);
            Double k = i / j;
            textBox3.Text = k.ToString();
        }

        private void button5_Click(object sender, EventArgs e)//double click on square root Button
        {
            i = Convert.ToDouble(textBox1.Text);
            //Double j = Convert.ToDouble(textBox2.Text);
            Double k = i * i;
            textBox3.Text = k.ToString();
        }

        private void button6_Click(object sender, EventArgs e)//double click on square cube  Button
        {
            i = Convert.ToDouble(textBox1.Text);
            //Double j = Convert.ToDouble(textBox2.Text);
            Double k = i * i * i;
            textBox3.Text = k.ToString();
        }

        private void button7_Click(object sender, EventArgs e)//double click on B(Blank) Button for clear text-boxes 
        {
            textBox1.Text = "";
            textBox2.Text = "";
            textBox3.Text = "";
        }

        private void button8_Click(object sender, EventArgs e)//double click on E(Exit) Button for closing application
        {
            Application.Exit();
        }
    }
}

now click F5 for run............. Your Suggestion in Comment Box

ATM Project in C# Window application

Simple Media Player in c# window application Open Visual studio just follow to simple step
Visual c# - Windows From Application - OK
Take 4 label, 2 links, 3 text boxes, 2 buttons, groups box, 1 droop-down box, 1 timer and 1 progress bar
copy this code :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Data.SqlClient;

namespace BankIng_Project
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            textBox2.Text = comboBox1.Text;
        }

        private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            textBox3.Text = textBox1.Text;
            textBox1.Text = " ";
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Your Information are saved");
            MessageBox.Show("Welcome to", textBox1.Text);
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Information are not currect");
             comboBox1.Text = "";
             textBox1.Text = "";
             textBox2.Text = "";
             textBox3.Text = "";
        }
        int i;
        private void timer1_Tick(object sender, EventArgs e)
        {
            if (i == 15)
            {
                Form1 f1 = new Form1();
               
                this.Hide();
                Form2 f2 = new Form2();
                f2.Show();
            }
            i++;
            progressBar1.PerformStep();
        }
        private void button4_Click(object sender, EventArgs e)
        {
            timer1.Start();
            progressBar1.Minimum = i;
            progressBar1.Maximum = 10;
            
        }

        private void button5_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
    }
}

take 3 buttons, 2 labels and 1 text box.

copy this code :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BankIng_Project
{
    public partial class Form2 : Form
    {
        public Form2()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Your ATM Card has been Inserted");
        }
        
        private void button2_Click(object sender, EventArgs e)
        {
            String a;
            a = textBox1.Text;
            if (a == "1234")
            {
                MessageBox.Show("Valid Password");
                Form2 f2 = new Form2();
                this.Hide();
                Form3 f3 = new Form3();
                f3.Show();
            }
            else
            {
                MessageBox.Show("Invalid Password");
                MessageBox.Show("Try Again");
                MessageBox.Show("Thankx for using ATM Banking Service");
            }
        }
    }
}
take 2 buttons
copy this code : 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BankIng_Project
{
    public partial class Form3 : Form
    {
        public Form3()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form4 f4 = new Form4();
            f4.Show();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("The Account is used for only terms");
            MessageBox.Show("Use the Saving Account for WithDeawing Money");
        }
    }
}
take 2 buttons

copy this code : 

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BankIng_Project
{
    public partial class Form4 : Form
    {
        public Form4()
        {
            InitializeComponent();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Available Balance : 1000 INR");
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.Hide();
            Form5 f5 = new Form5();
            f5.Show();
        }
    }
}
take 3 labels, 2 buttons, 3 text boxes,1 timer and 1 progressbar

copy this code :

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace BankIng_Project
{
    public partial class Form5 : Form
    {
        public Form5()
        {
            InitializeComponent();
        }
        Double i;
        int a;
        public void button1_Click(object sender, EventArgs e)
        {
            i = Convert.ToDouble(textBox1.Text);
            Double j = Convert.ToDouble(textBox2.Text);
            Double k = i - j;
            textBox3.Text = k.ToString();

            timer1.Start();
            progressBar1.Minimum = a;
            progressBar1.Maximum = 10;
        }


        private void timer1_Tick(object sender, EventArgs e)
        {
            if (a == 10)
                a++;
            progressBar1.PerformStep();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("Thankx For Using");
            MessageBox.Show("Keep Visiting");
            Application.Exit();
        }

        private void textBox2_TextChanged(object sender, EventArgs e)
        {

        }

        private void progressBar1_Click(object sender, EventArgs e)
        {

        }
    }
}
Now double click on Browser Button and copy this code
now click F5 for run............. Your Suggestion in Comment Box

Wednesday, July 17, 2013

Simple Media Player in C# Window Application

Simple Media Player in c# window application Open Visual studio just follow to simple step
Visual c# - Windows From Application - OK
Now we saw form1 page and start to drag some element from toolbox (Ctr+w,t)
take 1 openFileDialog, 1 window media player and buton1 (Browser),button2 (Close)











 Now double click on Browser Button and copy this code 
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace mediaplayer { public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void button1_Click(object sender, EventArgs e) { { openFileDialog1.Filter = "(mp3,wav,mp4,mov,wmv,mpg)|*.mp3;*.wav;*.mp4;*.mov; *.wmv;*.mpg|all files|*.*"; if (openFileDialog1.ShowDialog() == DialogResult.OK) axWindowsMediaPlayer1.URL = openFileDialog1.FileName; } } } also double click on Exit button private void button2_Click(object sender, EventArgs e) { MessageBox.Show("Media Player closing....."); Application.Exit(); }
now click F5 for run............. Your Suggestion in Comment Box

My First Investment

My First Investment This is a story of my first investment experience. I started investment 6 month before. As everyone has a desired ...