示例#1
0
        public static void EnableAction(ActionTypes ActionType, Afni.Applications.VLoop.Application App)
        {
            VLoopCommand cmd;

            cmd         = (VLoopCommand)App.Commands[ActionType];
            cmd.Enabled = true;
        }
示例#2
0
        public static void EnableAction(ActionTypes ActionType, Afni.Applications.VLoop.Application App)
        {
            Action action;

            action         = (Action)App.Actions[ActionType];
            action.Enabled = true;
        }
示例#3
0
        public NewPlanWizFinalCtl(Afni.Applications.VLoop.Application app)
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

            _app = app;
        }
示例#4
0
 public QueueCtl(Afni.Applications.VLoop.Application app)
 {
     // This call is required by the Windows.Forms Form Designer.
     InitializeComponent();
     _app = app;
     _app.CampaignSwitched += new System.EventHandler(this.OnCampaignSwitch);
 }
示例#5
0
        public ChangeCampaignCmd(Afni.Applications.VLoop.Application app)
        {
            _app = app;
            InitializeComponent();

            _menu_cmd = _app.MenuManager.AddMenuItem(this,
                                                     VLoopMenus.System,
                                                     null,
                                                     "C&hange Campaign",
                                                     Shortcut.CtrlShiftC,
                                                     null);
        }
示例#6
0
        public ChangeCampaignAction(Afni.Applications.VLoop.Application app)
        {
            _app = app;
            InitializeComponent();

            //_menu_cmd.ImageList = _app.ParentForm.ActionImageList;
            //_menu_cmd.ImageIndex = (int)ActionIcons.End;
            _menu_cmd.Text     = "C&hange Campaign";
            _menu_cmd.Shortcut = Shortcut.CtrlShiftC;
            _menu_cmd.Click   += new System.EventHandler(this.MenuClick);
            _app.MenuManager.AddMenuItem(_menu_cmd, VLoopMenus.System, _tb_item);
        }
示例#7
0
 public NextCallAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     base.InitializeComponent();
     //_menu_cmd.ImageList = _app.ParentForm.ActionImageList;
     //_menu_cmd.ImageIndex = (int)ActionIcons.Next;
     _menu_cmd.Text       = "Nex&t Call...";
     _menu_cmd.Click     += new System.EventHandler(this.MenuClick);
     _tb_item             = new ToolBarButton();
     _tb_item.Tag         = this;
     _tb_item.Enabled     = true;
     _tb_item.ImageIndex  = (int)ActionIcons.Next;
     _tb_item.Style       = ToolBarButtonStyle.PushButton;
     _tb_item.Text        = "Nex&t Call...";
     _tb_item.ToolTipText = "Move to the next call in the queue";
     _tb_item.Visible     = true;
     _app.MenuManager.AddMenuItem(_menu_cmd, VLoopMenus.Call, _tb_item);
 }
示例#8
0
 public EndCallCmd(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
     _tb_item.Tag         = this;
     _tb_item.Enabled     = true;
     _tb_item.ImageIndex  = (int)ActionIcons.End;
     _tb_item.Style       = ToolBarButtonStyle.PushButton;
     _tb_item.Text        = "E&nd Call";
     _tb_item.ToolTipText = "End the current call";
     _tb_item.Visible     = true;
     _menu_cmd            = _app.MenuManager.AddMenuItem(this,
                                                         VLoopMenus.Call,
                                                         _tb_item,
                                                         "E&nd Call",
                                                         Shortcut.None,
                                                         _icon);
 }
示例#9
0
        public EndCallAction(Afni.Applications.VLoop.Application app)
        {
            _app = app;
            InitializeComponent();

            //_menu_cmd.ImageList = _app.ParentForm.ActionImageList;
            //_menu_cmd.ImageIndex = (int)ActionIcons.End;
            _menu_cmd.Text       = "E&nd Call...";
            _menu_cmd.Click     += new System.EventHandler(this.MenuClick);
            _tb_item.Tag         = this;
            _tb_item.Enabled     = true;
            _tb_item.ImageIndex  = (int)ActionIcons.End;
            _tb_item.Style       = ToolBarButtonStyle.PushButton;
            _tb_item.Text        = "E&nd Call...";
            _tb_item.ToolTipText = "End the current call";
            _tb_item.Visible     = true;
            _app.MenuManager.AddMenuItem(_menu_cmd, VLoopMenus.Call, _tb_item);
        }
示例#10
0
        public NextCallCmd(Afni.Applications.VLoop.Application app)
        {
            _app = app;
            InitializeComponent();
            _tb_item             = new ToolBarButton();
            _tb_item.Tag         = this;
            _tb_item.Enabled     = true;
            _tb_item.ImageIndex  = (int)ActionIcons.Next;
            _tb_item.Style       = ToolBarButtonStyle.PushButton;
            _tb_item.Text        = "Nex&t Call";
            _tb_item.ToolTipText = "Move to the next call in the queue";
            _tb_item.Visible     = true;

            _menu_cmd = _app.MenuManager.AddMenuItem(this,
                                                     VLoopMenus.Call,
                                                     _tb_item,
                                                     "Nex&t Call",
                                                     Shortcut.None,
                                                     _icon);
        }
示例#11
0
 public DispositionState(Afni.Applications.VLoop.Application app)
 {
     _app  = app;
     _name = "Call Disposition";
 }
示例#12
0
 public SearchAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#13
0
 public LoggingInState(Afni.Applications.VLoop.Application app)
 {
     _app  = app;
     _name = "Logging In";
 }
示例#14
0
 public ToggleScriptsAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#15
0
 public ToggleTreeviewAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#16
0
 public DynamicHelpAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#17
0
 public OptionsCmd(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#18
0
 public QueueSetupAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#19
0
 public CallActiveState(Afni.Applications.VLoop.Application app)
 {
     _app  = app;
     _name = "Call Currently Active";
 }
示例#20
0
 public XPBarViewExplorer(Afni.Applications.VLoop.Application app, Splitter explorerSplitter)
 {
     _app      = app;
     _splitter = explorerSplitter;
     InitializeComponent();
 }
示例#21
0
 public IdleState(Afni.Applications.VLoop.Application app)
 {
     _app  = app;
     _name = "Idle (No Customer open)";
 }
示例#22
0
 public ctlHome(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     // This call is required by the Windows.Forms Form Designer.
     InitializeComponent();
 }
示例#23
0
 public DeleteItemAction(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }
示例#24
0
 public CallSetupState(Afni.Applications.VLoop.Application app)
 {
     _app  = app;
     _name = "Queue Selection and Setup";
 }
示例#25
0
 public AddNewItemCmd(Afni.Applications.VLoop.Application app)
 {
     _app = app;
     InitializeComponent();
 }