예제 #1
0
 public SelectRowsManuallyControl(IMatrixData mdata, Action <IData> createNewMatrix)
 {
     InitializeComponent();
     this.mdata                      = mdata;
     this.createNewMatrix            = createNewMatrix;
     tableView1.TableModel           = new MatrixDataTable(mdata);
     removeSelectedRowsButton.Click += RemoveSelectedRowsButton_OnClick;
     keepSelectedRowsButton.Click   += KeepSelectedRowsButton_OnClick;
     removeSelectedRowsButton.Image  = GraphUtils.ToBitmap(PerseusPluginUtils.GetImage("hand.png"));
     keepSelectedRowsButton.Image    = GraphUtils.ToBitmap(PerseusPluginUtils.GetImage("hand.png"));
 }