예제 #1
0
        private void SaveSettings_Click(object sender, EventArgs e)
        {
            var editor = Editor.getInstance();

            editor.settingsColor = Color.FromName(Colors.Text);
            editor.settingsType  = (ElementType)Enum.Parse(typeof(ElementType), comboBox1.Text);
        }
예제 #2
0
 static void Main()
 {
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(Editor.getInstance());
 }