コード例 #1
0
        public MultiscaleModelling()
        {
            InitializeComponent();
            Properties();
            neighbourhood.newTab();
            rand = new Random();

            g = VisualizationPictureBox.CreateGraphics();
            g.Clear(Color.Gray);
            VisualizationPictureBox.MouseClick += panel_MouseClick;
            Core.Main.colours.Add(Color.White);

            cb_Neighbourhood.SelectedIndex = 0;
            cb_SRX_method.SelectedIndex    = 0;
            srx.InitTab();
        }
コード例 #2
0
        public MultiscaleModelling()
        {
            InitializeComponent();
            Change_Properties();
            n.newTab();
            rand = new Random();

            g = VisualizationPictureBox.CreateGraphics();
            g.Clear(Color.White);
            VisualizationPictureBox.MouseClick += pictureBox1_MouseClick;
            Core.Config.colors.Add(Color.White);

            cb_Neighbourhood.SelectedIndex = 0;
            cb_SRX_method.SelectedIndex    = 0;
            srx.energyColorsAndTabInit();
        }