Exemplo n.º 1
0
        public void OnEdit(object sender, EventArgs e)
        {
            if (editor == null)
            {
                editor = new InfoTransactionEditorDialog(this.Component as InfoTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.ShowDialog();
        }
Exemplo n.º 2
0
        public override void DoDefaultAction()
        {
            if (editor == null)
            {
                editor = new InfoTransactionEditorDialog(this.Component as InfoTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.ShowDialog();
        }
Exemplo n.º 3
0
        public Form ShowForm()
        {
            if (editor == null)
            {
                editor = new InfoTransactionEditorDialog(this.Component as InfoTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

            editor.Show();
            return editor;
        }