Example #1
0
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            popupWindowShowAction_PrevewMessages = new DevExpress.ExpressApp.Actions.PopupWindowShowAction(this.components)
            {
                AcceptButtonCaption = null,
                CancelButtonCaption = null,
                Caption             = "PrevewMessages",
                ConfirmationMessage = null,
                Id      = "popupWindowShowAction_PrevewMessages",
                ToolTip = null,
            };

            simpleAction_PrevewMessages = new DevExpress.ExpressApp.Actions.SimpleAction(components)
            {
                Id = nameof(simpleAction_PrevewMessages)
            };
            simpleAction_PrevewMessages.Execute += SimpleAction_PrevewMessages_Execute;


            popupWindowShowAction_PrevewMessages.Execute += PopupWindowShowAction_PrevewMessages_Execute;

            Actions.Add(this.popupWindowShowAction_PrevewMessages);
            Actions.Add(simpleAction_PrevewMessages);
        }
Example #2
0
 private void InitializeComponent()
 {
     components = new System.ComponentModel.Container();
     simpleAction_ClearExceptions                     = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     simpleAction_ClearExceptions.Caption             = "Clear Exceptions";
     simpleAction_ClearExceptions.ConfirmationMessage = "Are You Sure?";
     simpleAction_ClearExceptions.Id                  = "simpleAction_ClearExceptions";
     simpleAction_ClearExceptions.ToolTip             = null;
     simpleAction_ClearExceptions.Execute            += SimpleAction_EditDashboard_Execute;
     Actions.Add(simpleAction_ClearExceptions);
 }
Example #3
0
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            simpleAction_GenerateMessages = new DevExpress.ExpressApp.Actions.SimpleAction(this.components)
            {
                Caption             = "GenerateMessages",
                ConfirmationMessage = null,
                Id      = "simpleAction_GenerateSms",
                ToolTip = null
            };

            simpleAction_GenerateMessages.Execute += SimpleAction_GenerateMessages_Execute;
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.recylcleBinSingleChoiceAction = new DevExpress.ExpressApp.Actions.SingleChoiceAction(this.components);
     this.restoreFormRecycleBinsimpleAction = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     //
     // recylcleBinSingleChoiceAction
     //
     this.recylcleBinSingleChoiceAction.Caption = "Filter";
     this.recylcleBinSingleChoiceAction.Id = "recylcleBinSingleChoiceAction";
     this.recylcleBinSingleChoiceAction.Execute += new DevExpress.ExpressApp.Actions.SingleChoiceActionExecuteEventHandler(this.recylcleBinSingleChoiceAction_Execute);
     //
     // restoreFormRecycleBinsimpleAction
     //
     this.restoreFormRecycleBinsimpleAction.Caption = "restore";
     this.restoreFormRecycleBinsimpleAction.Id = "restoreFormRecycleBinsimpleAction";
     this.restoreFormRecycleBinsimpleAction.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.restoreFormRecycleBinsimpleAction_Execute);
 }
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.ShowHelpAction = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     //
     // ShowHelpAction
     //
     this.ShowHelpAction.Caption = "Help";
     this.ShowHelpAction.Category = "About";
     this.ShowHelpAction.ConfirmationMessage = null;
     this.ShowHelpAction.Id = "ShowHelpAction";
     this.ShowHelpAction.ImageName = null;
     this.ShowHelpAction.Shortcut = null;
     this.ShowHelpAction.Tag = null;
     this.ShowHelpAction.TargetObjectsCriteria = null;
     this.ShowHelpAction.TargetViewId = null;
     this.ShowHelpAction.ToolTip = null;
     this.ShowHelpAction.TypeOfView = null;
     this.ShowHelpAction.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.ShowHelpAction_Execute);
 }
Example #6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.ExpressApp.Actions.SimpleAction simpleAction1;
     simpleAction1 = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     //
     // simpleAction1
     //
     simpleAction1.Caption             = "simple Action 1";
     simpleAction1.Category            = "RecordEdit";
     simpleAction1.ConfirmationMessage = null;
     simpleAction1.Id       = "simpleAction1";
     simpleAction1.ToolTip  = null;
     simpleAction1.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.simpleAction1_Execute);
     //
     // OrderOperationController
     //
     this.Actions.Add(simpleAction1);
     this.TargetObjectType = typeof(Stajirovka2.Module.BusinessObjects.Stajirovka.OrderOperation);
     this.TargetViewType   = DevExpress.ExpressApp.ViewType.ListView;
     this.TypeOfView       = typeof(DevExpress.ExpressApp.ListView);
 }
