Click here to Skip to main content
15,889,808 members
Articles / Desktop Programming / Windows Forms

Internal Supply Chain Management System, Visibility

Rate me:
Please Sign up or sign in to vote.
4.78/5 (30 votes)
9 Oct 2009CPOL7 min read 106K   16.5K   108  
Internal supply chain management system's objective is to visualize organization's activities and events spawn during its work flow and offers panoramic view of upstream and downstream activities
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace ISCMS.Control
{
    public class VacantBalloon : Hasan.CBalloonBase
    {
        private Label Tags;
        private Label Names;
        private System.ComponentModel.IContainer components = null;

        public VacantBalloon()
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();
        }

        public VacantBalloon(string tag, string name)
        {
            // This call is required by the Windows Form Designer.
            InitializeComponent();
            Tags.Text = tag;
            Names.Text = name;
        }


        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (components != null)
                {
                    components.Dispose();
                }
            }
            base.Dispose(disposing);
        }

        #region Designer generated code
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.Tags = new System.Windows.Forms.Label();
            this.Names = new System.Windows.Forms.Label();
            this.SuspendLayout();
            // 
            // Tags
            // 
            this.Tags.AutoSize = true;
            this.Tags.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Bold);
            this.Tags.ForeColor = System.Drawing.Color.SaddleBrown;
            this.Tags.Location = new System.Drawing.Point(48, 55);
            this.Tags.Name = "Tags";
            this.Tags.Size = new System.Drawing.Size(90, 13);
            this.Tags.TabIndex = 0;
            this.Tags.Text = "Raw Material";
            // 
            // Names
            // 
            this.Names.AutoSize = true;
            this.Names.Location = new System.Drawing.Point(132, 55);
            this.Names.Name = "Names";
            this.Names.Size = new System.Drawing.Size(0, 13);
            this.Names.TabIndex = 1;
            this.Names.TextAlign = System.Drawing.ContentAlignment.TopCenter;
            // 
            // VacantBalloon
            // 
            this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
            this.BackColor = System.Drawing.Color.Gainsboro;
            this.ClientSize = new System.Drawing.Size(270, 124);
            this.Controls.Add(this.Names);
            this.Controls.Add(this.Tags);
            this.FadeAmount = 0.9;
            this.FrameBottomRight = System.Drawing.Color.DimGray;
            this.FrameTopLeft = System.Drawing.Color.WhiteSmoke;
            this.Location = new System.Drawing.Point(120, 200);
            this.MinimumSize = new System.Drawing.Size(50, 60);
            this.Name = "VacantBalloon";
            this.tailOffset = 5;
            this.ResumeLayout(false);
            this.PerformLayout();

        }
        #endregion

        private void linkLabel2_LinkClicked(object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e)
        {
            Point p = new Point(Location.X, Location.Y);
            p.Offset(5, 5);
            this.Location = p;
        }

 
    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
This is a Organisation

33 members

Comments and Discussions