public override void Destroy()
 {
     sfGrid.Dispose();
     sfGrid = null;
     this.viewmodel.Dispose();
     this.viewmodel = null;
 }
Example #2
0
 protected override void Dispose(bool disposing)
 {
     SfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns;
     SfGrid.Dispose();
     base.Dispose(disposing);
     SfGrid = null;
 }
Example #3
0
 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);
            }
        }
Example #8
0
 public override void Destroy()
 {
     this.sfGrid.QueryRowHeight -= HandleQueryRowHeightEventHandler;
     sfGrid.Dispose();
     sfGrid    = null;
     viewModel = null;
 }
Example #9
0
 public override void Destroy()
 {
     sfGrid.Dispose();
     sfGrid        = null;
     itemViewModel = null;
     base.Destroy();
 }
Example #10
0
 public override void Destroy()
 {
     sfGrid.Dispose();
     sfGrid    = null;
     viewModel = null;
     pullToRefresh.Refreshing -= Pull_Refreshing;
     pullToRefresh             = null;
 }
Example #11
0
 protected override void Dispose(bool disposing)
 {
     exportPDfImage.TouchDown   -= ExportToPdf;
     exportPdf.TouchDown        -= ExportToPdf;
     exportExcelImage.TouchDown -= ExportToExcel;
     exportExcel.TouchDown      -= ExportToExcel;
     SfGrid.Dispose();
     base.Dispose(disposing);
 }
Example #12
0
 public override void Destroy()
 {
     sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns;
     sfGrid.Dispose();
     sfGrid                    = null;
     allowsorting              = null;
     allowtristatesorting      = null;
     allowMultiSorting         = null;
     allowsortingforSupplierID = null;
     viewModel                 = null;
 }
Example #13
0
 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);
 }
Example #16
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (sfGrid != null)
                {
                    sfGrid.Dispose();
                }

                viewmodel = null;
                sfGrid    = null;
            }
            base.Dispose(disposing);
        }
Example #17
0
 protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (sfGrid != null)
         {
             sfGrid.AutoGeneratingColumn -= GridAutoGenerateColumns;
             sfGrid.Dispose();
             sfGrid = null;
         }
         viewModel = null;
     }
     base.Dispose(disposing);
 }
Example #18
0
 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);
 }
Example #20
0
 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;
 }
Example #21
0
 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);
 }
Example #22
0
 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;
 }
Example #24
0
 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();
 }
Example #26
0
 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);
 }
Example #27
0
 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);
 }
Example #28
0
 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;
 }
Example #29
0
        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);
        }
Example #30
0
 protected override void Dispose(bool disposing)
 {
     SfGrid.Dispose();
     base.Dispose(disposing);
 }