示例#1
0
        private void ButtonGetLayout_Click(object sender, EventArgs e)
        {
            dynamic layout    = GetLayout();
            var     valueEdit = new ValueEdit();

            valueEdit.Value = layout.ToString();
            valueEdit.ShowDialog();
        }
示例#2
0
        private void GEtLayoutButton_Click(object sender, EventArgs e)
        {
            dynamic value = GetLayout();

            var valueEdit = new ValueEdit();

            valueEdit.Value = value.ToString();
            valueEdit.ShowDialog();
        }
示例#3
0
        private void SetLayoutButton_Click(object sender, EventArgs e)
        {
            var valueEdit = new ValueEdit();

            if (valueEdit.ShowDialog() == DialogResult.OK)
            {
                ProcessJson(valueEdit.Value);
            }
        }