/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.grdRadGridView.Visibility == Visibility.Visible) { Flipper.FlipItem(this.grdRadGridView, this.grdRadChart); } else { Flipper.FlipItem(this.grdRadChart, this.grdRadGridView); } if (this.grdRadGridView.Visibility == Visibility.Visible) { this.txtADD.Visibility = Visibility.Visible; this.cmbAddSeries.Visibility = Visibility.Visible; this.btnAddToChart.Visibility = Visibility.Visible; this.itemDel.Visibility = Visibility.Visible; this.txtGadgetName.Visibility = Visibility.Visible; this.cbGadgetName.Visibility = Visibility.Visible; } else { this.txtADD.Visibility = Visibility.Collapsed; this.cmbAddSeries.Visibility = Visibility.Collapsed; this.btnAddToChart.Visibility = Visibility.Collapsed; this.itemDel.Visibility = Visibility.Collapsed; this.txtGadgetName.Visibility = Visibility.Collapsed; this.cbGadgetName.Visibility = Visibility.Collapsed; } }
/// <summary> /// Flipping between Grid & PieChart /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.crtRegionBreakdown.Visibility == System.Windows.Visibility.Visible) { Flipper.FlipItem(this.crtRegionBreakdown, this.dgRegionBreakdown); } else { Flipper.FlipItem(this.dgRegionBreakdown, this.crtRegionBreakdown); } }
/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.dgHoldingsPercentageRegion.Visibility == Visibility.Visible) { Flipper.FlipItem(this.dgHoldingsPercentageRegion, this.crtHoldingsPercentageRegion); } else { Flipper.FlipItem(this.crtHoldingsPercentageRegion, this.dgHoldingsPercentageRegion); } }
/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.chPCE.Visibility == System.Windows.Visibility.Visible) { Flipper.FlipItem(this.chPCE, this.dgPCE); } else { Flipper.FlipItem(this.dgPCE, this.chPCE); } }
/// <summary> /// btnFlip Click event handler /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.dgScatterGraph.Visibility == Visibility.Visible) { Flipper.FlipItem(this.dgScatterGraph, this.chScatter); } else { Flipper.FlipItem(this.chScatter, this.dgScatterGraph); } }
/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.grdRadGridView.Visibility == Visibility.Visible) { Flipper.FlipItem(this.grdRadGridView, this.grdRadChart); } else { Flipper.FlipItem(this.grdRadChart, this.grdRadGridView); } }
/// <summary> /// Flipping between Grid & PieChart /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.chartRelativerisk.Visibility == System.Windows.Visibility.Visible) { Flipper.FlipItem(this.chartRelativerisk, this.dgRelativeRisk); } else { Flipper.FlipItem(this.dgRelativeRisk, this.chartRelativerisk); } }
/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.chDividendYield.Visibility == System.Windows.Visibility.Visible) { Flipper.FlipItem(this.chDividendYield, this.dgDividendYield); } else { Flipper.FlipItem(this.dgDividendYield, this.chDividendYield); } }
/// <summary> /// Flipping between Grid & Chart /// Using the method FlipItem in class Flipper.cs /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void btnFlip_Click(object sender, RoutedEventArgs e) { if (this.dgEMSummaryMarketData.Visibility == System.Windows.Visibility.Visible) { Flipper.FlipItem(this.dgEMSummaryMarketData, this.dgEMSummaryMarketSSRData); } else { Flipper.FlipItem(this.dgEMSummaryMarketSSRData, this.dgEMSummaryMarketData); } }