Ejemplo n.º 1
0
 //constructor
 public box(int x, int y, int width, int height, Application app)
 {
     this.x = x;
     this.y = y;
     this.width = width;
     this.height = height;
     this.app = app;
 }
Ejemplo n.º 2
0
        //constructor
        public Panel(int x, int y, int width, int height, Application app)
        {
            this.x = x;
            this.y = y;
            this.width = width;
            this.height = height;

            this.app = app;
            //drawing panel interface
            this.draw();

            //adding footer and header text

            this.setSubFooterName("Path name");
            this.setSubFooterDate("Date of creation");

            //create observer
            this.ob_left = new observer(this.x + 1, this.y + 2, this.width - 2, this.height, this);
        }
Ejemplo n.º 3
0
 static void Main(string[] args)
 {
     Application app = new Application();
     app.init();
 }
Ejemplo n.º 4
0
 public createDir(int x, int y, int width, int height, Application app)
     : base(x, y, width, height, app)
 {
 }
Ejemplo n.º 5
0
 public selectDriver(int x, int y, int width, int height, Application app)
     : base(x, y, width, height, app)
 {
 }
Ejemplo n.º 6
0
 public errorBox(int x, int y, int width, int height, string content, Application app)
     : base(x, y, width, height, app)
 {
     this.content = content;
 }