Пример #1
0
        public CaptionForm(CaptionFilter filterToEdit = null)
        {
            InitializeComponent();

            InputFilter = filterToEdit;

            previewFrame.Picture.Paint += new System.Windows.Forms.PaintEventHandler(this.previewPicture_Paint);
            previewFrame.Picture.MouseDown += new System.Windows.Forms.MouseEventHandler(this.previewPicture_MouseDown);
            previewFrame.Picture.MouseMove += new System.Windows.Forms.MouseEventHandler(this.previewPicture_MouseMove);
        }
Пример #2
0
        public CaptionForm(CaptionFilter filterToEdit = null)
        {
            InitializeComponent();

            InputFilter = filterToEdit;

            previewFrame.Picture.Paint     += new System.Windows.Forms.PaintEventHandler(this.previewPicture_Paint);
            previewFrame.Picture.MouseDown += new System.Windows.Forms.MouseEventHandler(this.previewPicture_MouseDown);
            previewFrame.Picture.MouseMove += new System.Windows.Forms.MouseEventHandler(this.previewPicture_MouseMove);
        }
Пример #3
0
 internal static void ResetFilters()
 {
     Caption      = null;
     Crop         = null;
     Deinterlace  = null;
     Denoise      = null;
     Dub          = null;
     Levels       = null;
     MultipleTrim = null;
     Overlay      = null;
     Resize       = null;
     Reverse      = null;
     Subtitle     = null;
     Trim         = null;
 }
Пример #4
0
        private void buttonConfirm_Click(object sender, EventArgs e)
        {
            GeneratedFilter = new CaptionFilter(point, boxText.Text, fontDialog1.Font, colorDialogTextColor.Color, colorDialogBorderColor.Color, (int)numericBorderThickness.Value);

            DialogResult = DialogResult.OK;
        }
Пример #5
0
        private void buttonConfirm_Click(object sender, EventArgs e)
        {
            GeneratedFilter = new CaptionFilter(point, boxText.Text, fontDialog1.Font, colorDialogTextColor.Color, colorDialogBorderColor.Color, (int)numericBorderThickness.Value);

            DialogResult = DialogResult.OK;
        }