Ejemplo n.º 1
0
        public override void initialize(URL url, ResourceBundle rb)
        {
            try
            {
                // TODO
                nextFxml = FXMLLoader.load(this.GetType().getResource("/uncolored/views/NewAnalysis_1.fxml"));
            }
            catch (IOException ex)
            {
//JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method:
                Logger.getLogger(typeof(NewAnalysisController).FullName).log(Level.SEVERE, null, ex);
            }
        }
Ejemplo n.º 2
0
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#:
//ORIGINAL LINE: public void start(javafx.stage.Stage stage) throws Exception
        public override void start(Stage stage)
        {
            Parent root  = FXMLLoader.load(this.GetType().getResource("/uncolored/views/Dashboard.fxml"));
            Scene  scene = new Scene(root);

            stage.Scene = scene;
            stage.Title = "Uncolored";
            stage.initStyle(StageStyle.UTILITY);
            stage.MinWidth  = 980.0;
            stage.MinHeight = 680;
            stage.Width     = 980.0;
            stage.Height    = 680;
            stage.show();
        }
Ejemplo n.º 3
0
        public override void initialize(URL url, ResourceBundle rb)
        {
            try
            {
                current              = FXMLLoader.load(this.GetType().getResource("/uncolored/views/Current.fxml"));
                newAnalysis          = FXMLLoader.load(this.GetType().getResource("/uncolored/views/NewAnalysis.fxml"));
                savedAnalysis        = FXMLLoader.load(this.GetType().getResource("/uncolored/views/SavedAnalysis.fxml"));
                baselineAnalysis     = FXMLLoader.load(this.GetType().getResource("/uncolored/views/BaselineAnalysis.fxml"));
                setting              = FXMLLoader.load(this.GetType().getResource("/uncolored/views/Setting.fxml"));
                content.Children.All = current;
            }
            catch (IOException ex)
            {
//JAVA TO C# CONVERTER WARNING: The .NET Type.FullName property will not always yield results identical to the Java Class.getName method:
                Logger.getLogger(typeof(DashboardController).FullName).log(Level.SEVERE, null, ex);
            }
        }