Exemple #1
0
 private void ClipBoardMenu_CopyFull_Click(object sender, EventArgs e)
 {
     LevelObj[] objs = new LevelObj[SelectionCount];
     for (int i = 0; i < objs.Length; i++)
     {
         objs[i] = SelectedObjs[i].Clone();
     }
     StoredValue = new ClipBoardItem()
     {
         Type = ClipBoardItem.ClipboardType.Objects, Objs = objs
     };
 }
Exemple #2
0
 private void ClipBoardMenu_CopyScale_Click(object sender, EventArgs e) =>
 StoredValue = new ClipBoardItem()
 {
     Type = ClipBoardItem.ClipboardType.Scale, transform = SelectedObj.transform
 };