예제 #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();
            }
        }
예제 #2
0
 public PSView(string txt, ResController res)
 {
     InitializeComponent();
     this.SetTopLevel(true);
     this.resController = res;
     txtPS.Text         = txt;
     txtPS.Select(txtPS.TextLength, 0);
 }
예제 #3
0
        public SuperEdit(ResController res)
        {
            this.res = res;

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


            InitializeComponent();

            this.KeyPreview = true;
        }
예제 #4
0
 public Progress(ResController res)
 {
     InitializeComponent();
     this.res = res;
 }