예제 #1
0
        private void MenuPixelData_Click(object sender, EventArgs e)
        {
            if (PixelForm == null || PixelForm.IsDisposed)
            {
                PixelForm       = new PixelDialog();
                PixelForm.Owner = this;
            }
            PixelForm.Show();
            Point p = pbxPhoto.PointToClient(Form.MousePosition);

            UpdatePixelDialog(p.X, p.Y);
        }
예제 #2
0
        private void mnuPixelData_Click(object sender, EventArgs e)
        {
            if (PixelForm == null || PixelForm.IsDisposed)
            {
                PixelForm       = PixelDialog.GlobalInstance;
                PixelForm.Owner = this;
            }
            PixelForm.Show();
            Point p = pbxPhoto.PointToClient(Form.MousePosition);

            UpdatePixelDialog(p.X, p.Y);
            UpdatePixelButton(true);
        }