Example #1
0
 public Command_SK(string _TextCommand,Pattern _p)
 {
     TextCommand = _TextCommand;
     pattern = _p;
 }
Example #2
0
 public void SnapBack(Bitmap snap)
 {
     //snap.Save(patterns_path + rowIndex + ".png");
     //Resize
     //Set to Col & Index
     metroCommandGrid.Rows[rowIndex].Cells[4].Value = snap;
     Pattern p = new Pattern(snap);
     command_table.SetCommand(new Command_SK(metroCommandGrid.Rows[rowIndex].Cells[1].Value.ToString(), p), rowIndex);
 }