Exemplo n.º 1
0
 public GroupBox()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
     mGroupBox = null;
     mText = null;
 }
Exemplo n.º 2
0
 public TextLabel()
 {
     mLabel = null;
     mSize = null;
     mName = null;
     mPoint = null;
 }
Exemplo n.º 3
0
 public RadioButton()
 {
     mRadioButton = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mContain = null;
     mText = null;
 }
Exemplo n.º 4
0
 public Panel()
 {
     mBackColor = null;
     mDockStyle = @"None";
     mAutoScroll = false;
     mPanel = null;
     mSize = null;
 }
Exemplo n.º 5
0
 public TextBox()
 {
     mTextChangedCommand = null;
     mTextChangedCmd = null;
     mTextBox = null;
     mPoint = null;
     mSize = null;
     mText = null;
 }
Exemplo n.º 6
0
 public RadioButtonEx()
 {
     mCheckCommand = null;
     mCheckCmd = null;
     mRadioButton = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mContain = null;
     mText = null;
 }
Exemplo n.º 7
0
 public ComboBox()
 {
     mComboBoxItems = new List<ComboBoxItem>();
     mCommands = new List<ICommand>();
     m_tSelectTextSlot = null;
     mPoint = new Point2I();
     mSize = new Size2I();
     mComboBox = null;
     mContain = null;
     mEnable = true;
 }
Exemplo n.º 8
0
 public Button()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
     mCommand = null;
     mOnClick = null;
     mButton = null;
     mContain = null;
     mText = null;
     mEnable = true;
 }
Exemplo n.º 9
0
 public TreeView()
 {
     mShowRootLines = false;
     mDockStyle = @"None";
     mInitCommand = null;
     mInitCmd = null;
     mTreeView = null;
     mContain = null;
     mSize = null;
     mLoadCommand = null;
     mLoadCmd = null;
     mTreeNodes = new List<ITreeNode>();
 }
Exemplo n.º 10
0
 public ListView()
 {
     mDockStyle = @"None";
     mViewStyle = "List";
     mContain = null;
     mInitCommand = null;
     mInitCmd = null;
     mLoadCommand = null;
     mLoadCmd = null;
     mItemActivateCommand = null;
     mItemActivateCmd = null;
     mSelectedIndexChangedCommand = null;
     mSelectedIndexChangedCmd = null;
     mSize = null;
 }
Exemplo n.º 11
0
Arquivo: Form.cs Projeto: zyouhua/nvwa
 public Form()
 {
     m_tSerializeTypeSlot = null;
     m_tHeadSerializeSlot = null;
     mForm = null;
     mSize = null;
     mCaption = null;
     mStartPosition = null;
     mBorderStyle = null;
     mIconUrl = null;
     mTag = null;
     mInitCommand = null;
     mInitCmd = null;
     mLoadCommand = null;
     mLoadCmd = null;
 }
Exemplo n.º 12
0
        public Rect2I(Point2I nPoint, Size2I nSize)
        {
            Point2I point_ = new Point2I();
            point_._setX(nPoint._getX() + nSize._getWidth());
            point_._setY(nPoint._getY() + nSize._getHeight());

            __tuple<Point2I, Point2I> tuple_ = nPoint._minMax(point_);
            Point2I min_ = tuple_._get_0();
            Point2I max_ = tuple_._get_1();

            Size2I size_ = new Size2I();
            size_._setWidth(max_._getX() - min_._getX());
            size_._setHeight(max_._getY() - min_._getY());

            mPoint = new Point2I(min_);
            mSize = new Size2I(size_);
        }
Exemplo n.º 13
0
        public Rect2I(int nX, int nY, int nWidth, int nHeight)
        {
            Point2I point0_ = new Point2I(nX, nY);
            Point2I point_ = new Point2I();
            point_._setX(nX + nWidth);
            point_._setY(nY + nHeight);

            __tuple<Point2I, Point2I> tuple_ = point0_._minMax(point_);
            Point2I min_ = tuple_._get_0();
            Point2I max_ = tuple_._get_1();

            Size2I size_ = new Size2I();
            size_._setWidth(max_._getX() - min_._getX());
            size_._setHeight(max_._getY() - min_._getY());

            mPoint = new Point2I(min_);
            mSize = new Size2I(size_);
        }
Exemplo n.º 14
0
 __tuple<Point2I, Size2I> _moveInfo(Point2I nPoint)
 {
     Point2I vector_ = nPoint._vectorFrom(mMouseDown);
     __tuple<Point2I, Point2I> tuple_ = this._moveMinMax();
     Point2I min_ = tuple_._get_0();
     Point2I max_ = tuple_._get_1();
     Size2I size_ = new Size2I();
     int width_ = max_._getX() - min_._getX();
     int height_ = max_._getY() - min_._getY();
     size_._setWidth(width_);
     size_._setHeight(height_);
     Point2I begin_ = new Point2I();
     if (vector_._getX() > 0)
     {
         begin_._setX(max_._getX());
     }
     else
     {
         begin_._setX(min_._getX());
     }
     if (vector_._getY() > 0)
     {
         begin_._setY(max_._getY());
     }
     else
     {
         begin_._setY(min_._getY());
     }
     Point2I end_ = begin_ + vector_;
     ScreenSingleton screenSingleton_ = __singleton<ScreenSingleton>._instance();
     end_ = screenSingleton_._normalPoint(end_);
     vector_ = end_ - begin_;
     return new __tuple<Point2I, Size2I>(vector_, size_);
 }
Exemplo n.º 15
0
        public Rect2I(Point2I nBeg, Point2I nEnd)
        {
            __tuple<Point2I, Point2I> tuple_ = nBeg._minMax(nEnd);
            Point2I min_ = tuple_._get_0();
            Point2I max_ = tuple_._get_1();

            Size2I size_ = new Size2I();
            size_._setWidth(max_._getX() - min_._getX());
            size_._setHeight(max_._getY() - min_._getY());

            mPoint = new Point2I(min_);
            mSize = new Size2I(size_);
        }
Exemplo n.º 16
0
 public void _setSize(Size2I nSize)
 {
     mSize._setWidth(nSize._getWidth());
     mSize._setHeight(nSize._getHeight());
 }
Exemplo n.º 17
0
 public Size2I _getSize()
 {
     Size2I result_ = new Size2I(mSize);
     return result_;
 }
Exemplo n.º 18
0
 public Rect2I()
 {
     mPoint = new Point2I();
     mSize = new Size2I();
 }
Exemplo n.º 19
0
 public Rect2I(Rect2I nRect)
 {
     mPoint = new Point2I(nRect._getPoint());
     mSize = new Size2I(nRect._getSize());
 }