Ejemplo n.º 1
0
 public DomainsUserList(string s, controler c)
 {
     controler = c;
     InitializeComponent();
     textBox2.Text    = s;
     textBox2.Visible = false;
 }
Ejemplo n.º 2
0
 public UpdateDomain(controler c, string s)
 {
     InitializeComponent();
     textBox1.Text = s;
     controler     = new controler();
     setComboText(SearchDomainName());
 }
Ejemplo n.º 3
0
 public PartnersList(string s, controler c)
 {
     controler = c;
     InitializeComponent();
     textBox1.Text    = s;
     textBox1.Visible = false;
 }
Ejemplo n.º 4
0
 public MySearchList(controler c)
 {
     controler = c;
     InitializeComponent();
     domainList = new List <string>();
     PrtnerUser = new List <string>();
 }
Ejemplo n.º 5
0
 public Record(controler c)
 {
     controler = c;
     InitializeComponent();
     genbox.Items.Add("female");
     genbox.Items.Add("male");
     firBox.Items.Add("054");
     firBox.Items.Add("050");
     firBox.Items.Add("052");
     firBox.Items.Add("053");
     metBox1.Items.Add("single");
     metBox1.Items.Add("married");
     metBox1.Items.Add("divorcee");
     for (int i = 1; i <= 31; i++)
     {
         dayBox1.Items.Add(i);
     }
     for (int j = 1; j <= 12; j++)
     {
         monBox2.Items.Add(j);
     }
     for (int k = 1; k <= 5; k++)
     {
         org.Items.Add(k);
     }
     textBox1.UseSystemPasswordChar = true;
     comboBox2.Items.Add("Higher education");
     comboBox2.Items.Add("Medium Education");
     comboBox2.Items.Add("Low education");
 }
Ejemplo n.º 6
0
 public EdittingProfile(controler c)
 {
     controler = c;
     InitializeComponent();
     meter.Items.Add("Single");
     meter.Items.Add("merried");
     meter.Items.Add("devorce");
 }
Ejemplo n.º 7
0
 public ConnectUser(controler c)
 {
     controler = c;
     InitializeComponent();
     password.UseSystemPasswordChar = true;
     password.Text       = "123";
     maskedTextBox1.Text = "gmail.com";
     id.Text             = "hanen1711";
 }
Ejemplo n.º 8
0
        public SearchForm(controler c)
        {
            controler = c;
            InitializeComponent();
            string          dbprovider = controler.m.getDBprovider();
            OleDbConnection conn       = new OleDbConnection(dbprovider);

            ReturnName(conn);
        }
Ejemplo n.º 9
0
        public AddDomain(controler c)
        {
            controler = c;
            InitializeComponent();

            for (int i = 1; i <= 12; i++)
            {
                monBox2.Items.Add(i);
            }
            for (int j = 1; j <= 31; j++)
            {
                dayBox1.Items.Add(j);
            }
        }
Ejemplo n.º 10
0
 public InputsForm(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 11
0
 public SuccessfulDomainAdded(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 12
0
 public SuccessSearch(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 13
0
 public Success_insert(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 14
0
 public ConnectUser(controler c)
 {
     controler = c;
     InitializeComponent();
     password.UseSystemPasswordChar = true;
 }
Ejemplo n.º 15
0
 public PartnerClass(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 16
0
 // Start is called before the first frame update
 void Start()
 {
     holdItem = false;
     con      = this;
     rb       = GetComponent <Rigidbody2D>();
 }
Ejemplo n.º 17
0
 public FirstForm(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 18
0
 public MainForm(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 19
0
    // Use this for initialization
    void Start()
    {
        //LevelToLoad = new int[,]
        //{
        //    { 1 ,1 ,1 ,1 ,1 },
        //    { 1 ,4 ,0 ,0 ,1 },
        //    { 1 ,0 ,1 ,0 ,1 },
        //    { 1 ,0 ,0 ,2 ,1 },
        //    { 1 ,0 ,1 ,0 ,1 },
        //    { 1 ,2 ,0 ,0 ,1 },
        //    { 1 ,2 ,1 ,0 ,1 },
        //    { 1 ,2 ,0 ,2 ,1 },
        //    { 1 ,2 ,1 ,0 ,1 },
        //    { 1 ,2 ,0 ,3 ,1 },
        //    { 1 ,1 ,1 ,1 ,1 },

        //};


        controler c = null;

        for (int i = 0; i < LevelToLoad.GetLength(0); i++)
        {
            for (int j = 0; j < LevelToLoad.GetLength(1); j++)
            {
                var pos = new Vector3Int(i - LevelToLoad.GetLength(0) / 2, j - LevelToLoad.GetLength(1) / 2, 0);
                floor.SetTile(pos, floorTile);
                switch (LevelToLoad[i, j])
                {
                case 0:      //nothing
                    break;

                case 1:      //wall
                    walls.SetTile(pos, wallTile);
                    break;

                case 2:      //Bwall
                    walls.SetTile(pos, BwallTile);
                    break;

                case 4:      //player
                    Player        = Instantiate(player, walls.GetCellCenterWorld(pos), Quaternion.identity);
                    c             = Player.GetComponent <controler>();
                    c.joystick    = joystick;
                    c.tilemap     = walls;
                    c.fireTilemap = fire;
                    if (Enemy != null)
                    {
                        var x = Enemy.GetComponent <AI>();
                        x.player = c;
                    }
                    break;

                case 3:      //enemy
                    Enemy = Instantiate(enemy, walls.GetCellCenterWorld(pos), Quaternion.identity);
                    var a = Enemy.GetComponent <AI>();
                    a.wallsMap = walls;
                    a.floorMap = floor;
                    if (c != null)
                    {
                        a.player = c;
                    }
                    break;

                default:
                    break;
                }
            }
        }

        walls.RefreshAllTiles();
        var s = Enemy.GetComponent <AI>();

        s.doStaff = true;
    }
Ejemplo n.º 20
0
 public AddPartner(controler c)
 {
     controler=c;
     InitializeComponent();
 }
Ejemplo n.º 21
0
 public model(controler controler)
 {
     c = controler;
 }
Ejemplo n.º 22
0
 public Domains(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 23
0
        static void Main()
        {
            controler c = new controler();

            c.startApp();
        }
Ejemplo n.º 24
0
 public SearchGenere(controler c)
 {
     controler = c;
     InitializeComponent();
 }
Ejemplo n.º 25
0
 public DeleteExistDomain(controler c)
 {
     controler = c;
     InitializeComponent();
 }