예제 #1
0
        private void btnNew_Click(object sender, EventArgs e)
        {
            var f = new frmGradientEdit();

            if (f.ShowDialog(this) == DialogResult.OK)
            {
                ReloadList();
            }
        }
예제 #2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            if (NoneSelected())
            {
                return;
            }

            var f = new frmGradientEdit();

            f.LoadData(GetSelectedNode());
            if (f.ShowDialog(this) == DialogResult.OK)
            {
                ReloadList();
            }
        }