protected override object GetStyleFromForm() { CMarginStyleItem item = new CMarginStyleItem { MarginSize = (int)this.numMargin.Value }; item.SetMarginColor(this.pictureBox1.BackColor); if (this.rdoWindow.Checked) { item.BorderStyle = 2; } else if (this.rdoSolid.Checked) { item.BorderStyle = 1; } else if (this.rdo3D.Checked) { item.BorderStyle = 0; } item.TopMost = this.chkTopMost.Checked; return(item); }
// Token: 0x0600000E RID: 14 RVA: 0x00002CCC File Offset: 0x00000ECC protected override object GetStyleFromForm() { var cmarginStyleItem = new CMarginStyleItem { MarginSize = (int)numMargin.Value }; cmarginStyleItem.SetMarginColor(pictureBox1.BackColor); if (rdoWindow.Checked) { cmarginStyleItem.BorderStyle = 2; } else if (rdoSolid.Checked) { cmarginStyleItem.BorderStyle = 1; } else if (rdo3D.Checked) { cmarginStyleItem.BorderStyle = 0; } cmarginStyleItem.TopMost = chkTopMost.Checked; return(cmarginStyleItem); }