public void Start()
 {
     Controller.Instance.ConfirmationPopup.Show("<align=\"center\"><#827157>,,<#12c7ce>" + Pattern.Name + "<#827157>‘‘\r\nwill be removed. Continue?", () => {
         Pattern.Empty();
         _IsFinished = true;
     }, () => {
         _IsFinished = true;
     });
 }
Beispiel #2
0
    public void Clear()
    {
        var p = new DesignPattern();

        p.Type   = this.Type;
        p.IsPro  = this.Type != DesignPattern.TypeEnum.SimplePattern;
        p.Pixels = new byte[p.Width / 2 * p.Height];
        p.Empty();
        Colors = p.GetPixels();
        Load();
    }