Exemple #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="obj"></param>
        public void dElete(object obj)
        {
            int          c    = 0;
            clsWeaponCSV item = new clsWeaponCSV();

            foreach (clsWeaponCSV co in AllLines)
            {
                if (co.weapon_name == weapon_name)
                {
                    item = co;
                    break;
                }
                c++;
            }
            AllLines.Remove(item);
            UpdateNames();
        }
 private void Lines_LineRemoved(object sender, LineChangedEventArgs e)
 {
     this.Page.RemoveLine(e.Line);
     AllLines.Remove(e.Line);
 }