예제 #1
0
        public void Add(TempMove tempMove)
        {
            if (list.Exists(item => item == tempMove))
                return;

            list.Add(tempMove);
        }
예제 #2
0
        protected override void loadFromSql()
        {
            DataTable dt = _provider.Select("TempMove");

            foreach (DataRow row in dt.Rows)
            {
                TempMove tempMove = new TempMove(row);
                Add(tempMove);
            }
        }
예제 #3
0
        public TempMove_AddEdit(TempMove tempMove)
        {
            InitializeComponent();

            _tempMove = tempMove;
        }