﻿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 Gelir_Gider_Takip
{
    public partial class msgbox : Form
    {
        public msgbox()
        {
            InitializeComponent();
        }

        private void bunifuButton7_Click(object sender, EventArgs e)
        {
            this.Hide();
        }
        public void hatauyarisi(string mesaj,string mesaj2="") {
            bunifuLabel1.Text = mesaj;
            bunifuLabel2.Text = mesaj2;
            System.Media.SoundPlayer player = new System.Media.SoundPlayer(@"sound.wav");
            player.Play();
            this.Show();
        }

        private void bunifuButton1_Click(object sender, EventArgs e)
        {
            this.Hide();
        }
    }
}