Example #7
0
        public CheckMemoryController()
        {
            startTrackMemoryAction          = new DevExpress.ExpressApp.Actions.SimpleAction(this, "StartTrackMemory", PredefinedCategory.Tools);
            startTrackMemoryAction.Caption  = "StartTrackMemory";
            startTrackMemoryAction.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(action_Execute);

            maxMemoryAction          = new DevExpress.ExpressApp.Actions.ParametrizedAction(this, "MaxMemory", PredefinedCategory.Tools, typeof(int));
            maxMemoryAction.Caption  = "MaxMemory";
            maxMemoryAction.Execute += new DevExpress.ExpressApp.Actions.ParametrizedActionExecuteEventHandler(maxMemoryAction_Execute);

            usedKBAction          = new DevExpress.ExpressApp.Actions.ParametrizedAction(this, "UsedKB", PredefinedCategory.Tools, typeof(int));
            usedKBAction.Caption  = "UsedKB";
            usedKBAction.Execute += UsedKBAction_Execute;

            endTrackMemoryAction          = new DevExpress.ExpressApp.Actions.SimpleAction(this, "EndTrackMemory", PredefinedCategory.Tools);
            endTrackMemoryAction.Caption  = "EndTrackMemory";
            endTrackMemoryAction.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(endTrackMemoryAction_Execute);

            showMemoryAction          = new DevExpress.ExpressApp.Actions.SimpleAction(this, "showMemoryAction", PredefinedCategory.Tools);
            showMemoryAction.Caption  = "showMemoryAction";
            showMemoryAction.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(actionShowMemory_Execute);
        }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.MoveUp = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     this.MoveDown = new DevExpress.ExpressApp.Actions.SimpleAction(this.components);
     //
     // MoveUp
     //
     this.MoveUp.Caption = "Up";
     this.MoveUp.Category = "Edit";
     this.MoveUp.ConfirmationMessage = null;
     this.MoveUp.Id = "ReportWizardBlockUp";
     this.MoveUp.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject;
     this.MoveUp.TargetObjectType = typeof(Aurum.Reports.ReportWizardBlock);
     this.MoveUp.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
     this.MoveUp.ToolTip = null;
     this.MoveUp.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
     this.MoveUp.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.MoveUp_Execute);
     //
     // MoveDown
     //
     this.MoveDown.Caption = "Down";
     this.MoveDown.Category = "Edit";
     this.MoveDown.ConfirmationMessage = null;
     this.MoveDown.Id = "ReportWizardBlockDown";
     this.MoveDown.SelectionDependencyType = DevExpress.ExpressApp.Actions.SelectionDependencyType.RequireSingleObject;
     this.MoveDown.TargetObjectType = typeof(Aurum.Reports.ReportWizardBlock);
     this.MoveDown.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
     this.MoveDown.ToolTip = null;
     this.MoveDown.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
     this.MoveDown.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.MoveDown_Execute);
     //
     // ReportWizardBlockController
     //
     this.TargetObjectType = typeof(Aurum.Reports.ReportWizardBlock);
     this.TargetViewType = DevExpress.ExpressApp.ViewType.ListView;
     this.TypeOfView = typeof(DevExpress.ExpressApp.ListView);
 }
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            components = new System.ComponentModel.Container();
            simpleAction_AddDataSource = new DevExpress.ExpressApp.Actions.SimpleAction(this.components)
            {
                Caption             = "AddDataSource",
                ConfirmationMessage = null,
                Id      = "simpleAction_AddDataSource",
                ToolTip = null
            };
            simpleAction_AddDataSource.Execute += new DevExpress.ExpressApp.Actions.SimpleActionExecuteEventHandler(this.simpleAction_AddDataSource_Execute);

            simpleAction_EditDataSource = new DevExpress.ExpressApp.Actions.SimpleAction(this.components)
            {
                Caption             = "EditDataSource",
                ConfirmationMessage = null,
                Id      = "simpleAction_EditDataSource",
                ToolTip = null
            };
            simpleAction_EditDataSource.Execute += SimpleAction_EditDataSource_Execute;

            Actions.Add(simpleAction_AddDataSource);
            Actions.Add(simpleAction_EditDataSource);
        }
 public ColumnWidthController()
 {
     InitializeComponent();
     // Target required Views (via the TargetXXX properties) and create their Actions.
     this.bestfit = new DevExpress.ExpressApp.Actions.SimpleAction(this, "SyncWidth", DevExpress.Persistent.Base.PredefinedCategory.View);
 }