public codeView(bool isEnable, string sourceFile) { InitializeComponent(); CtoJObj = new CtoJConverter(); savebtn.Visible = isEnable; copytoclipboard.Visible = isEnable; richTextBox1.ReadOnly = !isEnable; richTextBox1.Text = sourceFile; }
public CtoJ() { InitializeComponent(); CtoJObj = new CtoJConverter(); }