private void CreateBuilder() { if (index == LBEffects.SelectedIndex) return; index = LBEffects.SelectedIndex; if (index == -1) return; builderobj = (IImageBuilder)dt.Rows[index][2]; builderobj.SetSourceImage(Source); option = (ImageOption)dt.Rows[index][3]; grid.SelectedObject = option; }
/// <summary> /// /// </summary> /// <param name="opetion"></param> /// <returns></returns> public virtual Image ProcessBitmap(ImageOption opetion) { SetOpetion(opetion); return ProcessBitmap(); }
/// <summary> /// /// </summary> protected virtual void InitOption() { if (Opetion == null) Opetion = new ImageOption(); }
private void CreateBuilder() { builderobj = comboBox1.SelectedValue as IImageBuilder; option = builderobj.CreateOption(); grid.SelectedObject = option; }