Exemplo n.º 1
0
 public OpenWindow(ChartData chartData, MainWindow mainWindow, Wpf.CartesianChart.GanttChart.GanttExample gantt)
 {
     InitializeComponent();
     this.chartData  = chartData;
     this.mainWindow = mainWindow;
     this.gantt      = gantt;
 }
Exemplo n.º 2
0
 public MainWindow()
 {
     InitializeComponent();
     this.chartData = new ChartData();
     this.gantt     = new Wpf.CartesianChart.GanttChart.GanttExample();
     FrameWithinGrid.Navigate(new System.Uri("UserControl.xaml", UriKind.RelativeOrAbsolute));
     FrameWithinGrid.Visibility = Visibility.Hidden;
 }
Exemplo n.º 3
0
 public AskSaveWindow(ChartData chartData, MainWindow mainWindow, Wpf.CartesianChart.GanttChart.GanttExample gantt)
 {
     this.mainWindow = mainWindow;
     this.gantt      = gantt;
     saveWindow      = new SaveWindow(chartData);
     this.chartData  = chartData;
     InitializeComponent();
 }
Exemplo n.º 4
0
 public EditWindow(ChartData chartData, MainWindow mainWindow, Wpf.CartesianChart.GanttChart.GanttExample gantt)
 {
     this.chartData  = chartData;
     this.mainWindow = mainWindow;
     this.gantt      = gantt;
     InitializeComponent();
     FillComboBoxHours();
     setButtonsAtStart();
     Activities.ItemsSource = chartData.GetActivities();
 }
Exemplo n.º 5
0
 public SavePngWindow(Wpf.CartesianChart.GanttChart.GanttExample gantt)
 {
     InitializeComponent();
     this.gantt = gantt;
 }