Ejemplo n.º 1
0
        private void PhannysSoundBoard_Load(object sender, EventArgs e)
        {
            if (string.IsNullOrEmpty(PhansSoundBoard.Properties.Settings.Default.btn1gif ))
            {
                Settings settings = new Settings();

                settings.ShowDialog();
            }
            foreach (Control ctl in this.Controls)
            {
                if (ctl is Button)
                {
                    string settingName = string.Format("{0}gif", ctl.Name);
                    ctl.Text = Helpers.GetFilenameFromPath(PhansSoundBoard.Properties.Settings.Default[settingName].ToString());
                }
            }
        }
Ejemplo n.º 2
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     Settings settings = new Settings();
     settings.ShowDialog();
 }