Пример #1
0
        public void OnEdit(object sender, EventArgs e)
        {
            if (editor == null)
            {
                editor = new EFTransactionEditorDialog(this.Component as EFTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.ShowDialog();
        }
Пример #2
0
        public override void DoDefaultAction()
        {
            if (editor == null)
            {
                editor = new EFTransactionEditorDialog(this.Component as EFTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.ShowDialog();
        }
Пример #3
0
        public Form ShowForm()
        {
            if (editor == null)
            {
                editor = new EFTransactionEditorDialog(this.Component as EFTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.Show();
            return editor;
        }