Exemplo n.º 1
0
 public FolderRow(string UserID, string UserName, FolderDataFolderListFolder VM, EventHandler <DictionaryEventArgas> callback)
 {
     InitializeComponent();
     this.UserID    = UserID;
     this.UserName  = UserName;
     this.VM        = VM;
     this.dictEvent = callback;
     this.Loaded   += LawRow_Loaded;
 }
Exemplo n.º 2
0
        private void ChangeBackground(object sender, DictionaryEventArgas e)
        {
            nowVM = e.dict["FolderVM"] as FolderDataFolderListFolder;

            foreach (var item in SP.Children.OfType <JoinRow>())
            {
                item.Background = ColorTool.HexColorToBrush("#00A2C2");
            }
        }
Exemplo n.º 3
0
 public FolderRoom(string UserID, string UserPWD, FolderDataFolderListFolder VM, EventHandler <DictionaryEventArgas> callback, Action <bool> DelAction, Action <bool> RenameAction, Func <List <string> > GetList)
 {
     InitializeComponent();
     this.UserID        = UserID;
     this.UserPWD       = UserPWD;
     this.VM            = VM;
     this.dictEvent     = callback;
     this.Loaded       += MeetingRoom_Loaded;
     this.Unloaded     += MeetingRoom_Unloaded;
     this.DelAction    += DelAction;
     this.RenameAction += RenameAction;
     this.GetList       = GetList;
 }