private void Edit()
        {
            if (ListBoxView.Items.Count == 0)
            {
                return;
            }
            object ob = ListBoxView.SelectedItem;

            //if do not selected value return
            if (ob == null)
            {
                return;
            }

            int id = (ob as Reception).id;

            Param.id         = id;
            Param.lastWindow = "ListReception";

            //Show window edit patient
            NewReception AddReceptionWindow = new NewReception();

            AddReceptionWindow.Owner = this;
            AddReceptionWindow.ShowDialog();

            ViewModel.Load();
        }
        private void Add()
        {
            //Show window Add patient
            NewReception AddReceptionWindow = new NewReception();

            AddReceptionWindow.Owner = this;
            AddReceptionWindow.ShowDialog();

            ViewModel.Load();
        }