public PostFee(IPostingComplete listener, MatterDetail matterDetail, MatterDTO matter, bool isUnbillable) : base(UITableViewStyle.Grouped, null) { this.matter = matter; this.matterDetail = matterDetail; this.isUnbillable = isUnbillable; this.listener = listener; BuildInterface (); GetTariffCodes (100, DataUtil.TARIFF_CODE_TYPE_FEES); }
public SplitController() : base() { // create our master and detail views matterDetail = new MatterDetail (this, masterView); masterView = new Finder (matterDetail); // create an array of controllers from them and then // assign it to the controllers property ViewControllers = new UIViewController[] { masterView, matterDetail }; // order is important }
//custom constructor public PagedViewController(SplitController splitController, Finder finder, MatterDetail matterDetail) { Console.WriteLine ("PagedViewController - loaded custom constructor"); this.finder = finder; this.matterDetail = matterDetail; this.splitController = splitController; _scrollView.DecelerationEnded += HandleScrollViewDecelerationEnded; _pageControl.ValueChanged += HandlePageControlValueChanged; // _scrollViewP.DecelerationEnded += HandleScrollViewDecelerationEndedPortrait; _pageControlP.ValueChanged += HandlePageControlValueChangedPortrait; }
private void startMatterSearch() { Console.WriteLine ("ProvisionDialog - startMatterSearch - normal work - device provisioned"); // splitViewController = new SplitController (); // var master = new MatterFinderController (splitViewController, null); // var detail = new MatterDetail (splitViewController, null, null, null); // splitViewController.setMatterControllers (master, detail); var finder = new Finder (matterDetail); matterDetail = new MatterDetail (split, finder); var detailNavigationController = new UINavigationController (matterDetail); var masterNavigationController = new UINavigationController (finder); split.WeakDelegate = matterDetail; split.ViewControllers = new UIViewController[] { masterNavigationController, detailNavigationController }; }
private void startMatterMain() { Console.WriteLine ("AppDelegate - startMatterMain - normal work"); matterDetail = new MatterDetail (splitViewController, finder); var detailNavigationController = new UINavigationController (matterDetail); finder = new Finder (matterDetail); var masterNavigationController = new UINavigationController (finder); splitViewController.WeakDelegate = matterDetail; splitViewController.ViewControllers = new UIViewController[] { masterNavigationController, detailNavigationController }; }
public Finder(MatterDetail matterDetail) : base(UITableViewStyle.Grouped, null) { this.matterDetail = matterDetail; BuildInterface (); }