コード例 #1
0
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);

            material = new MoleculeDefaultMaterials();
            material.LoadModuleSettings(null);


            pictureBox1.Image = material.DrawPTToBitmap(this.Width, this.Height,
                                                        true, true, true, true, true,
                                                        out ptWidth, out ptHeight, out elWidth,
                                                        out elHeight, out tableOrigin);
        }