private void toolStripButtonSectionColDec_Click(object sender, EventArgs e) { //VtkControl.UpdateVSection(VtkControl.VSectionNum -= 10); VtkControl.UpdateVSection(VtkControl.VSectionNum -= 5, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }
private void toolStripButtonResetCol_Click(object sender, EventArgs e) { VtkControl.UpdateVSection(VtkControl.VSectionNum = TestForm.imageRect.Width / 2, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }
private void toolStripButtonSectionRowInc_Click(object sender, EventArgs e) { //VtkControl.UpdateHSection(VtkControl.HSectionNum+=10); VtkControl.UpdateHSection(VtkControl.HSectionNum += 5, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }
private void toolStripButtonResetRow_Click(object sender, EventArgs e) { VtkControl.UpdateHSection(VtkControl.HSectionNum = TestForm.imageRect.Height / 2, TestForm.imageRect); VtkControl.UpdateSectionImage(TestForm.imageRect); }