Example #1
0
 private void b_ChangeInfo_Click(object sender, EventArgs e)
 {
     if (this.dataGV.SelectedRows.Count > 0)
     {
         int            id_skill  = int.Parse(this.dataGV.SelectedRows[0].Cells[0].Value.ToString());
         WindowAddSkill addWindow = new WindowAddSkill(this.control, id_skill);
         addWindow.ShowDialog();
         this.bSource.DataSource = this.control.GetTable("Skills");
     }
 }
        private void b_AddSkillForm_Click(object sender, RoutedEventArgs e)
        {
            WindowAddSkill addWindow = new WindowAddSkill(this.control);

            addWindow.ShowDialog();
        }