Пример #1
0
        public Form1()
        {
            InitializeComponent();

            Font  font      = new Font("Tahoma", 8f);
            Color fromColor = Color.FromArgb(224, 237, 248);
            Color toColor   = Color.FromArgb(94, 158, 219);

            _piDosyaHazirlik = igProcess1.AddItem("Dosya Hazırlık", 0, font, Color.Black, StringAlignment.Center, fromColor, toColor, LinearGradientMode.Horizontal, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Dosya Kabul", 0, font, Color.Red, StringAlignment.Center, fromColor, toColor, LinearGradientMode.BackwardDiagonal, Color.DarkGray, 1.0f, null);
            _piAnaliz = igProcess1.AddItem("Analiz", 0, font, Color.White, StringAlignment.Center, fromColor, toColor, LinearGradientMode.ForwardDiagonal, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("İstihbarat", 0, font, Color.Blue, StringAlignment.Center, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Analiz Kontrol", 0, font, Color.Blue, StringAlignment.Center, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Kesinleştirildi", 0, font, Color.Blue, StringAlignment.Center, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.Empty, 1.0f, null);
            igProcess1.PrepareItems();
        }
Пример #2
0
        public Form1()
        {
            InitializeComponent();

            textBox1.Text = trackBar1.Value.ToString();

            Font  font      = new Font("Tahoma", 8f);
            Color fromColor = Color.FromArgb(224, 237, 248);
            Color toColor   = Color.FromArgb(94, 158, 219);

            _piDosyaHazirlik = igProcess1.AddItem("Dosya Hazırlık", 0, font, Color.Black, StringAlignment.Center, 0, fromColor, toColor, LinearGradientMode.Horizontal, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Dosya Kabul", 0, font, Color.Red, StringAlignment.Center, 0, fromColor, toColor, LinearGradientMode.BackwardDiagonal, Color.DarkGray, 1.0f, null);
            _piAnaliz = igProcess1.AddItem("Analiz", 0, font, Color.White, StringAlignment.Center, 0, fromColor, toColor, LinearGradientMode.ForwardDiagonal, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("İstihbarat", 0, font, Color.Blue, StringAlignment.Center, 0, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Analiz Kontrol", 0, font, Color.Blue, StringAlignment.Center, 0, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess1.AddItem("Kesinleştirildi", 0, font, Color.Blue, StringAlignment.Center, 0, fromColor, Color.Empty, LinearGradientMode.Vertical, Color.Empty, 1.0f, null);
            igProcess1.PrepareItems();


            Font  font2      = new Font("Tahoma", 8f, FontStyle.Bold);
            Color fromColor2 = Color.FromArgb(91, 155, 213);
            Color toColor2   = Color.FromArgb(91, 200, 255);

            igProcess2.AddItem("Dosya Hazırlık", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.Horizontal, Color.DarkGray, 1.0f, null);
            igProcess2.AddItem("Dosya Kabul", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.BackwardDiagonal, Color.DarkGray, 1.0f, null);
            igProcess2.AddItem("Analiz", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.ForwardDiagonal, Color.DarkGray, 1.0f, null);
            igProcess2.AddItem("İstihbarat", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess2.AddItem("Analiz Kontrol", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.Vertical, Color.DarkGray, 1.0f, null);
            igProcess2.AddItem("Kesinleştirildi", 0, font2, Color.White, StringAlignment.Center, 0, fromColor2, toColor2, LinearGradientMode.Vertical, Color.Black, 1.0f, null);
            igProcess2.PrepareItems();


            igRating1.AddDefaultRatingNotes();
            //igRating2.AddDefaultRatingNotes();
            //igRating3.AddDefaultRatingNotes();
            //igRating4.AddDefaultRatingNotes();
        }