private void btn_ok_Click(object sender, EventArgs e) { customInfoHtml = tb_propvalue.Text; if (rb_never.Checked) showCustomSection = ShowCustomInfoSection.Never; else if (rb_left.Checked) showCustomSection = ShowCustomInfoSection.Left; else showCustomSection = ShowCustomInfoSection.Right; }
private void btn_ok_Click(object sender, EventArgs e) { customInfoHtml = tb_propvalue.Text; if (rb_never.Checked) { showCustomSection = ShowCustomInfoSection.Never; } else if (rb_left.Checked) { showCustomSection = ShowCustomInfoSection.Left; } else { showCustomSection = ShowCustomInfoSection.Right; } }
public CustomInfoForm(ShowCustomInfoSection showSection, string customInfo) { InitializeComponent(); showCustomSection = showSection; CustomInfoHtml = customInfo; }