Görsel Programlama (Güz-2016) Hafta-8-1

gorsel_prog_2016_guz_hafta8-1

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

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

        private void bkapat_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void byeniform_Click(object sender, EventArgs e)
        {
            //this.Hide();
            Form2 xyz = new Form2();
            //xyz.Show();
            xyz.ShowDialog();
            //this.Show();
            //MessageBox.Show("asdasdasdasd");


        }
    }
}
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

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

        private void bkapat_Click(object sender, EventArgs e)
        {
            this.Close();
            //Application.Exit();
        }
    }
}

 

GP (Güz-2016) Hafta-8/1

Share