Пример #1
0
        public void Initialize(frmMain0 owener)
        {
            try
            {
                SetStyle(ControlStyles.OptimizedDoubleBuffer | ControlStyles.AllPaintingInWmPaint, true);
                this.owener = owener;

                graphicList = owener.UserSetting.GList;
                //Doc_Manager.drawAreaIsActive = true;
                activeObject = null;
                owener.UserSetting.showGrid  = false;
                owener.UserSetting.arondLine = true;
            }
            catch { }
        }
Пример #2
0
        //int printCount ;
        //int zeroNumber;
        //List<String> favFount;

        public userSetting()
        {
            //printCount = 1;
            //zeroNumber = 0;
            //favFount = new List<string>();
            GList                 = new graphicList();
            arondLine             = false;
            showGrid              = false;
            newObject             = false;
            drawArae_wight        = 0;
            drawArae_height       = 0;
            background_image_path = "";
            projectName           = "";
            projectPath           = "";
            paperName             = "";
        }