예제 #1
0
파일: Table.cs 프로젝트: humiao/langren
 public static Table GetOneTable(bool hasCaptain = true, int lastWordsCount = 2)
 {
     var t = new Table();
     t.TheContext = new Context();
     t.TheContext.LastWordsCount = lastWordsCount;
     t.hasCaptain = hasCaptain;
     return t;
 }
예제 #2
0
        public void UpdateTableScaleX(string id, int value)
        {
            Table t = tables[id];

            t.ScaleX = value;
        }
예제 #3
0
        public void UpdateTableShape(string id, TableShape shape)
        {
            Table t = tables[id];

            t.Shape = shape;
        }
예제 #4
0
        public void UpdateTableColor(string id, string color)
        {
            Table t = tables[id];

            t.Color = color;
        }
예제 #5
0
        public void UpdateTableName(string id, string name)
        {
            Table t = tables[id];

            t.Text = name;
        }
예제 #6
0
        public void UpdateTableRotateAngle(string id, int value)
        {
            Table t = tables[id];

            t.RotateAngle = value;
        }