12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- 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;
- }
- }
- }
|