Пример #1
0
        /********************* Start EVENT section*************************************/

        private void Frm_CustomMasking_Load(object sender, EventArgs e)
        {
            Global_GUI.RestoreWindowState(this);
            this._maskfilename = AITOOL.GetMaskFile(this.Cam.Name);
            this.Text          = "Custom Masking - " + this._maskfilename;

            if (!File.Exists(this._maskfilename))
            {
                this.Text += " (Missing)";
            }

            this.BrushSize          = this.Cam.mask_brush_size;
            this.numBrushSize.Value = this.Cam.mask_brush_size;
            this.ShowImage();
        }