Пример #1
0
 public DeletedTableSorce(List <DeletedTask> _deletedDataTasks, UINavigationController navigationController, UIStoryboard storyboard, Trash_Controler trash_Controler)
 {
     this._deletedDataTasks    = _deletedDataTasks;
     this.navigationController = navigationController;
     this.storyboard           = storyboard;
     this.trash_Controler      = trash_Controler;
 }
        void FnMenuSelected(string strMenuSeleted)
        {
            switch (strMenuSeleted)
            {
            case "Home":
                // txtActionBarText1.Text = "Note";
                this.NavigationController.PopViewController(false);
                break;

            case "Note":

                break;

            case "Trash":
                //  txtActionBarText1.Text = "Deleted Note";
                this.NavigationController.SetNavigationBarHidden(true, false);
                Trash_Controler trashController = this.Storyboard.InstantiateViewController("Trash_Controler") as Trash_Controler;
                this.NavigationController.PushViewController(trashController, true);

                break;

            case "Theme":
                // txtActionBarText1.Text = "Change Theme";
                break;
            }

            FnSwipeRightToLeft();
        }