|
@@ -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;
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|