Пример #1
0
        internal static void DelDocVer(Areas.Areas areas, VerLawdata law)
        {
            Console.Clear();
            Document doc = Program_function.SelectDoc(law, 0, 0);

            areas.DeleteLawver(doc.id);
        }
Пример #2
0
        internal void DelDocVer(Areas.Areas areas, VerLawdata law, int posx, int posy)
        {
            Console.Clear();
            Document doc = suportfunction.SelectDoc(law, posx, posy);

            areas.DeleteLawver(doc.id);
        }
Пример #3
0
        internal static void DelLawver(Areas.Areas areas, Area_date current_area, int dlugoscMaxElement, int posnewmenu, string message)
        {
            Console.Clear();
            var virarea = new Area_date(0, "", "", 0, "");

            Console.WriteLine("Podaj nazwe usuwanego prawa");
            var areasel = Program_function.Search(areas, virarea, 0, 0, message);

            Console.Clear();
            if (areasel == virarea)
            {
                return;
            }
            var locallaw = areas.Find_local_law(areasel.Id);
            var doc      = Program_function.SelectDoc(locallaw, 0, 0);

            areas.DeleteLawver(doc.id);
        }
Пример #4
0
            internal void Show()
            {
                Console.Clear();
                var virarea = new Area_date(0, "", "", 0, "");

                Console.WriteLine("Podaj nazwe usuwanego prawa");
                var areasel = searcher.Search(0, 0, virarea);

                Console.Clear();
                if (areasel == virarea)
                {
                    return;
                }
                var locallaw = areas.Find_local_law(areasel.Id);
                var doc      = suportfunction.SelectDoc(locallaw, 0, 0);

                areas.DeleteLawver(doc.id);
            }