예제 #1
0
 public virtual void Apply(ref ScrapBase scrap)
 {
     try
     {
         scrap.ApplyStyles(this.Items, Point.Empty);
     }
     catch (Exception exception)
     {
         Console.WriteLine("CStyle Apply Exception:" + exception.Message);
     }
 }
예제 #2
0
 public virtual void Apply(ref ScrapBase scrap, Point clickpoint)
 {
     try
     {
         scrap.ApplyStyles(this, clickpoint);
     }
     catch (Exception exception)
     {
         Console.WriteLine("CStyle Apply Exception:" + exception.Message);
     }
 }
예제 #3
0
 private void CompactScrap_DoubleClick(object sender, EventArgs e)
 {
     _scrap.ApplyStyles(null, Point.Empty);
     this._thumbnail.Dispose();
     base.Close();
 }