private void ViewTextDataToolStripMenuItem_Click(object sender, EventArgs e) { ViewRowForm form = new ViewRowForm(); form.SetValues(_textData); form.ShowDialog(); }
private void ViewItem() { ViewRowForm form = new ViewRowForm(); form.SetValues(GetTextData()); form.ShowDialog(); }
private void PictureBox_MouseDoubleClick(object sender, MouseEventArgs e) { int y = e.Y; if (y < 0) { y = y + 32768 + 32768; } if (e.Button == MouseButtons.Left && IsMouseOnRow(((PictureBox)sender).Height, y)) { ViewRowForm form = new ViewRowForm(); form.SetValues(_textData); form.ShowDialog(); } }