예제 #1
0
        public viewSamples()
        {
            InitializeComponent();
            Design.curve(this);
            timer1.Start();
            conn          = new DBconnect();
            temp          = viewSmaster.ID();
            chkUsd        = viewSmaster.CheckUsd();
            chkOrd        = viewSmaster.CheckOid();
            datChk        = viewSmaster.CheckDate();
            picChk        = viewSmaster.CheckPic();
            sat           = viewSmaster.CheckSat();
            textBox1.Text = Convert.ToString(chkUsd);



            /*    string temp = Login.profPic;
             *   prof_pb.Image = Image.FromFile(temp);
             *   prof_pb.SizeMode = PictureBoxSizeMode.StretchImage;
             *   prof_pb.BorderStyle = BorderStyle.None;
             *   profPic_pnl.BackColor = Color.FromArgb(93, 210, 85);
             *   string tmpName = Login.uName;
             *   nm_lbl.Text = tmpName + " !";*/

            // CultureInfo sl = new CultureInfo("EN-IN");
            //  cost_txt.Text = i.ToString("c",sl);
        }
예제 #2
0
 public addCli()
 {
     InitializeComponent();
     Design.curve(this);
     timer1.Start();
     con = new DBconnect();
 }
예제 #3
0
 public clients()
 {
     InitializeComponent();
     Design.curve(this);
     Design.curve(addc);
     Design.curve(viewc);
     timer1.Start();
 }
예제 #4
0
 public sample()
 {
     InitializeComponent();
     Design.curve(this);
     Design.curve(addsa);
     Design.curve(viewsa);
     timer1.Start();
 }
예제 #5
0
 public addOrd()
 {
     InitializeComponent();
     con = new DBconnect();
     Design.curve(this);
     timer1.Start();
     this.oDate.Value = DateTime.Now;
 }
예제 #6
0
 public order()
 {
     InitializeComponent();
     Design.curve(this);
     Design.curve(addo);
     Design.curve(viewo);
     timer1.Start();
 }
예제 #7
0
 public static void LeaveMouseBut(Button name, Image img, int w, int h)
 {
     name.Image      = img;
     name.ForeColor  = Color.FromArgb(255, 255, 255);
     name.Size       = new Size(w, h);
     name.Font       = new Font("Segoe UI", 8, FontStyle.Regular);
     name.TextAlign  = ContentAlignment.BottomCenter;
     name.ImageAlign = ContentAlignment.MiddleCenter;
     Design.curve(name);
 }
예제 #8
0
        public Payments()
        {
            InitializeComponent();
            Design.curve(this);
            timer1.Start();

            /* string temp = Login.profPic;
            *  prof_pb.Image = Image.FromFile(temp);
            *  prof_pb.SizeMode = PictureBoxSizeMode.StretchImage;
            *  prof_pb.BorderStyle = BorderStyle.None;
            *  profPic_pnl.BackColor = Color.FromArgb(93,210,85);
            *  string tmpName = Login.uName;
            *  nm_lbl.Text = tmpName + " !";*/
        }
예제 #9
0
        public addSamples()
        {
            InitializeComponent();
            Design.curve(this);
            timer1.Start();
            conn = new DBconnect();


            /* string temp = Login.profPic;
            *  prof_pb.Image = Image.FromFile(temp);
            *  prof_pb.SizeMode = PictureBoxSizeMode.StretchImage;
            *  prof_pb.BorderStyle = BorderStyle.None;
            *  profPic_pnl.BackColor = Color.FromArgb(93, 210, 85);
            *  string tmpName = Login.uName;
            *  nm_lbl.Text = tmpName + " !";*/

            // CultureInfo sl = new CultureInfo("EN-IN");
            //  cost_txt.Text = i.ToString("c",sl);
        }
예제 #10
0
 private void viewc_MouseHover(object sender, EventArgs e)
 {
     Design.HoverMouseBut(viewc, Resources.serCli2, 245, 180);
     Design.curve(viewc);
 }
예제 #11
0
 private void addc_MouseLeave(object sender, EventArgs e)
 {
     Design.LeaveMouseBut(addc, Resources.cli, 239, 134);
     Design.curve(addc);
 }