示例#1
0
        public void AddToClass(int ID, DateTime Date, string Opis)
        {
            Dane DaneN = new Dane(ID, Date, Opis);

            DaneNowe.Add(DaneN);
            WriteJSON writeJSON = new WriteJSON();

            writeJSON.JSON_Create();
        }
示例#2
0
        public void ToRemove(int DoUsuniecia)
        {
            Dane SearchIn           = GetValidate.Search(DoUsuniecia);
            var  ObiektDousuniecia1 = DaneNowe.IndexOf(SearchIn);

            DaneNowe.RemoveAt(ObiektDousuniecia1);

            WriteJSON writeJSON = new WriteJSON();

            writeJSON.JSON_Create();
        }
示例#3
0
        static void Main()
        {
            DaneNowe = new List <Dane>();
            WriteJSON writeJSON = new WriteJSON();

            writeJSON.CheckFolder();
            MenuClass menuClass = new MenuClass();

            Console.ForegroundColor = ConsoleColor.Green;
            menuClass.Select_Menu();
        }