public Form2()
        {
            InitializeComponent();
            listView1.Columns.Add("Id", +50, HorizontalAlignment.Left);
            listView1.Columns.Add("Name", +100, HorizontalAlignment.Left);
            listView1.Columns.Add("PRICE", +100, HorizontalAlignment.Left);
            listView1.Columns.Add("CODE", +100, HorizontalAlignment.Left);
            listView1.Columns.Add("POSITION", +100, HorizontalAlignment.Left);
            listView1.Columns.Add("AVAILABLE", +100, HorizontalAlignment.Left);


            listView3.Columns.Add("UID", +50, HorizontalAlignment.Left);
            listView3.Columns.Add("NAME", +100, HorizontalAlignment.Left);
            listView3.Columns.Add("LASTNAME", +100, HorizontalAlignment.Left);
            listView3.Columns.Add("USERNAME", +100, HorizontalAlignment.Left);


            label25.Visible = false;
            label25.SendToBack();
            label25.Size = new System.Drawing.Size(50, 50);
            dedomena.scan();
            dedomena.store();
            dedomena.log();
        }
Beispiel #2
0
 public Form3()
 {
     InitializeComponent();
     dedomena.scan();
 }
 public void scanTest()
 {
     Classlistvi dataretes = new Classlistvi();
     Assert.ReferenceEquals(1, dataretes.scan());
 }