Skip to content

Latest commit

 

History

History
60 lines (51 loc) · 1.28 KB

README.md

File metadata and controls

60 lines (51 loc) · 1.28 KB

Application for Beeline

There were using Forms, Events

For example

using System.Windows.Forms;

namespace Beeline_proj
{
    public partial class Button1 : Form
    {
        public Button1()
        {
            InitializeComponent();
        }

        private void Button1_Load(object sender, EventArgs e)
        {
            
        }

        private void button2_Click(object sender, EventArgs e)
        {
            ProcessStartInfo sInfo = new ProcessStartInfo("https://beeline.am/am/Catalog/Packages/Mobile-Packages/TP-Smart-/Prepaid-Smart/Smart-1500/p/ALL_1_P#");
            Process.Start(sInfo);
        }

        private void button3_Click(object sender, EventArgs e)
        {
            Close();
            Form1 f = new Form1();
            f.Show();

                    }
    }
}

For running the program.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Beeline_proj
{
    class Program
    {
        [STAThread]
        static void Main(string[] args)
        {
                   Application.Run(new Form1());
        }
    }
}

form1