internal static void DelDocVer(Areas.Areas areas, VerLawdata law) { Console.Clear(); Document doc = Program_function.SelectDoc(law, 0, 0); areas.DeleteLawver(doc.id); }
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); }
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); }
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); }