Exemplo n.º 1
0
 public Manager(BlApi.IBl bl)
 {
     InitializeComponent();
     this.bl = bl;
     Config  = bl.GetConfig();
     ConfigList.ItemsSource = Config;
     cfgComboBox.Items.Add("עמלה ללילה");
     cfgComboBox.Items.Add("זמן המתנה");
     information();
     ConfigAction = new Action(information);
     bl.configHandler(ConfigAction);
 }
Exemplo n.º 2
0
        private bool isManager()
        {
            Dictionary <string, int> temp = bl.GetConfig();

            return(temp["Manager"] == CurrentPerson.Id);
        }