Esempio n. 1
0
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var           err = "";
            ResController ctr = null;

            try
            {
                ctr = new ResController();
            } catch (Exception e)
            {
                err = e.Message;
            }

            if (ctr != null)
            {
                Application.Run(new SuperEdit(ctr));
            }
            else
            {
                MessageBox.Show("Init error " + err);
                Application.Exit();
            }
        }
Esempio n. 2
0
 public PSView(string txt, ResController res)
 {
     InitializeComponent();
     this.SetTopLevel(true);
     this.resController = res;
     txtPS.Text         = txt;
     txtPS.Select(txtPS.TextLength, 0);
 }
Esempio n. 3
0
        public SuperEdit(ResController res)
        {
            this.res = res;

            this.objects = new BindingList <SelectObject>();


            InitializeComponent();

            this.KeyPreview = true;
        }
Esempio n. 4
0
 public Progress(ResController res)
 {
     InitializeComponent();
     this.res = res;
 }