| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using HySoft.IVRFlowEditor;
- using HySoft.IVRFlowEditor.IVRControl;
- using HySoft.IVRFlowEditor.IVRControlUtility;
- namespace IVRFlowUI
- {
- public partial class FrmProPretity : Form
- {
- public FrmProPretity(ref IVRControlBase ivr)
- {
- InitializeComponent();
- _IVR = ivr;
- this.Controls.Add(ivr.CtlProperty);
- this.Width = ivr.CtlProperty.Width+20;
- this.Height = ivr.CtlProperty.Height+30;
- // ivr.CtlProperty.Dock = DockStyle.Fill;
-
- this.Controls.Add(ivr.CtlProperty);
- }
- private IVRControlBase _IVR;
- private void btn_enter_Click(object sender, EventArgs e)
- {
- this.DialogResult = System.Windows.Forms.DialogResult.OK;
-
- this.Close();
- }
- private void btn_cancel_Click(object sender, EventArgs e)
- {
- this.DialogResult = System.Windows.Forms.DialogResult.No;
- this.Close();
- }
- }
- }
|