Пример #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();
        }