示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Main"/> class.
 /// </summary>
 public Main()
 {
     InitializeComponent();
     this.SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
     TagsNumber            = 20;
     GroupsNumber          = 20;
     ControlPanelNumber    = 5;
     publicationController = new XareuWFClient.Controller.PublicationController();
     tagController         = new Controller.TagsController();
     groupController       = new Controller.GroupController();
     userController        = new Controller.UsersController();
     tagsController        = new Controller.TagsController();
     this.Session          = new Model.Session.Session(this, this.bTabsMain);
     this.Session.Logged   = false;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubscribeToTag"/> class.
 /// </summary>
 public SubscribeToTag()
 {
     InitializeComponent();
     tagController = new Controller.TagsController();
 }