|
Revision 34415, 0.8 kB
(checked in by hoge1e3, 4 years ago)
|
|
文書の変更にリストが同期
|
| Line | |
|---|
| 1 | using System;
|
|---|
| 2 | using System.Collections.Generic;
|
|---|
| 3 | using System.ComponentModel;
|
|---|
| 4 | using System.Data;
|
|---|
| 5 | using System.Drawing;
|
|---|
| 6 | using System.Linq;
|
|---|
| 7 | using System.Text;
|
|---|
| 8 | using System.Windows.Forms;
|
|---|
| 9 | using System.Threading;
|
|---|
| 10 |
|
|---|
| 11 | namespace 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 | }
|
|---|