private void button7_Click(object sender, EventArgs e) { ayarlar.Default.kayanyazi = kyazi; ayarlar.Default.backcolor = backcolor; ayarlar.Default.button = button; ayarlar.Default.listbox = listbox; ayarlar.Default.timer = Convert.ToInt32(numericUpDown1.Value); ayarlar.Default.font = font; ayarlar.Default.text = textBox1.Text; ayarlar.Default.Save(); manin main = Application.OpenForms["manin"] as manin; main.listBox1.Font = ayarlar.Default.font; main.timer2.Interval = ayarlar.Default.timer; main.timer3.Interval = ayarlar.Default.timer; main.listBox1.ForeColor = ayarlar.Default.listbox; main.axWindowsMediaPlayer1.Location = new Point(5, 20); // axWindowsMediaPlayer1.Size = new Size(this.Height, (this.Width/2)-37); main.Font = ayarlar.Default.font; main.Text = ayarlar.Default.text; main.BackColor = ayarlar.Default.backcolor; main.diskoModuToolStripMenuItem.BackColor = ayarlar.Default.button; main.listBox1.BackColor = ayarlar.Default.button; main.button1.BackColor = ayarlar.Default.button; main.button8.BackColor = ayarlar.Default.button; main.button7.BackColor = ayarlar.Default.button; main.button2.BackColor = ayarlar.Default.button; main.button3.BackColor = ayarlar.Default.button; main.button4.BackColor = ayarlar.Default.button; main.button5.BackColor = ayarlar.Default.button; main.equalizerToolStripMenuItem.BackColor = ayarlar.Default.button; main.equalizerToolStripMenuItem1.BackColor = ayarlar.Default.button; main.mp3İndiriciToolStripMenuItem.BackColor = ayarlar.Default.button; main.arayüzAyarlarıToolStripMenuItem.BackColor = ayarlar.Default.button; main.çokluEkleToolStripMenuItem.BackColor = ayarlar.Default.button; main.oynatıcıAyarlarıToolStripMenuItem.BackColor = ayarlar.Default.button; main.panel1.BackColor = ayarlar.Default.backcolor; //yenidenBaşlarToolStripMenuItem.BackColor = ayarlar.Default.button; main.label3.BackColor = ayarlar.Default.button; main.contextMenuStrip1.BackColor = ayarlar.Default.button; main.dosyaToolStripMenuItem.BackColor = ayarlar.Default.button; main.menuStrip1.BackColor = ayarlar.Default.button; main.açToolStripMenuItem.BackColor = ayarlar.Default.button; main.çıkışToolStripMenuItem.BackColor = ayarlar.Default.button; main.trackBar1.BackColor = ayarlar.Default.backcolor; main.trackBar2.BackColor = ayarlar.Default.backcolor; main.trackBar3.BackColor = ayarlar.Default.backcolor; main.trackBar4.BackColor = ayarlar.Default.backcolor; MessageBox.Show("Ayarlar kaydedildi.", "Başarılı", MessageBoxButtons.OK, MessageBoxIcon.Information); }
private void button8_Click(object sender, EventArgs e) { ayarlar.Default.kayanyazi = new Font("Lucida Sans Unicode", 11, FontStyle.Bold); ayarlar.Default.backcolor = Color.Indigo; ayarlar.Default.button = Color.MediumPurple; ayarlar.Default.timer = 60; ayarlar.Default.listbox = Color.DarkBlue; ayarlar.Default.font = new Font("Segoe UI", 10, FontStyle.Regular); ayarlar.Default.text = "Eko Player"; ayarlar.Default.Save(); manin main = Application.OpenForms["manin"] as manin; main.listBox1.Font = ayarlar.Default.font; main.timer2.Interval = ayarlar.Default.timer; main.timer3.Interval = ayarlar.Default.timer; main.listBox1.ForeColor = ayarlar.Default.listbox; main.axWindowsMediaPlayer1.Location = new Point(5, 20); // axWindowsMediaPlayer1.Size = new Size(this.Height, (this.Width/2)-37); main.Font = ayarlar.Default.font; main.Text = ayarlar.Default.text; main.BackColor = ayarlar.Default.backcolor; main.diskoModuToolStripMenuItem.BackColor = ayarlar.Default.button; main.listBox1.BackColor = ayarlar.Default.button; main.button1.BackColor = ayarlar.Default.button; main.button8.BackColor = ayarlar.Default.button; main.button7.BackColor = ayarlar.Default.button; main.button2.BackColor = ayarlar.Default.button; main.button3.BackColor = ayarlar.Default.button; main.button4.BackColor = ayarlar.Default.button; main.button5.BackColor = ayarlar.Default.button; main.equalizerToolStripMenuItem.BackColor = ayarlar.Default.button; main.equalizerToolStripMenuItem1.BackColor = ayarlar.Default.button; main.mp3İndiriciToolStripMenuItem.BackColor = ayarlar.Default.button; main.arayüzAyarlarıToolStripMenuItem.BackColor = ayarlar.Default.button; main.çokluEkleToolStripMenuItem.BackColor = ayarlar.Default.button; main.oynatıcıAyarlarıToolStripMenuItem.BackColor = ayarlar.Default.button; main.panel1.BackColor = ayarlar.Default.backcolor; //yenidenBaşlarToolStripMenuItem.BackColor = ayarlar.Default.button; main.label3.BackColor = ayarlar.Default.button; main.contextMenuStrip1.BackColor = ayarlar.Default.button; main.dosyaToolStripMenuItem.BackColor = ayarlar.Default.button; main.menuStrip1.BackColor = ayarlar.Default.button; main.açToolStripMenuItem.BackColor = ayarlar.Default.button; main.çıkışToolStripMenuItem.BackColor = ayarlar.Default.button; main.trackBar1.BackColor = ayarlar.Default.backcolor; main.trackBar2.BackColor = ayarlar.Default.backcolor; main.trackBar3.BackColor = ayarlar.Default.backcolor; main.trackBar4.BackColor = ayarlar.Default.backcolor; MessageBox.Show("Ayarlar Sıfırlandı.", "Başarılı", MessageBoxButtons.OK, MessageBoxIcon.Information); }
private void button6_Click(object sender, EventArgs e) { manin ana = new manin(); ana.axWindowsMediaPlayer1.ShowPropertyPages(); }