示例#1
0
        private static void ShowText(StringCollection sc)
        {
            TextForm form = new TextForm();

            form.DisplayText(sc);
            form.Show();
        }
示例#2
0
        private void WithoutDependenciesMenuItem_Click(object sender, EventArgs e)
        {
            Table    table;
            TextForm form;

            // Just make sure something is selected
            if (this.TableListView.SelectedIndices.Count == 0)
            {
                return;
            }

            // It's the first one as we only allow one selection
            table = (Table)(this.TableListView.SelectedItems[0].Tag);

            form = new TextForm();
            form.DisplayText(table.Script());
            form.Show();
        }
示例#3
0
        private static void ShowText(StringCollection sc)
        {
            TextForm form = new TextForm();

            form.DisplayText(sc);
            form.Show();
        }
示例#4
0
        private void WithoutDependenciesMenuItem_Click(object sender, EventArgs e)
        {
            Table table;
            TextForm form;

            // Just make sure something is selected
            if (this.TableListView.SelectedIndices.Count == 0)
            {
                return;
            }

            // It's the first one as we only allow one selection
            table = (Table)(this.TableListView.SelectedItems[0].Tag);

            form = new TextForm();
            form.DisplayText(table.Script());
            form.Show();
        }