Beispiel #1
0
 public Form1(DatasetHandler datasetHandler)
 {
     InitializeComponent();
     this.datasetHandler = datasetHandler;
     this.datasetHandler.SelectedImageChanged += OnSelectedImageChanged;
     numericUpDownRectHeight.Maximum           = 1000;
     numericUpDownRectWidth.Maximum            = 1000;
 }
Beispiel #2
0
        static void Main()
        {
            Application.SetHighDpiMode(HighDpiMode.SystemAware);
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var datasetHandler = new DatasetHandler();
            var form           = new Form1(datasetHandler);

            Application.Run(form);
        }