示例#1
0
 public ResizeControlState(Controls controls, StateManager stateManager, CommandManager commandManager, FlagPosition flagPosition)
 {
     m_flagPosition = flagPosition;
     m_controls = controls;
     m_stateManager = stateManager;
     m_commandManager = commandManager;
 }
示例#2
0
文件: StageForm.cs 项目: microm/eplib
        public StageForm()
        {
            InitializeComponent();

            m_resNames.Add("SVGA");         m_resolutions.Add(new TPoint(800, 600));
            m_resNames.Add("WVGA800");      m_resolutions.Add(new TPoint(800, 480));
            m_resNames.Add("WVGA854");      m_resolutions.Add(new TPoint(854, 480));
            m_resNames.Add("WXGA800");      m_resolutions.Add(new TPoint(1280, 800));
            m_resNames.Add("GalIII(?)");    m_resolutions.Add(new TPoint(1200, 720));
            m_resNames.Add("qHD");          m_resolutions.Add(new TPoint(960, 540));

            foreach( string res in m_resNames )
            {
                cmbResolution.Items.Add(res);
            }

            stagePanel.GuidTabSize = 50;

            stagePanel.SelectControlEventHandler += OnSelectControl;
            m_stateManager = new StateManager(m_commandManager, stagePanel);
        }
示例#3
0
文件: MoveState.cs 项目: microm/eplib
 public MoveState( Controls controls, StateManager stateManager, CommandManager commandManager )
 {
     m_controls = controls;
     m_stateManager = stateManager;
     m_commandManager = commandManager;
 }
示例#4
0
 public CreateControlState( BaseCreateControl createControlCommand, StateManager stateManager, CommandManager commandManager)
 {
     m_createCommand = createControlCommand;
     m_stateManager = stateManager;
     m_commandManager = commandManager;
 }
示例#5
0
文件: IdleState.cs 项目: microm/eplib
 public IdleState(StageBox editor, StateManager stateManager, CommandManager commandManager)
 {
     m_editPanel = editor;
     m_stateManager = stateManager;
     m_commandManager = commandManager;
 }