Ana içeriğe atla

C#(Sharp) ile Telefon Defteri Tasarımı - Ana Sayfa -

UYARI : Kodlar Sayfa Sayfadır. Bağlantılar aşağıda verilmiştir.
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 WindowsFormsApplication1
{
    public partial class frm_Ana_sayfa : Form
    {
        public frm_Ana_sayfa()
        {
            InitializeComponent();
        }

        private void Ana_sayfa_Load(object sender, EventArgs e)
        {
            String bag_cum = "Provider=Microsoft.ACE.OLEDB.12.0; Data Source= " + Application.StartupPath + "\\ DBASE.accdb;";

        }

        private void btn_ekle_Click(object sender, EventArgs e)
        {
           
            form_Tel_def teldefekle = new form_Tel_def();
            teldefekle.Show();
            this.Hide();
        }

        private void btn_detara_Click(object sender, EventArgs e)
        {
            Ara arama = new Ara();
            arama.Show();
            this.Hide();
        }

        private void btn_listele_Click(object sender, EventArgs e)
        {
            Listele liste = new Listele();
            liste.Show();
            this.Hide();
        }

        private void btn_sil_Click(object sender, EventArgs e)
        {
            Sil sill = new Sil();
            sill.Show();
            this.Hide();
        }
    }
}

Yorumlar

Bu blogdaki popüler yayınlar

Microsoft Excel Temel Eğitim Ders Notları - Excel Programına Giriş

C#(Sharp) ile CD hareketleri

 UYARI : Bu kod bloğu notebook bilgisayarlarda sadece CD bölmesini çıkartır.                Masaüstü bilgisayarlarda ise hem çıkartma hem takma işlemi yapabilirsiniz. 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; using System.Runtime.InteropServices; namespace Cd_hareketleri {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         [DllImport("winmm.dll")]         private static extern int mciSendString(string strCommand,     ...

C#(Sharp) ile PC'den Ses Çıkartma Kodları

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; using System.Runtime.InteropServices; namespace Pcden_ses_cikarma {     public partial class Form1 : Form     {         public Form1()         {             InitializeComponent();         }         [DllImport("Kernel32.dll", EntryPoint = "Beep")]         public static extern long MyBeep(Int32 frekans, Int32 sure);         private void button1_Click(object sender, EventArgs e)         {             MyBeep(1000, 1500);  ...