public PhotoAddForm()
 {
     InitializeComponent();
     pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;
     xmlRead    = new XmlRead();
     csNetDrive = new csNetDrive();
 }
示例#2
0
 public VidioManageForm()
 {
     InitializeComponent();
     csNetDrive = new csNetDrive();
     xmlRead    = new XmlRead();
     VidioListInit();
     SetDidSystemIpAddress();
 }
示例#3
0
 public UserProfile(string deptIndex, int gridIndex)
 {
     InitializeComponent();
     xmlRead                 = new XmlRead();
     csNetDrive              = new csNetDrive();
     this.deptIndex          = deptIndex;
     this.gridIndex          = gridIndex;
     UserPictureBox.SizeMode = PictureBoxSizeMode.StretchImage;
     SetProfile();
 }
示例#4
0
        public PhotoManageForm()
        {
            InitializeComponent();
            xmlRead              = new XmlRead();
            csNetDrive           = new csNetDrive();
            pictureBox1.SizeMode = PictureBoxSizeMode.CenterImage;

            photoGrid.ReadOnly      = true;
            photoGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
            FileRead();
        }
 public OrganizationForm()
 {
     InitializeComponent();
     xmlRead    = new XmlRead();
     csNetDrive = new csNetDrive();
     //xmlRead.XmlParser(@"C:\WanjuDIDSystem\DIDXML\\Complaints.xml", 4);
     pictureBox1.SizeMode         = PictureBoxSizeMode.StretchImage;
     pictureBox2.SizeMode         = PictureBoxSizeMode.StretchImage;
     pictureBox3.SizeMode         = PictureBoxSizeMode.StretchImage;
     ComplaintsGrid.ReadOnly      = true;
     ComplaintsGrid.SelectionMode = DataGridViewSelectionMode.FullRowSelect;
     ConstructGrid.ReadOnly       = true;
     ConstructGrid.SelectionMode  = DataGridViewSelectionMode.FullRowSelect;
     ComplaintsDepList();
 }