wyq 3 mesi fa
parent
commit
575d29520f
1 ha cambiato i file con 46 aggiunte e 0 eliminazioni
  1. 46 0
      DW5S.App/EditForms/TaskTemplate.cs

+ 46 - 0
DW5S.App/EditForms/TaskTemplate.cs

@@ -0,0 +1,46 @@
+using DevExpress.Utils.About;
+using DW5S.Entity;
+using DW5S.Repostory;
+using DW5S.Service;
+using DW5S.ViewModel;
+using ExtensionsDev;
+using Serilog;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+
+namespace DW5S.App.EditForms
+{
+    public partial class TaskTemplate : DevExpress.XtraEditors.XtraForm
+    {
+        public int SelectedTemplate { get; set; }
+        public TaskTemplate()
+        {
+            InitializeComponent();
+            this.layoutControl1.UseDefault();
+            this.StartPosition = FormStartPosition.CenterParent;
+        }
+
+        private async void CdbEditor_Load(object sender, EventArgs e)
+        {
+
+        }
+
+        private void btnOk_Click(object sender, EventArgs e)
+        {
+            SelectedTemplate = this.radioGroup1.SelectedIndex;
+            this.DialogResult = DialogResult.OK;
+        }
+
+        private void btnCancle_Click(object sender, EventArgs e)
+        {
+            this.DialogResult = DialogResult.Cancel;
+        }
+    }
+}