예제 #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;
        }