Ky So há 2 anos atrás
pai
commit
5f9acb0e0a
3 ficheiros alterados com 34 adições e 1 exclusões
  1. 6 1
      p/Class/LoadList.cs
  2. 1 0
      p/MainWindow.xaml.cs
  3. 27 0
      p/PageService.xaml.cs

+ 6 - 1
p/Class/LoadList.cs

@@ -6,7 +6,12 @@ using System.Threading.Tasks;
 
 namespace p.Class
 {
-    class LoadList
+   public class LoadList
     {
+        public List<Agent> agent;
+        public LoadList()
+        {
+            agent = BaseConnect.BaseModel.Agent.ToList();
+        }
     }
 }

+ 1 - 0
p/MainWindow.xaml.cs

@@ -25,6 +25,7 @@ namespace p
             InitializeComponent();
             BaseConnect.BaseModel = new user28Entities();
             PageLoad.MainFrame = FrameMain;
+          
         }
     }
 }

+ 27 - 0
p/PageService.xaml.cs

@@ -20,9 +20,36 @@ namespace p
     /// </summary>
     public partial class PageService : Page
     {
+        
         public PageService()
         {
             InitializeComponent();
+            
+        }
+
+        private void EditService_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void DeleteServise_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void NewZapis_Click(object sender, RoutedEventArgs e)
+        {
+
+        }
+
+        private void SearchBarTxt_TextChanged(object sender, TextChangedEventArgs e)
+        {
+
+        }
+
+        private void CostSortButtum_Click(object sender, RoutedEventArgs e)
+        {
+
         }
     }
 }