예제 #1
0
 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;
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="opetion"></param>
 /// <returns></returns>
 public virtual Image ProcessBitmap(ImageOption opetion)
 {
     SetOpetion(opetion);
     return ProcessBitmap();
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 protected virtual void InitOption()
 {
     if (Opetion == null) Opetion = new ImageOption();
 }
예제 #4
0
        private void CreateBuilder()
        {
            builderobj = comboBox1.SelectedValue as IImageBuilder;

            option = builderobj.CreateOption();
            grid.SelectedObject = option;
        }