コード例 #1
0
        private void buttonFillStyle_Click(object sender, EventArgs e)
        {
            FillStyleDialog dialog = new FillStyleDialog();

            dialog.HatchStyle = LayerProfile.RenderSetting.Fill.HatchStyle;
            if (dialog.ShowDialog() == DialogResult.OK)
            {
                Fill.HatchStyle = dialog.HatchStyle;
                pictureBoxRenderingStyle.Refresh();
            }
        }
コード例 #2
0
		private void buttonFillStyle_Click(object sender, EventArgs e)
			{
			FillStyleDialog dialog = new FillStyleDialog();
			dialog.HatchStyle = LayerProfile.RenderSetting.Fill.HatchStyle;
			if( dialog.ShowDialog() == DialogResult.OK )
				{
				Fill.HatchStyle = dialog.HatchStyle;
				pictureBoxRenderingStyle.Refresh();
				}
			}