Example #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            var f = new CreateCharacterForm();

            f.Show();
            Settings.SaveSettings();
        }
Example #2
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count == 1)
     {
         string _guid = (string)dataGridView1.SelectedRows[0].Cells[0].Value;
         var    c     = Settings.Characters.Find(ch => ch._guid == _guid);
         var    f     = new CreateCharacterForm(c);
         f.Show();
     }
 }