Beispiel #1
0
        //Exports Selected Swords
        private void exportIndividualShieldBtn_Click(object sender, EventArgs e)
        {
            var selectedShields = shieldGrid.Rows.Cast <DataGridViewRow>().Where(r => r.Cells["Export"].Value != null && (bool)r.Cells["Export"].Value == true);

            ShieldHelper.ExportShields(selectedShields, shieldGrid.Rows.Cast <DataGridViewRow>(), false, LoadedPath);
        }
Beispiel #2
0
 //Exports all Shields
 private void exportShieldAllBtn_Click(object sender, EventArgs e)
 {
     ShieldHelper.ExportShields(shieldGrid.Rows.Cast <DataGridViewRow>(), shieldGrid.Rows.Cast <DataGridViewRow>(), true, LoadedPath);
 }