Example #1
0
        private void btn_newConst_Click(object sender, EventArgs e)
        {
            ConstElement newConst     = new ConstElement("Sample Text", "", ConstElement.Type.Auto);
            ConstCreator constCreator = new ConstCreator(ref newConst);

            if (constCreator.DialogResult == DialogResult.OK)
            {
            }
        }
Example #2
0
        public ConstCreator(ref ConstElement toEdit)
        {
            InitializeComponent();

            if (toEdit != null)
            {
                Edit(ref toEdit);
            }
            else
            {
            }
        }
Example #3
0
 public static ConstElement Edit(ref ConstElement toEdit)
 {
     //TODO Editing of existing Const via GUI
     return(null);
 }
Example #4
0
 public ConstVault()
 {
     InitializeComponent();
     ConstElement e1 = new ConstElement("Some HEX color", "#01f2dd", ConstElement.Type.Auto);
     ConstElement e2 = new ConstElement("RGBA, hopefully", "RGBA(102,102,102,0.2)", ConstElement.Type.Auto);
 }