Ky So 2 年之前
父节点
当前提交
5f9acb0e0a
共有 3 个文件被更改,包括 34 次插入1 次删除
  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)
+        {
+
         }
     }
 }