예제 #1
0
 public Cloud_Controler(Controlers control)
 {
     this.control        = control;
     this.matrix         = new double[4][];
     newsCount           = STATICS.NEWS_NUMBER;
     this.cloudControler = control.MainWindow.CloudWindow.WordCloud.Controler;
     for (int i = 0; i < matrix.Length; i++)
     {
         matrix[i] = new double[newsCount];
     }
 }
예제 #2
0
 internal void Start(String layoutFile)
 {
     InitializeViews();
     fileName   = layoutFile;
     Controlers = new Controlers(this);
     Controlers.Initialize();
     Loaders = new Loaders(this);
     Loaders.Initialize(layoutFile);
     this.Visibility = Visibility.Visible;
     if (STATICS.SCREEN_NUM == 2)
     {
         cloudWindow.Visibility = Visibility.Visible;
     }
 }
예제 #3
0
        public User_Controler(Controlers control)
        {
            this.control = control;
            User user = new User();

            user.Name      = "Alex";
            user.UserColor = STATICS.USER_COLOR["Alex"];
            userList.Add("Alex", user);
            user           = new User();
            user.Name      = "Ben";
            user.UserColor = STATICS.USER_COLOR["Ben"];
            userList.Add("Ben", user);
            user           = new User();
            user.Name      = "Chris";
            user.UserColor = STATICS.USER_COLOR["Chris"];
            userList.Add("Chris", user);
            user           = new User();
            user.Name      = "Danny";
            user.UserColor = STATICS.USER_COLOR["Danny"];
            userList.Add("Danny", user);
        }
 /// <summary>
 /// Store and manage the sorting groups
 /// </summary>
 /// <param name="gestureControler">The one created in the MainWindow</param>
 public Sorting_Group_Controler(Controlers control)
 {
     this.control = control;
 }
예제 #5
0
 public Card_Controler(Controlers control)
 {
     this.Control = control;
 }
예제 #6
0
 public Touch_Controler(Controlers control)
 {
     this.control = control;
 }
 public Gesture_Controler(Controlers control)
 {
     this.control = control;
 }