This commit is contained in:
parent
4849d4aecf
commit
9cb6a48dee
@ -1518,38 +1518,52 @@ namespace Volian.Controls.Library
|
||||
{
|
||||
// create new rows before current position and copy clipboard data
|
||||
MyFlexGrid.ClipBoardPasteRows(VlnFlexGrid.enmPastePos.Before);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp!=null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteRowBelow_Click(object sender, EventArgs e)
|
||||
{
|
||||
// create new rows after current position and copy clipboard data
|
||||
MyFlexGrid.ClipBoardPasteRows(VlnFlexGrid.enmPastePos.After);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteReplaceRow_Click(object sender, EventArgs e)
|
||||
{
|
||||
// replace rows with current clipboard data starting as current row
|
||||
MyFlexGrid.ClipBoardPasteRows(VlnFlexGrid.enmPastePos.Replace);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteColumnLeft_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyFlexGrid.ClipBoardPasteColumns(VlnFlexGrid.enmPastePos.Before);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteColumnRight_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyFlexGrid.ClipBoardPasteColumns(VlnFlexGrid.enmPastePos.After);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteColumnReplace_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyFlexGrid.ClipBoardPasteColumns(VlnFlexGrid.enmPastePos.Replace);
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
private void btnTblDgnPasteIntoSelection_Click(object sender, EventArgs e)
|
||||
{
|
||||
MyFlexGrid.ClipBoardPasteIntoSelection();
|
||||
GridItem tmp = MyEditItem as GridItem;
|
||||
if (tmp != null) tmp.SavePastedCellRoTran();
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
Loading…
x
Reference in New Issue
Block a user