Example #1
0
        private void model_Load(object sender, EventArgs e)
        {
            util u1 = new util();

            //清空相关文件内容
            u1.Initial_File();
            c1 = new container();
            c1.GetOGL(ogl1);
            c1.START();
            ogl1.Set_model(c1);
            ogl1.PlotGL();
            this.KeyPreview = true;
        }
Example #2
0
        private void Net_Analysis_Load(object sender, EventArgs e)
        {
            util u1 = new util();

            //清空相关文件内容
            u1.Initial_File();
            c.START_Inmodel(ogl1);
            ogl1.PlotGL();
            de = new Delaunay_2D();
            de.GetOGL(ogl1);
            de.Get_initialpl(c.initial_pl);
            de.Get_initial_center(c.center);
            de.GetPL(c.Get_p_l());
            de.Start_step(num);
            ogl1.PlotGL();
            list_box_add();
            //add_text();
            this.KeyPreview = true;
        }