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();
        }
        public override void DoDefaultAction()
        {
            if (editor == null)
            {
                editor = new InfoTransactionEditorDialog(this.Component as InfoTransaction,
                    this.GetService(typeof(IDesignerHost)) as IDesignerHost);
            }

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

            editor.Show();
            return editor;
        }