public override void Destroy() { sfGrid.Dispose(); sfGrid = null; this.viewmodel.Dispose(); this.viewmodel = null; }
protected override void Dispose(bool disposing) { SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); base.Dispose(disposing); SfGrid = null; }
protected override void Dispose(bool disposing) { if (disposing) { if (exportPDfImage != null) { exportPDfImage.TouchDown -= ExportToPdf; exportPDfImage = null; } if (exportPdf != null) { exportPdf.TouchDown -= ExportToPdf; exportPdf = null; } if (exportExcelImage != null) { exportExcelImage.TouchDown -= ExportToExcel; exportExcelImage = null; } if (exportExcel != null) { exportExcel.TouchDown -= ExportToExcel; exportExcel = null; } if (SfGrid != null) { SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); } excelView = null; pdfView = null; SfGrid = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { //sfPopUp.DismissPopup(true); if (backgroundView != null) { mainView.WillRemoveSubview(backgroundView); mainView.SendSubviewToBack(backgroundView); sfPopUp.RemoveFromSuperview(); backgroundView.BackgroundColor = UIColor.Brown; backgroundView.UserInteractionEnabled = false; backgroundView.Frame = new CGRect(0, 0, 0, 0); backgroundView.RemoveFromSuperview(); nextButton.RemoveFromSuperview(); backgroundView = null; } base.Dispose(disposing); if (SfGrid != null) { SfGrid.Dispose(); } if (sfPopUp != null) { sfPopUp.Dispose(); } mainView = null; }
protected override void Dispose(bool disposing) { base.Dispose(disposing); SfGrid.Dispose(); pullToRefresh.Refreshing -= PullToRefresh_Refreshing; pullToRefresh.Dispose(); }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; sfGrid.Dispose(); sfGrid = null; viewModel = null; }
public override bool OnOptionsItemSelected(IMenuItem item) { switch (item.ItemId) { case Resource.Id.exportToExcel: ExportToExcel(); return(true); case Resource.Id.resetBT: StartActivity(new Intent(this, typeof(MainActivity))); if (TableData != null) { TableData.Dispose(); } if (Graph != null) { Graph.Dispose(); } ODA = null; RA = null; Finish(); return(true); default: return(false); } }
public override void Destroy() { this.sfGrid.QueryRowHeight -= HandleQueryRowHeightEventHandler; sfGrid.Dispose(); sfGrid = null; viewModel = null; }
public override void Destroy() { sfGrid.Dispose(); sfGrid = null; itemViewModel = null; base.Destroy(); }
public override void Destroy() { sfGrid.Dispose(); sfGrid = null; viewModel = null; pullToRefresh.Refreshing -= Pull_Refreshing; pullToRefresh = null; }
protected override void Dispose(bool disposing) { exportPDfImage.TouchDown -= ExportToPdf; exportPdf.TouchDown -= ExportToPdf; exportExcelImage.TouchDown -= ExportToExcel; exportExcel.TouchDown -= ExportToExcel; SfGrid.Dispose(); base.Dispose(disposing); }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; sfGrid.Dispose(); sfGrid = null; allowsorting = null; allowtristatesorting = null; allowMultiSorting = null; allowsortingforSupplierID = null; viewModel = null; }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridGenerateColumns; sfGrid.Dispose(); sfGrid = null; viewModel = null; defaultStyle = null; darkStyle = null; blueStyle = null; redStyle = null; greenStyle = null; }
protected override void Dispose(bool disposing) { if (disposing) { if (SfGrid != null) { SfGrid.Dispose(); SfGrid = null; } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (SfGrid != null) { SfGrid.QueryRowHeight -= GridQueryRowHeight; SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); SfGrid = null; } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (sfGrid != null) { sfGrid.Dispose(); } viewmodel = null; sfGrid = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (sfGrid != null) { sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; sfGrid.Dispose(); sfGrid = null; } viewModel = null; } base.Dispose(disposing); }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumn; sfGrid.Dispose(); conditionDropdown = null; columnDropdown = null; filterText = null; columnTextView = null; conditionTextView = null; sfGrid = null; viewModel = null; condtionAdapter = null; gridlayout.RemoveAllViews(); gridlayout = null; }
protected override void Dispose(bool disposing) { if (disposing) { if (sfGrid != null) { sfGrid.GridLoaded -= DataGrid_GridLoaded; sfGrid.Dispose(); } frozenView = null; viewModel = null; sfGrid = null; } base.Dispose(disposing); }
public void Dispose() { //Disposes objects if (predictedWineTypes != null) { predictedWineTypes.Clear(); } if (InputRecords != null) { InputRecords.SelectedItem = -1; } if (SfDataGrid != null) { SfDataGrid.ItemsSource = null; SfDataGrid.Dispose(); } if (!Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons")) { this.InputRecords.Loaded -= InputRecords_Loaded; this.InputRecords.SelectionChanged -= InputRecords_SelectionChanged; this.sfDataPager.Loaded -= sfDataPager_Loaded; this.sfDataPager.PageIndexChanged -= sfDataPager_PageIndexChanged; this.StackingColumnSeries3.Loaded -= StackingColumnSeries_Loaded; this.analyticsTabControl.SelectionChanged -= analyticsTabControl_SelectionChanged; visualizeTab.Dispose(); predictedResultTab.Dispose(); rTab.Dispose(); cSharpTab.Dispose(); pmmlTab.Dispose(); analyticsTabControl.Items.Clear(); analyticsTabControl = null; this.sfDataPager = null; statisticsTab.Dispose(); this.tabControl.Dispose(); this.BusyIndicator.Dispose(); inputDataTable.Dispose(); outputTable.Dispose(); } viewModel.Dispose(); viewModel = null; this.SfChart = null; this.StackingColumnSeries1 = null; this.StackingColumnSeries2 = null; this.StackingColumnSeries3 = null; this.ChartLegend1 = null; this.primaryAxis = null; this.SecondaryAxis = null; }
protected override void Dispose(bool disposing) { if (disposing) { if (SfGrid != null) { SfGrid.Dispose(); } if (pullToRefresh != null) { pullToRefresh.Refreshing -= PullToRefresh_Refreshing; pullToRefresh.Dispose(); } } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (SfDataPager != null) { SfDataPager = null; } if (SfGrid != null) { SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); SfGrid = null; } } base.Dispose(disposing); }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridGenerateColumns; allowsorting.CheckedChange -= OnAllowSortingChanged; allowResizing.CheckedChange -= OnAllowResizingChanged; allowEditing.CheckedChange -= OnAllowEditingChanged; allowRowDragAndDrop.CheckedChange -= OnAllowRowDragAndDropChanged; imageView = null; anim = null; backgroundView = null; viewModel = null; allowEditing = null; allowResizing = null; allowRowDragAndDrop = null; allowsorting = null; sfGrid.Dispose(); sfGrid = null; }
public void Dispose() { //Disposes objects if (recommendedItemCollection != null) { recommendedItemCollection.Clear(); } if (Transactions != null) { Transactions.SelectedItem = -1; this.Transactions.Loaded -= Transactions_Loaded; this.Transactions.SelectionChanged -= Transactions_SelectionChanged; } if (SfDataGrid != null) { SfDataGrid.ItemsSource = null; SfDataGrid.Dispose(); } if (!Windows.Foundation.Metadata.ApiInformation.IsTypePresent("Windows.Phone.UI.Input.HardwareButtons")) { this.sfDataPager.Loaded -= sfDataPager_Loaded; this.sfDataPager.OnDemandLoading -= sfDataPager_OnDemandLoading; this.analyticsTabControl.SelectionChanged -= analyticsTabControl_SelectionChanged; outputTable.Dispose(); visualizeTab.Dispose(); predictedResultTab.Dispose(); rTab.Dispose(); cSharpTab.Dispose(); pmmlTab.Dispose(); analyticsTabControl.Items.Clear(); analyticsTabControl = null; this.sfDataPager = null; statisticsTab.Dispose(); inputDataTable.Dispose(); this.tabControl.Dispose(); this.BusyIndicator.Dispose(); } viewModel.Dispose(); viewModel = null; this.SfChart = null; this.categoricalAxis = null; this.numericalAxis = null; this.StackingColumnSeries = null; }
private void RandomForest_Unloaded(object sender, RoutedEventArgs e) { //Disposes objects on page unload if (predictedSpeciesCollection != null) { predictedSpeciesCollection.Clear(); } if (InputRecords != null) { InputRecords.SelectedItem = -1; } if (SfDataGrid != null) { SfDataGrid.Dispose(); } viewModel.Dispose(); statisticsTab.Dispose(); visualizeTab.Dispose(); }
protected override void Dispose(bool disposing) { if (disposing) { if (segmentControl != null) { segmentControl.ValueChanged -= SegmentControl_ValueChanged; } if (SfGrid != null) { SfGrid.GridViewCreated -= SfGrid_GridViewCreated; SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); } segmentControl = null; viewmodel = null; SfGrid = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { if (disposing) { if (searchbar != null) { searchbar.OnEditingStarted -= HandleOnEditingStarted; searchbar.TextChanged -= HandleTextChanged; searchbar.CancelButtonClicked -= HandleCancelButtonClicked; } if (SfGrid != null) { SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns; SfGrid.Dispose(); } searchbar = null; option = null; viewmodel = null; SfGrid = null; } base.Dispose(disposing); }
public override void Destroy() { sfGrid.AutoGeneratingColumn -= GridGenerateColumns; allowsorting.CheckedChange -= OnAllowSortingChanged; allowResizing.CheckedChange -= OnAllowResizingChanged; allowEditing.CheckedChange -= OnAllowEditingChanged; allowRowDragAndDrop.CheckedChange -= OnAllowRowDragAndDropChanged; sfPopUp.Opened -= SfPopUp_PopupOpened; sfPopUp.Closed -= SfPopUp_PopupClosed; imageView = null; sfPopUp.PopupView.ClearAnimation(); anim = null; backgroundView = null; sfPopUp.Dispose(); sfPopUp = null; viewModel = null; allowEditing = null; allowResizing = null; allowRowDragAndDrop = null; allowsorting = null; sfGrid.Dispose(); sfGrid = null; }
protected override void Dispose(bool disposing) { if (disposing) { if (save != null) { save.TouchDown -= Save_TouchDown; } if (cancel != null) { cancel.TouchDown -= Cancel_TouchDown; } if (SfGrid != null) { SfGrid.SwipeEnded -= SfGrid_SwipeEnded; SfGrid.SwipeStarted -= SfGrid_SwipeStarted; SfGrid.GridTapped -= SfGrid_GridTapped; SfGrid.GridLongPressed -= SfGrid_GridLongPressed; SfGrid.Dispose(); } col1 = null; col2 = null; col3 = null; col4 = null; orderIDText = null; customerIDText = null; employeeIDText = null; nameText = null; save = null; cancel = null; viewModel = null; detailView = null; SfGrid = null; } base.Dispose(disposing); }
protected override void Dispose(bool disposing) { SfGrid.Dispose(); base.Dispose(disposing); }