Esempio 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();
        }
Esempio 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();
        }
Esempio 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;
        }