Beispiel #1
0
        // Constructor for movablecastextview, used for taskgen
        public MovableCasTextView(string TaskString)
        {
            id_ = ID++;

            textview = new CasTextView(TaskString);
            textview.WidthRequest  = 300;
            textview.HeightRequest = 40;

            Attach(textview, 1, 1, 1, 2);
        }
Beispiel #2
0
        public MovableCasTextView(string serializedString, bool locked)
        {
            id_ = ID++;

            textview = new CasTextView(serializedString, locked);
            textview.WidthRequest  = 300;
            textview.HeightRequest = 40;

            Attach(textview, 1, 1, 1, 2);
        }