root/lang/csharp/soyText/soyText/ImportDialog.cs @ 34415

Revision 34415, 0.8 kB (checked in by hoge1e3, 4 years ago)

文書の変更にリストが同期

Line 
1using System;
2using System.Collections.Generic;
3using System.ComponentModel;
4using System.Data;
5using System.Drawing;
6using System.Linq;
7using System.Text;
8using System.Windows.Forms;
9using System.Threading;
10
11namespace SoyText
12{
13    public partial class ImportDialog : Form
14    {
15        Workspace workspace;
16        public ImportDialog(Workspace workspace)
17        {
18            this.workspace = workspace;
19            InitializeComponent();
20        }
21
22        private void label1_Click(object sender, EventArgs e)
23        {
24
25        }
26
27        private void button1_Click(object sender, EventArgs e)
28        {
29            var i = new DocumentImporter(path.Text,workspace.documentSet);
30            new Thread(delegate()
31            {
32                i.traverse();
33            }).Start();
34            Close();
35        }
36    }
37}
Note: See TracBrowser for help on using the browser.