Ejemplo n.º 1
0
        //Exports Selected Swords
        private void exportIndividualSwordBtn_Click(object sender, EventArgs e)
        {
            var selectedSwords = swordGrid.Rows.Cast <DataGridViewRow>().Where(r => r.Cells["Export"].Value != null && (bool)r.Cells["Export"].Value == true);

            SwordHelper.ExportSwords(selectedSwords, swordGrid.Rows.Cast <DataGridViewRow>(), false, LoadedPath);
        }
Ejemplo n.º 2
0
 //Exports all Swords
 private void exportSwordAllBtn_Click(object sender, EventArgs e)
 {
     SwordHelper.ExportSwords(swordGrid.Rows.Cast <DataGridViewRow>(), swordGrid.Rows.Cast <DataGridViewRow>(), true, LoadedPath);
 }