private void MenuHistogram_Click(object sender, EventArgs e) { FrmHistogram frmHistogram = new FrmHistogram(mCurrentImage); frmHistogram.ShowDialog(); }
/// <summary> /// 显示直方图 /// </summary> private void BtnHistogram_Click(object sender, EventArgs e) { FrmHistogram frmHistogram = new FrmHistogram(mImgSource); frmHistogram.ShowDialog(); }