public static void AddAgendaView(SchedulerControl scheduler, DateNavigator dateNavigator, bool showResources)
        {
            CurrentScheduler = scheduler;
            navigator        = dateNavigator;
            if (!(scheduler.Parent is LayoutControl))
            {
                MessageBox.Show("SchedulerControl should be located within a LayoutControl to enable AgendaView functionality");
            }
            else
            {
                AgendaView = new AgendaViewControl(showResources, CurrentScheduler);
                CurrentScheduler.PopupMenuShowing += new DevExpress.XtraScheduler.PopupMenuShowingEventHandler(CurrentScheduler_PopupMenuShowing);
                LayoutControl     currentLayout       = scheduler.Parent as LayoutControl;
                LayoutControlItem schedulerLayoutItem = currentLayout.GetItemByControl(CurrentScheduler);
                //Create a layout item and add it to the root group.
                LayoutControlItem itemAgendaView = currentLayout.Root.AddItem(schedulerLayoutItem, DevExpress.XtraLayout.Utils.InsertType.Top) as LayoutControlItem;
                // Set the item's Control and caption.
                itemAgendaView.Name        = "layoutControlItemAgendaView";
                itemAgendaView.Control     = AgendaView;
                itemAgendaView.TextVisible = false;

                ChangeControlsVisibility(CurrentScheduler, true);
                if (navigator != null)
                {
                    ChangeControlsVisibility(navigator, true);
                }
                ChangeControlsVisibility(AgendaView, false);
            }
        }
        public static void AddListView(SchedulerControl scheduler, DateNavigator dateNavigator, SearchControl searchControl)
        {
            CurrentScheduler      = scheduler;
            navigator             = dateNavigator;
            SearchControlInstance = searchControl;
            if (!(scheduler.Parent is LayoutControl))
            {
                MessageBox.Show("SchedulerControl should be located within a LayoutControl to enable ListView functionality");
            }
            else
            {
                ListView = new ListViewControl(CurrentScheduler);
                LayoutControl     currentLayout       = scheduler.Parent as LayoutControl;
                LayoutControlItem schedulerLayoutItem = currentLayout.GetItemByControl(CurrentScheduler);
                //Create a layout item and add it to the root group.
                LayoutControlItem itemAgendaView = currentLayout.Root.AddItem(schedulerLayoutItem, DevExpress.XtraLayout.Utils.InsertType.Top) as LayoutControlItem;
                // Set the item's Control and caption.
                itemAgendaView.Name        = "layoutControlItemAgendaView";
                itemAgendaView.Control     = ListView;
                itemAgendaView.TextVisible = false;

                ChangeControlsVisibility(CurrentScheduler, true);
                if (navigator != null)
                {
                    ChangeControlsVisibility(navigator, true);
                }
                ChangeControlsVisibility(ListView, false);
            }
        }
예제 #3
0
        private void UpdateVisibleActivitiesCount()
        {
            var dates = DateNavigator.GetSelectedDates();

            dates.ToList().Sort();

            if (dates.Count > 0 && ActiveCalendar != null)
            {
                if (dates[0].AddDays(dates.Count - 1).Day == dates[dates.Count - 1].Day)
                {
                    var start      = new DateTime(dates[0].Year, dates[0].Month, dates[0].Day, 0, 0, 0);
                    var end        = new DateTime(dates[dates.Count - 1].Year, dates[dates.Count - 1].Month, dates[dates.Count - 1].Day, 23, 59, 59);
                    var activities = DataManager.GetActivities(new ActivityQuery(ActivityTypes.All, new Infragistics.DateRange(start, end), ActiveCalendar)).Activities;
                    viewItemsCountChangedEvent.Publish(activities.Count);
                }
            }
        }
예제 #4
0
        public static DateTime GetDateNavigatorRangeTime(DateNavigator dateNavigator, DateTime lastDate, out string startTime, out string endTime)
        {
            DateTime current = dateNavigator.SelectionStart;
            DateTime start = DateTime.Now, end = DateTime.Now;

            if (lastDate == DateTime.MinValue)
            {
                start = current;
                end   = current;
            }
            else
            {
                int res = current.CompareTo(lastDate);

                if (res < 0)     //小于
                {
                    start = current;
                    end   = lastDate;
                }
                else if (res == 0)
                {
                    System.Console.WriteLine("是同一天");
                    start = current;
                    end   = current;
                }
                else
                {
                    start = lastDate;
                    end   = current;
                }
            }

            DateRange range = new DateRange(start, end.AddDays(1));

            dateNavigator.SelectedRanges.Add(range);
            startTime = start.ToString("yyyy-MM-dd");
            endTime   = end.ToString("yyyy-MM-dd");

            return(current);
        }
예제 #5
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.XtraScheduler.Printing.DailyPrintStyle dailyPrintStyle1 = new DevExpress.XtraScheduler.Printing.DailyPrintStyle();
     DevExpress.XtraScheduler.Printing.WeeklyPrintStyle weeklyPrintStyle1 = new DevExpress.XtraScheduler.Printing.WeeklyPrintStyle();
     DevExpress.XtraScheduler.Printing.MonthlyPrintStyle monthlyPrintStyle1 = new DevExpress.XtraScheduler.Printing.MonthlyPrintStyle();
     DevExpress.XtraScheduler.Printing.TriFoldPrintStyle triFoldPrintStyle1 = new DevExpress.XtraScheduler.Printing.TriFoldPrintStyle();
     DevExpress.XtraScheduler.Printing.CalendarDetailsPrintStyle calendarDetailsPrintStyle1 = new DevExpress.XtraScheduler.Printing.CalendarDetailsPrintStyle();
     DevExpress.XtraScheduler.Printing.MemoPrintStyle memoPrintStyle1 = new DevExpress.XtraScheduler.Printing.MemoPrintStyle();
     DevExpress.XtraScheduler.TimeRuler timeRuler1 = new DevExpress.XtraScheduler.TimeRuler();
     DevExpress.XtraScheduler.TimeRuler timeRuler2 = new DevExpress.XtraScheduler.TimeRuler();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCalendar));
     this.StartDatePickerTop = new System.Windows.Forms.DateTimePicker();
     this.schedulerStorage1 = new DevExpress.XtraScheduler.SchedulerStorage(this.components);
     this.pnlBody = new System.Windows.Forms.Panel();
     this.splitter1 = new System.Windows.Forms.Splitter();
     this.pnlCalendar = new System.Windows.Forms.Panel();
     this.schedulerControl1 = new DevExpress.XtraScheduler.SchedulerControl();
     this.pnlFilter = new System.Windows.Forms.Panel();
     this.chkHideWeekends = new DevExpress.XtraEditors.CheckEdit();
     this.lblMonth = new System.Windows.Forms.Label();
     this.lblYear = new System.Windows.Forms.Label();
     this.EndDatePickerTop = new System.Windows.Forms.DateTimePicker();
     this.btnClearFilters = new System.Windows.Forms.Button();
     this.cmbClass = new System.Windows.Forms.ComboBox();
     this.lblClass = new System.Windows.Forms.Label();
     this.cmbProgram = new System.Windows.Forms.ComboBox();
     this.lblProgram = new System.Windows.Forms.Label();
     this.cmbInstructor = new System.Windows.Forms.ComboBox();
     this.lblInstructor = new System.Windows.Forms.Label();
     this.cmbClient = new System.Windows.Forms.ComboBox();
     this.lblClient = new System.Windows.Forms.Label();
     this.pnlDateNavigator = new System.Windows.Forms.Panel();
     this.dateNavigator1 = new DevExpress.XtraScheduler.DateNavigator();
     this.imgContext = new System.Windows.Forms.ImageList(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).BeginInit();
     this.pnlBody.SuspendLayout();
     this.pnlCalendar.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).BeginInit();
     this.pnlFilter.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkHideWeekends.Properties)).BeginInit();
     this.pnlDateNavigator.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).BeginInit();
     this.SuspendLayout();
     //
     // StartDatePickerTop
     //
     this.StartDatePickerTop.Checked = false;
     this.StartDatePickerTop.CustomFormat = "MM/dd/yyyy";
     this.StartDatePickerTop.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.StartDatePickerTop.Location = new System.Drawing.Point(85, 7);
     this.StartDatePickerTop.Name = "StartDatePickerTop";
     this.StartDatePickerTop.Size = new System.Drawing.Size(93, 27);
     this.StartDatePickerTop.TabIndex = 15;
     this.StartDatePickerTop.ValueChanged += new System.EventHandler(this.datePickerTop_ValueChanged);
     //
     // schedulerStorage1
     //
     this.schedulerStorage1.Appointments.Mappings.Description = "Status";
     this.schedulerStorage1.Appointments.Mappings.End = "ENDDATETIME";
     this.schedulerStorage1.Appointments.Mappings.Label = "CEID";
     this.schedulerStorage1.Appointments.Mappings.Start = "STARTDATETIME";
     this.schedulerStorage1.Appointments.Mappings.Subject = "TASKDESC";
     //
     // pnlBody
     //
     this.pnlBody.Controls.Add(this.splitter1);
     this.pnlBody.Controls.Add(this.pnlCalendar);
     this.pnlBody.Controls.Add(this.pnlDateNavigator);
     this.pnlBody.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlBody.Location = new System.Drawing.Point(0, 0);
     this.pnlBody.Name = "pnlBody";
     this.pnlBody.Size = new System.Drawing.Size(976, 622);
     this.pnlBody.TabIndex = 0;
     //
     // splitter1
     //
     this.splitter1.Dock = System.Windows.Forms.DockStyle.Right;
     this.splitter1.Location = new System.Drawing.Point(676, 0);
     this.splitter1.Name = "splitter1";
     this.splitter1.Size = new System.Drawing.Size(5, 622);
     this.splitter1.TabIndex = 6;
     this.splitter1.TabStop = false;
     //
     // pnlCalendar
     //
     this.pnlCalendar.Controls.Add(this.schedulerControl1);
     this.pnlCalendar.Controls.Add(this.pnlFilter);
     this.pnlCalendar.Dock = System.Windows.Forms.DockStyle.Fill;
     this.pnlCalendar.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.pnlCalendar.Location = new System.Drawing.Point(0, 0);
     this.pnlCalendar.Name = "pnlCalendar";
     this.pnlCalendar.Size = new System.Drawing.Size(681, 622);
     this.pnlCalendar.TabIndex = 2;
     //
     // schedulerControl1
     //
     this.schedulerControl1.Appearance.Appointment.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Appearance.Appointment.Options.UseFont = true;
     this.schedulerControl1.Appearance.Selection.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Appearance.Selection.Options.UseFont = true;
     this.schedulerControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.schedulerControl1.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Location = new System.Drawing.Point(0, 60);
     this.schedulerControl1.Name = "schedulerControl1";
     dailyPrintStyle1.CalendarHeaderVisible = false;
     weeklyPrintStyle1.CalendarHeaderVisible = false;
     monthlyPrintStyle1.CalendarHeaderVisible = false;
     triFoldPrintStyle1.CalendarHeaderVisible = false;
     this.schedulerControl1.PrintStyles.Add(dailyPrintStyle1);
     this.schedulerControl1.PrintStyles.Add(weeklyPrintStyle1);
     this.schedulerControl1.PrintStyles.Add(monthlyPrintStyle1);
     this.schedulerControl1.PrintStyles.Add(triFoldPrintStyle1);
     this.schedulerControl1.PrintStyles.Add(calendarDetailsPrintStyle1);
     this.schedulerControl1.PrintStyles.Add(memoPrintStyle1);
     this.schedulerControl1.Size = new System.Drawing.Size(681, 562);
     this.schedulerControl1.Start = new System.DateTime(2006, 3, 6, 0, 0, 0, 0);
     this.schedulerControl1.Storage = this.schedulerStorage1;
     this.schedulerControl1.TabIndex = 1;
     this.schedulerControl1.Text = "schedulerControl1";
     this.schedulerControl1.Views.DayView.Appearance.AllDayArea.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.AllDayArea.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.AlternateHeaderCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.AlternateHeaderCaption.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.Appointment.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.Appointment.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.Selection.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.Selection.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.TimeRuler.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.TimeRuler.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.Appearance.TimeRulerNowArea.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.DayView.Appearance.TimeRulerNowArea.Options.UseFont = true;
     this.schedulerControl1.Views.DayView.TimeRulers.Add(timeRuler1);
     this.schedulerControl1.Views.MonthView.Appearance.Appointment.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.MonthView.Appearance.Appointment.Options.UseFont = true;
     this.schedulerControl1.Views.MonthView.AppointmentDisplayOptions.AppointmentAutoHeight = true;
     this.schedulerControl1.Views.MonthView.WeekCount = 4;
     this.schedulerControl1.Views.WeekView.Appearance.CellHeaderCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.WeekView.Appearance.CellHeaderCaption.Options.UseFont = true;
     this.schedulerControl1.Views.WeekView.Appearance.CellHeaderCaptionLine.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.WeekView.Appearance.CellHeaderCaptionLine.Options.UseFont = true;
     this.schedulerControl1.Views.WeekView.Appearance.HeaderCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.WeekView.Appearance.HeaderCaption.Options.UseFont = true;
     this.schedulerControl1.Views.WeekView.Appearance.HeaderCaptionLine.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.WeekView.Appearance.HeaderCaptionLine.Options.UseFont = true;
     this.schedulerControl1.Views.WeekView.Appearance.Selection.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.schedulerControl1.Views.WeekView.Appearance.Selection.Options.UseFont = true;
     this.schedulerControl1.Views.WorkWeekView.ShowFullWeek = true;
     this.schedulerControl1.Views.WorkWeekView.TimeRulers.Add(timeRuler2);
     this.schedulerControl1.Click += new System.EventHandler(this.schedulerControl1_Click);
     this.schedulerControl1.CustomDrawAppointment += new DevExpress.XtraScheduler.CustomDrawObjectEventHandler(this.schedulerControl1_CustomDrawAppointment);
     this.schedulerControl1.PreparePopupMenu += new DevExpress.XtraScheduler.PreparePopupMenuEventHandler(this.OnPreparePopupMenu);
     this.schedulerControl1.EditAppointmentFormShowing += new DevExpress.XtraScheduler.AppointmentFormEventHandler(this.schedulerControl_EditAppointmentFormShowing);
     this.schedulerControl1.AppointmentViewInfoCustomizing += new DevExpress.XtraScheduler.AppointmentViewInfoCustomizingEventHandler(this.schedulerControl1_AppointmentViewInfoCustomizing);
     //
     // pnlFilter
     //
     this.pnlFilter.BackColor = System.Drawing.SystemColors.GrayText;
     this.pnlFilter.Controls.Add(this.chkHideWeekends);
     this.pnlFilter.Controls.Add(this.lblMonth);
     this.pnlFilter.Controls.Add(this.lblYear);
     this.pnlFilter.Controls.Add(this.EndDatePickerTop);
     this.pnlFilter.Controls.Add(this.StartDatePickerTop);
     this.pnlFilter.Controls.Add(this.btnClearFilters);
     this.pnlFilter.Controls.Add(this.cmbClass);
     this.pnlFilter.Controls.Add(this.lblClass);
     this.pnlFilter.Controls.Add(this.cmbProgram);
     this.pnlFilter.Controls.Add(this.lblProgram);
     this.pnlFilter.Controls.Add(this.cmbInstructor);
     this.pnlFilter.Controls.Add(this.lblInstructor);
     this.pnlFilter.Controls.Add(this.cmbClient);
     this.pnlFilter.Controls.Add(this.lblClient);
     this.pnlFilter.Dock = System.Windows.Forms.DockStyle.Top;
     this.pnlFilter.Location = new System.Drawing.Point(0, 0);
     this.pnlFilter.Name = "pnlFilter";
     this.pnlFilter.Size = new System.Drawing.Size(681, 60);
     this.pnlFilter.TabIndex = 3;
     //
     // chkHideWeekends
     //
     this.chkHideWeekends.Location = new System.Drawing.Point(676, 19);
     this.chkHideWeekends.Name = "chkHideWeekends";
     this.chkHideWeekends.Properties.Caption = "Hide Weekends";
     this.chkHideWeekends.Size = new System.Drawing.Size(161, 24);
     this.chkHideWeekends.TabIndex = 20;
     this.chkHideWeekends.CheckedChanged += new System.EventHandler(this.chkHideWeekends_CheckedChanged);
     //
     // lblMonth
     //
     this.lblMonth.AutoSize = true;
     this.lblMonth.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblMonth.Location = new System.Drawing.Point(13, 36);
     this.lblMonth.Name = "lblMonth";
     this.lblMonth.Size = new System.Drawing.Size(87, 21);
     this.lblMonth.TabIndex = 19;
     this.lblMonth.Text = "End Date";
     //
     // lblYear
     //
     this.lblYear.AutoSize = true;
     this.lblYear.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblYear.Location = new System.Drawing.Point(13, 11);
     this.lblYear.Name = "lblYear";
     this.lblYear.Size = new System.Drawing.Size(97, 21);
     this.lblYear.TabIndex = 18;
     this.lblYear.Text = "Start Date";
     //
     // EndDatePickerTop
     //
     this.EndDatePickerTop.Checked = false;
     this.EndDatePickerTop.CustomFormat = "MM/dd/yyyy";
     this.EndDatePickerTop.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
     this.EndDatePickerTop.Location = new System.Drawing.Point(85, 33);
     this.EndDatePickerTop.Name = "EndDatePickerTop";
     this.EndDatePickerTop.Size = new System.Drawing.Size(93, 27);
     this.EndDatePickerTop.TabIndex = 17;
     this.EndDatePickerTop.ValueChanged += new System.EventHandler(this.datePickerTop_ValueChanged);
     //
     // btnClearFilters
     //
     this.btnClearFilters.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btnClearFilters.Location = new System.Drawing.Point(16, 10);
     this.btnClearFilters.Name = "btnClearFilters";
     this.btnClearFilters.Size = new System.Drawing.Size(166, 33);
     this.btnClearFilters.TabIndex = 13;
     this.btnClearFilters.Text = "Clear All Filters";
     this.btnClearFilters.Visible = false;
     this.btnClearFilters.Click += new System.EventHandler(this.btnClearFilters_Click);
     //
     // cmbClass
     //
     this.cmbClass.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbClass.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmbClass.ItemHeight = 21;
     this.cmbClass.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cmbClass.Location = new System.Drawing.Point(502, 32);
     this.cmbClass.Name = "cmbClass";
     this.cmbClass.Size = new System.Drawing.Size(137, 29);
     this.cmbClass.TabIndex = 12;
     this.cmbClass.SelectedIndexChanged += new System.EventHandler(this.cmbClass_SelectedIndexChanged);
     //
     // lblClass
     //
     this.lblClass.AutoSize = true;
     this.lblClass.BackColor = System.Drawing.SystemColors.GrayText;
     this.lblClass.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblClass.Location = new System.Drawing.Point(446, 36);
     this.lblClass.Name = "lblClass";
     this.lblClass.Size = new System.Drawing.Size(54, 21);
     this.lblClass.TabIndex = 11;
     this.lblClass.Text = "Class";
     //
     // cmbProgram
     //
     this.cmbProgram.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbProgram.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cmbProgram.Location = new System.Drawing.Point(502, 6);
     this.cmbProgram.Name = "cmbProgram";
     this.cmbProgram.Size = new System.Drawing.Size(137, 29);
     this.cmbProgram.TabIndex = 10;
     this.cmbProgram.SelectedIndexChanged += new System.EventHandler(this.cmbProgram_SelectedIndexChanged);
     //
     // lblProgram
     //
     this.lblProgram.AutoSize = true;
     this.lblProgram.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblProgram.Location = new System.Drawing.Point(446, 11);
     this.lblProgram.Name = "lblProgram";
     this.lblProgram.Size = new System.Drawing.Size(83, 21);
     this.lblProgram.TabIndex = 9;
     this.lblProgram.Text = "Program";
     //
     // cmbInstructor
     //
     this.cmbInstructor.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbInstructor.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.cmbInstructor.ItemHeight = 21;
     this.cmbInstructor.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cmbInstructor.Location = new System.Drawing.Point(277, 32);
     this.cmbInstructor.Name = "cmbInstructor";
     this.cmbInstructor.Size = new System.Drawing.Size(137, 29);
     this.cmbInstructor.TabIndex = 8;
     this.cmbInstructor.SelectedIndexChanged += new System.EventHandler(this.cmbInstructor_SelectedIndexChanged);
     //
     // lblInstructor
     //
     this.lblInstructor.AutoSize = true;
     this.lblInstructor.BackColor = System.Drawing.SystemColors.GrayText;
     this.lblInstructor.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblInstructor.Location = new System.Drawing.Point(212, 36);
     this.lblInstructor.Name = "lblInstructor";
     this.lblInstructor.Size = new System.Drawing.Size(97, 21);
     this.lblInstructor.TabIndex = 7;
     this.lblInstructor.Text = "Instructor";
     //
     // cmbClient
     //
     this.cmbClient.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.cmbClient.Items.AddRange(new object[] {
     "January",
     "February",
     "March",
     "April",
     "May",
     "June",
     "July",
     "August",
     "September",
     "October",
     "November",
     "December"});
     this.cmbClient.Location = new System.Drawing.Point(277, 6);
     this.cmbClient.Name = "cmbClient";
     this.cmbClient.Size = new System.Drawing.Size(137, 29);
     this.cmbClient.TabIndex = 6;
     this.cmbClient.SelectedIndexChanged += new System.EventHandler(this.cmbClient_SelectedIndexChanged);
     //
     // lblClient
     //
     this.lblClient.AutoSize = true;
     this.lblClient.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.lblClient.Location = new System.Drawing.Point(212, 11);
     this.lblClient.Name = "lblClient";
     this.lblClient.Size = new System.Drawing.Size(59, 21);
     this.lblClient.TabIndex = 5;
     this.lblClient.Text = "Client";
     //
     // pnlDateNavigator
     //
     this.pnlDateNavigator.Controls.Add(this.dateNavigator1);
     this.pnlDateNavigator.Dock = System.Windows.Forms.DockStyle.Right;
     this.pnlDateNavigator.Location = new System.Drawing.Point(681, 0);
     this.pnlDateNavigator.Name = "pnlDateNavigator";
     this.pnlDateNavigator.Size = new System.Drawing.Size(295, 622);
     this.pnlDateNavigator.TabIndex = 4;
     //
     // dateNavigator1
     //
     this.dateNavigator1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.dateNavigator1.HotDate = null;
     this.dateNavigator1.Location = new System.Drawing.Point(0, 0);
     this.dateNavigator1.Name = "dateNavigator1";
     this.dateNavigator1.SchedulerControl = this.schedulerControl1;
     this.dateNavigator1.Size = new System.Drawing.Size(295, 622);
     this.dateNavigator1.TabIndex = 0;
     //
     // imgContext
     //
     this.imgContext.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imgContext.ImageStream")));
     this.imgContext.TransparentColor = System.Drawing.Color.Fuchsia;
     this.imgContext.Images.SetKeyName(0, "");
     this.imgContext.Images.SetKeyName(1, "");
     //
     // frmCalendar
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(8, 20);
     this.ClientSize = new System.Drawing.Size(976, 622);
     this.Controls.Add(this.pnlBody);
     this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Name = "frmCalendar";
     this.Text = "Scheduler Calendar";
     this.Load += new System.EventHandler(this.frmCalendar_Load);
     ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).EndInit();
     this.pnlBody.ResumeLayout(false);
     this.pnlCalendar.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).EndInit();
     this.pnlFilter.ResumeLayout(false);
     this.pnlFilter.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.chkHideWeekends.Properties)).EndInit();
     this.pnlDateNavigator.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).EndInit();
     this.ResumeLayout(false);
 }
예제 #6
0
 private void InitializeComponent()
 {
     this.components          = (IContainer) new Container();
     this.panel1              = new Panel();
     this.button3             = new Button();
     this.button2             = new Button();
     this.button1             = new Button();
     this.gridControl6        = new GridControl();
     this.contextMenuStrip1   = new ContextMenuStrip(this.components);
     this.toolStripMenuItem1  = new ToolStripMenuItem();
     this.toolStripSeparator1 = new ToolStripSeparator();
     this.toolStripMenuItem2  = new ToolStripMenuItem();
     this.ds_valut1           = new ds_valut();
     this.gridView6           = new GridView();
     this.colidvalutrate      = new GridColumn();
     this.colidvalut          = new GridColumn();
     this.colidvalut2         = new GridColumn();
     this.colsm = new GridColumn();
     this.repositoryItemTextEdit1 = new AtRepositoryItemTextEdit();
     this.coldt                     = new GridColumn();
     this.coldeleted                = new GridColumn();
     this.colvalut_shortname        = new GridColumn();
     this.repositoryItemLookUpEdit1 = new RepositoryItemLookUpEdit();
     this.valutBindingSource        = new BindingSource(this.components);
     this.colvalut_shortname2       = new GridColumn();
     this.repositoryItemTextEdit2   = new AtRepositoryItemTextEdit();
     this.dateNavigator1            = new DateNavigator();
     this.panel2                    = new Panel();
     this.gridControl1              = new GridControl();
     this.gridView1                 = new GridView();
     this.coldt1                    = new GridColumn();
     this.colsm1                    = new GridColumn();
     this.colvalut_shortname1       = new GridColumn();
     this.repositoryItemTextEdit3   = new AtRepositoryItemTextEdit();
     this.repositoryItemTextEdit4   = new AtRepositoryItemTextEdit();
     this.repositoryItemLookUpEdit2 = new RepositoryItemLookUpEdit();
     this.lAwayCurrentDate          = new Label();
     this.splitterControl1          = new SplitterControl();
     this.lCurrentDate              = new Label();
     this.splitterControl2          = new SplitterControl();
     this.panel1.SuspendLayout();
     this.gridControl6.BeginInit();
     this.contextMenuStrip1.SuspendLayout();
     this.ds_valut1.BeginInit();
     this.gridView6.BeginInit();
     this.repositoryItemTextEdit1.BeginInit();
     this.repositoryItemLookUpEdit1.BeginInit();
     ((ISupportInitialize)this.valutBindingSource).BeginInit();
     this.repositoryItemTextEdit2.BeginInit();
     this.dateNavigator1.BeginInit();
     this.panel2.SuspendLayout();
     this.gridControl1.BeginInit();
     this.gridView1.BeginInit();
     this.repositoryItemTextEdit3.BeginInit();
     this.repositoryItemTextEdit4.BeginInit();
     this.repositoryItemLookUpEdit2.BeginInit();
     this.SuspendLayout();
     this.panel1.BackColor = SystemColors.Control;
     this.panel1.Controls.Add((Control)this.button3);
     this.panel1.Controls.Add((Control)this.button2);
     this.panel1.Controls.Add((Control)this.button1);
     this.panel1.Dock                                    = DockStyle.Bottom;
     this.panel1.Location                                = new Point(0, 470);
     this.panel1.Name                                    = "panel1";
     this.panel1.Size                                    = new Size(941, 33);
     this.panel1.TabIndex                                = 5;
     this.button3.Anchor                                 = AnchorStyles.Top | AnchorStyles.Right;
     this.button3.FlatStyle                              = FlatStyle.Flat;
     this.button3.Location                               = new Point(854, 5);
     this.button3.Name                                   = "button3";
     this.button3.Size                                   = new Size(75, 23);
     this.button3.TabIndex                               = 2;
     this.button3.Text                                   = "Закрыть";
     this.button3.Click                                 += new EventHandler(this.button3_Click);
     this.button2.Anchor                                 = AnchorStyles.Top | AnchorStyles.Right;
     this.button2.FlatStyle                              = FlatStyle.Flat;
     this.button2.Location                               = new Point(773, 5);
     this.button2.Name                                   = "button2";
     this.button2.Size                                   = new Size(75, 23);
     this.button2.TabIndex                               = 1;
     this.button2.Text                                   = "Отменить";
     this.button2.Click                                 += new EventHandler(this.button2_Click);
     this.button1.Anchor                                 = AnchorStyles.Top | AnchorStyles.Right;
     this.button1.FlatStyle                              = FlatStyle.Flat;
     this.button1.Location                               = new Point(692, 5);
     this.button1.Name                                   = "button1";
     this.button1.Size                                   = new Size(75, 23);
     this.button1.TabIndex                               = 0;
     this.button1.Text                                   = "Применить";
     this.button1.Click                                 += new EventHandler(this.button1_Click);
     this.gridControl6.ContextMenuStrip                  = this.contextMenuStrip1;
     this.gridControl6.DataMember                        = "valutrate";
     this.gridControl6.DataSource                        = (object)this.ds_valut1;
     this.gridControl6.Dock                              = DockStyle.Top;
     this.gridControl6.EmbeddedNavigator.Name            = "";
     this.gridControl6.Location                          = new Point(0, 23);
     this.gridControl6.LookAndFeel.Style                 = LookAndFeelStyle.Flat;
     this.gridControl6.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControl6.MainView                          = (BaseView)this.gridView6;
     this.gridControl6.Name                              = "gridControl6";
     this.gridControl6.RepositoryItems.AddRange(new RepositoryItem[3]
     {
         (RepositoryItem)this.repositoryItemTextEdit1,
         (RepositoryItem)this.repositoryItemTextEdit2,
         (RepositoryItem)this.repositoryItemLookUpEdit1
     });
     this.gridControl6.Size     = new Size(295, 245);
     this.gridControl6.TabIndex = 12;
     this.gridControl6.ViewCollection.AddRange(new BaseView[1]
     {
         (BaseView)this.gridView6
     });
     this.contextMenuStrip1.Items.AddRange(new ToolStripItem[3]
     {
         (ToolStripItem)this.toolStripMenuItem1,
         (ToolStripItem)this.toolStripSeparator1,
         (ToolStripItem)this.toolStripMenuItem2
     });
     this.contextMenuStrip1.Name                                       = "contextMenuStrip1";
     this.contextMenuStrip1.Size                                       = new Size(125, 54);
     this.toolStripMenuItem1.Name                                      = "toolStripMenuItem1";
     this.toolStripMenuItem1.Size                                      = new Size(124, 22);
     this.toolStripMenuItem1.Text                                      = "Добавить";
     this.toolStripMenuItem1.Click                                    += new EventHandler(this.toolStripMenuItem1_Click);
     this.toolStripSeparator1.Name                                     = "toolStripSeparator1";
     this.toolStripSeparator1.Size                                     = new Size(121, 6);
     this.toolStripMenuItem2.Name                                      = "toolStripMenuItem2";
     this.toolStripMenuItem2.Size                                      = new Size(124, 22);
     this.toolStripMenuItem2.Text                                      = "Удалить";
     this.toolStripMenuItem2.Click                                    += new EventHandler(this.toolStripMenuItem2_Click);
     this.ds_valut1.DataSetName                                        = "ds_valut";
     this.ds_valut1.EnforceConstraints                                 = false;
     this.ds_valut1.SchemaSerializationMode                            = SchemaSerializationMode.IncludeSchema;
     this.gridView6.Appearance.FocusedRow.BackColor                    = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.FocusedRow.BackColor2                   = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.FocusedRow.BorderColor                  = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.FocusedRow.ForeColor                    = Color.Black;
     this.gridView6.Appearance.FocusedRow.Options.UseBackColor         = true;
     this.gridView6.Appearance.FocusedRow.Options.UseBorderColor       = true;
     this.gridView6.Appearance.FocusedRow.Options.UseForeColor         = true;
     this.gridView6.Appearance.GroupPanel.BackColor                    = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.GroupPanel.BackColor2                   = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView6.Appearance.GroupPanel.Options.UseBackColor         = true;
     this.gridView6.Appearance.HideSelectionRow.BackColor              = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView6.Appearance.HideSelectionRow.BackColor2             = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView6.Appearance.HideSelectionRow.BorderColor            = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView6.Appearance.HideSelectionRow.ForeColor              = Color.Black;
     this.gridView6.Appearance.HideSelectionRow.Options.UseBackColor   = true;
     this.gridView6.Appearance.HideSelectionRow.Options.UseBorderColor = true;
     this.gridView6.Appearance.HideSelectionRow.Options.UseForeColor   = true;
     this.gridView6.Appearance.Row.Options.UseTextOptions              = true;
     this.gridView6.Appearance.Row.TextOptions.HAlignment              = HorzAlignment.Center;
     this.gridView6.Appearance.SelectedRow.BackColor                   = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.SelectedRow.BackColor2                  = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.SelectedRow.BorderColor                 = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView6.Appearance.SelectedRow.ForeColor                   = Color.Black;
     this.gridView6.Appearance.SelectedRow.Options.UseBackColor        = true;
     this.gridView6.Appearance.SelectedRow.Options.UseBorderColor      = true;
     this.gridView6.Appearance.SelectedRow.Options.UseForeColor        = true;
     this.gridView6.BorderStyle                                        = BorderStyles.Simple;
     this.gridView6.Columns.AddRange(new GridColumn[8]
     {
         this.colidvalutrate,
         this.colidvalut,
         this.colidvalut2,
         this.colsm,
         this.coldt,
         this.coldeleted,
         this.colvalut_shortname,
         this.colvalut_shortname2
     });
     this.gridView6.GridControl    = this.gridControl6;
     this.gridView6.GroupPanelText = "Панель группировки";
     this.gridView6.Name           = "gridView6";
     this.gridView6.OptionsCustomization.AllowFilter = false;
     this.gridView6.OptionsDetail.ShowDetailTabs     = false;
     this.gridView6.OptionsView.ShowDetailButtons    = false;
     this.gridView6.OptionsView.ShowFilterPanelMode  = ShowFilterPanelMode.Never;
     this.gridView6.OptionsView.ShowGroupPanel       = false;
     this.gridView6.OptionsView.ShowIndicator        = false;
     this.colidvalutrate.Caption   = "idvalutrate";
     this.colidvalutrate.FieldName = "idvalutrate";
     this.colidvalutrate.Name      = "colidvalutrate";
     this.colidvalut.Caption       = "idvalut";
     this.colidvalut.FieldName     = "idvalut";
     this.colidvalut.Name          = "colidvalut";
     this.colidvalut2.Caption      = "idvalut2";
     this.colidvalut2.FieldName    = "idvalut2";
     this.colidvalut2.Name         = "colidvalut2";
     this.colsm.Caption            = "Курс (базовой)";
     this.colsm.ColumnEdit         = (RepositoryItem)this.repositoryItemTextEdit1;
     this.colsm.FieldName          = "sm";
     this.colsm.Name         = "colsm";
     this.colsm.Visible      = true;
     this.colsm.VisibleIndex = 2;
     this.colsm.Width        = 277;
     this.repositoryItemTextEdit1.AutoHeight = false;
     this.repositoryItemTextEdit1.DisplayFormat.FormatString = "n2";
     this.repositoryItemTextEdit1.DisplayFormat.FormatType   = FormatType.Numeric;
     this.repositoryItemTextEdit1.EditFormat.FormatString    = "n2";
     this.repositoryItemTextEdit1.EditFormat.FormatType      = FormatType.Numeric;
     this.repositoryItemTextEdit1.Mask.EditMask = "n2";
     this.repositoryItemTextEdit1.Mask.MaskType = MaskType.Numeric;
     this.repositoryItemTextEdit1.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemTextEdit1.Name = "repositoryItemTextEdit1";
     this.coldt.Caption                        = "Дата";
     this.coldt.FieldName                      = "dt";
     this.coldt.Name                           = "coldt";
     this.coldt.Visible                        = true;
     this.coldt.VisibleIndex                   = 0;
     this.coldt.Width                          = 152;
     this.coldeleted.Caption                   = "deleted";
     this.coldeleted.FieldName                 = "deleted";
     this.coldeleted.Name                      = "coldeleted";
     this.colvalut_shortname.Caption           = "valut_shortname";
     this.colvalut_shortname.ColumnEdit        = (RepositoryItem)this.repositoryItemLookUpEdit1;
     this.colvalut_shortname.FieldName         = "valut_shortname";
     this.colvalut_shortname.Name              = "colvalut_shortname";
     this.repositoryItemLookUpEdit1.AutoHeight = false;
     this.repositoryItemLookUpEdit1.Buttons.AddRange(new EditorButton[1]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.repositoryItemLookUpEdit1.Columns.AddRange(new LookUpColumnInfo[2]
     {
         new LookUpColumnInfo("shortname", "Краткое название", 20, FormatType.None, "", true, HorzAlignment.Default, ColumnSortOrder.None),
         new LookUpColumnInfo("name", "Название", 20, FormatType.None, "", true, HorzAlignment.Default, ColumnSortOrder.None)
     });
     this.repositoryItemLookUpEdit1.DataSource    = (object)this.valutBindingSource;
     this.repositoryItemLookUpEdit1.DisplayMember = "shortname";
     this.repositoryItemLookUpEdit1.Name          = "repositoryItemLookUpEdit1";
     this.repositoryItemLookUpEdit1.ValueMember   = "idvalut";
     this.valutBindingSource.DataMember           = "valut";
     this.valutBindingSource.DataSource           = (object)this.ds_valut1;
     this.colvalut_shortname2.Caption             = "Валюта";
     this.colvalut_shortname2.ColumnEdit          = (RepositoryItem)this.repositoryItemLookUpEdit1;
     this.colvalut_shortname2.FieldName           = "idvalut2";
     this.colvalut_shortname2.Name                                = "colvalut_shortname2";
     this.colvalut_shortname2.Visible                             = true;
     this.colvalut_shortname2.VisibleIndex                        = 1;
     this.colvalut_shortname2.Width                               = 174;
     this.repositoryItemTextEdit2.AllowFocused                    = false;
     this.repositoryItemTextEdit2.Appearance.BackColor            = Color.Silver;
     this.repositoryItemTextEdit2.Appearance.Options.UseBackColor = true;
     this.repositoryItemTextEdit2.AutoHeight                      = false;
     this.repositoryItemTextEdit2.Name                            = "repositoryItemTextEdit2";
     this.dateNavigator1.BorderStyle                              = BorderStyles.Simple;
     this.dateNavigator1.DateTime          = new DateTime(2007, 4, 17, 0, 0, 0, 0);
     this.dateNavigator1.Dock              = DockStyle.Fill;
     this.dateNavigator1.Location          = new Point(0, 0);
     this.dateNavigator1.LookAndFeel.Style = LookAndFeelStyle.Flat;
     this.dateNavigator1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.dateNavigator1.Multiselect     = false;
     this.dateNavigator1.Name            = "dateNavigator1";
     this.dateNavigator1.ShowTodayButton = false;
     this.dateNavigator1.Size            = new Size(640, 470);
     this.dateNavigator1.TabIndex        = 15;
     this.dateNavigator1.View            = DateEditCalendarViewType.MonthInfo;
     this.panel2.Controls.Add((Control)this.gridControl1);
     this.panel2.Controls.Add((Control)this.lAwayCurrentDate);
     this.panel2.Controls.Add((Control)this.splitterControl1);
     this.panel2.Controls.Add((Control)this.gridControl6);
     this.panel2.Controls.Add((Control)this.lCurrentDate);
     this.panel2.Dock                                    = DockStyle.Right;
     this.panel2.Location                                = new Point(646, 0);
     this.panel2.Name                                    = "panel2";
     this.panel2.Size                                    = new Size(295, 470);
     this.panel2.TabIndex                                = 16;
     this.gridControl1.DataMember                        = "valutrate2";
     this.gridControl1.DataSource                        = (object)this.ds_valut1;
     this.gridControl1.Dock                              = DockStyle.Fill;
     this.gridControl1.EmbeddedNavigator.Name            = "";
     this.gridControl1.Location                          = new Point(0, 297);
     this.gridControl1.LookAndFeel.Style                 = LookAndFeelStyle.Flat;
     this.gridControl1.LookAndFeel.UseDefaultLookAndFeel = false;
     this.gridControl1.MainView                          = (BaseView)this.gridView1;
     this.gridControl1.Name                              = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new RepositoryItem[3]
     {
         (RepositoryItem)this.repositoryItemTextEdit3,
         (RepositoryItem)this.repositoryItemTextEdit4,
         (RepositoryItem)this.repositoryItemLookUpEdit2
     });
     this.gridControl1.Size     = new Size(295, 173);
     this.gridControl1.TabIndex = 13;
     this.gridControl1.ViewCollection.AddRange(new BaseView[1]
     {
         (BaseView)this.gridView1
     });
     this.gridView1.Appearance.FocusedRow.BackColor                    = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.FocusedRow.BackColor2                   = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.FocusedRow.BorderColor                  = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.FocusedRow.ForeColor                    = Color.Black;
     this.gridView1.Appearance.FocusedRow.Options.UseBackColor         = true;
     this.gridView1.Appearance.FocusedRow.Options.UseBorderColor       = true;
     this.gridView1.Appearance.FocusedRow.Options.UseForeColor         = true;
     this.gridView1.Appearance.GroupPanel.BackColor                    = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.GroupPanel.BackColor2                   = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView1.Appearance.GroupPanel.Options.UseBackColor         = true;
     this.gridView1.Appearance.HideSelectionRow.BackColor              = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView1.Appearance.HideSelectionRow.BackColor2             = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView1.Appearance.HideSelectionRow.BorderColor            = Color.FromArgb(192, 192, (int)byte.MaxValue);
     this.gridView1.Appearance.HideSelectionRow.ForeColor              = Color.Black;
     this.gridView1.Appearance.HideSelectionRow.Options.UseBackColor   = true;
     this.gridView1.Appearance.HideSelectionRow.Options.UseBorderColor = true;
     this.gridView1.Appearance.HideSelectionRow.Options.UseForeColor   = true;
     this.gridView1.Appearance.Row.Options.UseTextOptions              = true;
     this.gridView1.Appearance.Row.TextOptions.HAlignment              = HorzAlignment.Center;
     this.gridView1.Appearance.SelectedRow.BackColor                   = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.SelectedRow.BackColor2                  = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.SelectedRow.BorderColor                 = Color.FromArgb(128, 128, (int)byte.MaxValue);
     this.gridView1.Appearance.SelectedRow.ForeColor                   = Color.Black;
     this.gridView1.Appearance.SelectedRow.Options.UseBackColor        = true;
     this.gridView1.Appearance.SelectedRow.Options.UseBorderColor      = true;
     this.gridView1.Appearance.SelectedRow.Options.UseForeColor        = true;
     this.gridView1.BorderStyle = BorderStyles.Simple;
     this.gridView1.Columns.AddRange(new GridColumn[3]
     {
         this.coldt1,
         this.colsm1,
         this.colvalut_shortname1
     });
     this.gridView1.GridControl                      = this.gridControl1;
     this.gridView1.GroupPanelText                   = "Панель группировки";
     this.gridView1.Name                             = "gridView1";
     this.gridView1.OptionsBehavior.Editable         = false;
     this.gridView1.OptionsCustomization.AllowFilter = false;
     this.gridView1.OptionsDetail.ShowDetailTabs     = false;
     this.gridView1.OptionsView.ShowDetailButtons    = false;
     this.gridView1.OptionsView.ShowFilterPanelMode  = ShowFilterPanelMode.Never;
     this.gridView1.OptionsView.ShowGroupPanel       = false;
     this.gridView1.OptionsView.ShowIndicator        = false;
     this.coldt1.Caption                             = "Дата";
     this.coldt1.FieldName                           = "dt";
     this.coldt1.Name                        = "coldt1";
     this.coldt1.Visible                     = true;
     this.coldt1.VisibleIndex                = 0;
     this.coldt1.Width                       = 350;
     this.colsm1.Caption                     = "Курс (базовой)";
     this.colsm1.FieldName                   = "sm";
     this.colsm1.Name                        = "colsm1";
     this.colsm1.Visible                     = true;
     this.colsm1.VisibleIndex                = 2;
     this.colsm1.Width                       = 306;
     this.colvalut_shortname1.Caption        = "Валюта";
     this.colvalut_shortname1.FieldName      = "valut_shortname";
     this.colvalut_shortname1.Name           = "colvalut_shortname1";
     this.colvalut_shortname1.Visible        = true;
     this.colvalut_shortname1.VisibleIndex   = 1;
     this.colvalut_shortname1.Width          = 388;
     this.repositoryItemTextEdit3.AutoHeight = false;
     this.repositoryItemTextEdit3.DisplayFormat.FormatString = "n2";
     this.repositoryItemTextEdit3.DisplayFormat.FormatType   = FormatType.Numeric;
     this.repositoryItemTextEdit3.EditFormat.FormatString    = "n2";
     this.repositoryItemTextEdit3.EditFormat.FormatType      = FormatType.Numeric;
     this.repositoryItemTextEdit3.Mask.EditMask = "n2";
     this.repositoryItemTextEdit3.Mask.MaskType = MaskType.Numeric;
     this.repositoryItemTextEdit3.Mask.UseMaskAsDisplayFormat = true;
     this.repositoryItemTextEdit3.Name                            = "repositoryItemTextEdit3";
     this.repositoryItemTextEdit4.AllowFocused                    = false;
     this.repositoryItemTextEdit4.Appearance.BackColor            = Color.Silver;
     this.repositoryItemTextEdit4.Appearance.Options.UseBackColor = true;
     this.repositoryItemTextEdit4.AutoHeight                      = false;
     this.repositoryItemTextEdit4.Name                            = "repositoryItemTextEdit4";
     this.repositoryItemLookUpEdit2.AutoHeight                    = false;
     this.repositoryItemLookUpEdit2.Buttons.AddRange(new EditorButton[1]
     {
         new EditorButton(ButtonPredefines.Combo)
     });
     this.repositoryItemLookUpEdit2.Columns.AddRange(new LookUpColumnInfo[2]
     {
         new LookUpColumnInfo("shortname", "Краткое название", 20, FormatType.None, "", true, HorzAlignment.Default, ColumnSortOrder.None),
         new LookUpColumnInfo("name", "Название", 20, FormatType.None, "", true, HorzAlignment.Default, ColumnSortOrder.None)
     });
     this.repositoryItemLookUpEdit2.DataSource    = (object)this.valutBindingSource;
     this.repositoryItemLookUpEdit2.DisplayMember = "shortname";
     this.repositoryItemLookUpEdit2.Name          = "repositoryItemLookUpEdit2";
     this.repositoryItemLookUpEdit2.ValueMember   = "idvalut";
     this.lAwayCurrentDate.Dock      = DockStyle.Top;
     this.lAwayCurrentDate.Location  = new Point(0, 274);
     this.lAwayCurrentDate.Name      = "lAwayCurrentDate";
     this.lAwayCurrentDate.Size      = new Size(295, 23);
     this.lAwayCurrentDate.TabIndex  = 16;
     this.lAwayCurrentDate.Text      = "Курсы на дату ближайшую от";
     this.lAwayCurrentDate.TextAlign = ContentAlignment.MiddleLeft;
     this.splitterControl1.Dock      = DockStyle.Top;
     this.splitterControl1.Location  = new Point(0, 268);
     this.splitterControl1.Name      = "splitterControl1";
     this.splitterControl1.Size      = new Size(295, 6);
     this.splitterControl1.TabIndex  = 14;
     this.splitterControl1.TabStop   = false;
     this.lCurrentDate.Dock          = DockStyle.Top;
     this.lCurrentDate.Location      = new Point(0, 0);
     this.lCurrentDate.Name          = "lCurrentDate";
     this.lCurrentDate.Size          = new Size(295, 23);
     this.lCurrentDate.TabIndex      = 15;
     this.lCurrentDate.Text          = "Курсы на";
     this.lCurrentDate.TextAlign     = ContentAlignment.MiddleLeft;
     this.splitterControl2.Dock      = DockStyle.Right;
     this.splitterControl2.Location  = new Point(640, 0);
     this.splitterControl2.Name      = "splitterControl2";
     this.splitterControl2.Size      = new Size(6, 470);
     this.splitterControl2.TabIndex  = 17;
     this.splitterControl2.TabStop   = false;
     this.AutoScaleDimensions        = new SizeF(6f, 13f);
     this.AutoScaleMode = AutoScaleMode.Font;
     this.BackColor     = Color.White;
     this.Controls.Add((Control)this.dateNavigator1);
     this.Controls.Add((Control)this.splitterControl2);
     this.Controls.Add((Control)this.panel2);
     this.Controls.Add((Control)this.panel1);
     this.Name = "ValutCursForm";
     this.Size = new Size(941, 503);
     this.Text = "Курсы валют";
     this.panel1.ResumeLayout(false);
     this.gridControl6.EndInit();
     this.contextMenuStrip1.ResumeLayout(false);
     this.ds_valut1.EndInit();
     this.gridView6.EndInit();
     this.repositoryItemTextEdit1.EndInit();
     this.repositoryItemLookUpEdit1.EndInit();
     ((ISupportInitialize)this.valutBindingSource).EndInit();
     this.repositoryItemTextEdit2.EndInit();
     this.dateNavigator1.EndInit();
     this.panel2.ResumeLayout(false);
     this.gridControl1.EndInit();
     this.gridView1.EndInit();
     this.repositoryItemTextEdit3.EndInit();
     this.repositoryItemTextEdit4.EndInit();
     this.repositoryItemLookUpEdit2.EndInit();
     this.ResumeLayout(false);
 }
예제 #7
0
 void DateNavigator_SelectedDatesChanged(object sender, Infragistics.Controls.Editors.SelectedDatesChangedEventArgs e)
 {
     outlookDateNavigatorSelectedDatesChanged.Publish(new ObservableCollection <DateTime>(DateNavigator.GetSelectedDates()));
     UpdateVisibleActivitiesCount();
 }
예제 #8
0
 public CustomCellStyleProvider(DateNavigator dateNavigator)
 {
     _dateNavigator = dateNavigator;
 }
 public CustomCellStyleProvider(DateNavigator calendar)
 {
     this.dateNavigator = calendar;
 }
예제 #10
0
 private void InitializeComponent()
 {
     this.backLabelTitle = new SkinLabel();
     this.gpgLabel1 = new GPGLabel();
     this.gpgLabel2 = new GPGLabel();
     this.tbName = new GPGTextBox();
     this.tbDescription = new GPGTextArea();
     this.gpgLabel3 = new GPGLabel();
     this.gpgLabel4 = new GPGLabel();
     this.tbLegal = new GPGTextArea();
     this.gpgLabel5 = new GPGLabel();
     this.tbWebURL = new GPGTextBox();
     this.gpgLabel6 = new GPGLabel();
     this.gpgLabel7 = new GPGLabel();
     this.gpgLabel8 = new GPGLabel();
     this.gpgLabel9 = new GPGLabel();
     this.gpgLabel10 = new GPGLabel();
     this.gpgLabel11 = new GPGLabel();
     this.tbAssistantTDs = new GPGTextBox();
     this.skinButtonCancel = new SkinButton();
     this.skinButtonOK = new SkinButton();
     this.cbType = new GPGDropDownList();
     this.cbFaction = new GPGDropDownList();
     this.cbNumberOfRounds = new GPGDropDownList();
     this.cbRoundLength = new GPGDropDownList();
     this.cbMap = new GPGDropDownList();
     this.pbFaction = new GPGPictureBox();
     this.pbMap = new GPGPictureBox();
     this.lSize = new GPGLabel();
     this.lMaxPlayers = new GPGLabel();
     this.cbDate = new GPGComboBox();
     this.cbpCalander = new GPGComboBoxPanel();
     this.dTournamentDate = new DateNavigator();
     this.tTournamentTime = new TimeEdit();
     this.cbRestriction = new GPGDropDownList();
     this.gpgLabel12 = new GPGLabel();
     ((ISupportInitialize) base.pbBottom).BeginInit();
     this.tbName.Properties.BeginInit();
     this.tbDescription.Properties.BeginInit();
     this.tbLegal.Properties.BeginInit();
     this.tbWebURL.Properties.BeginInit();
     this.tbAssistantTDs.Properties.BeginInit();
     ((ISupportInitialize) this.pbFaction).BeginInit();
     ((ISupportInitialize) this.pbMap).BeginInit();
     this.cbDate.Properties.BeginInit();
     this.cbpCalander.BeginInit();
     this.cbpCalander.SuspendLayout();
     this.dTournamentDate.BeginInit();
     this.tTournamentTime.Properties.BeginInit();
     base.SuspendLayout();
     base.pbBottom.Size = new Size(0x2ef, 0x39);
     base.ttDefault.SetSuperTip(base.pbBottom, null);
     base.ttDefault.DefaultController.AutoPopDelay = 0x3e8;
     base.ttDefault.DefaultController.ToolTipLocation = ToolTipLocation.RightTop;
     this.backLabelTitle.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.backLabelTitle.AutoStyle = false;
     this.backLabelTitle.BackColor = Color.Transparent;
     this.backLabelTitle.DrawEdges = true;
     this.backLabelTitle.Font = new Font("Arial", 20f, FontStyle.Bold);
     this.backLabelTitle.ForeColor = Color.White;
     this.backLabelTitle.HorizontalScalingMode = ScalingModes.Tile;
     this.backLabelTitle.IsStyled = false;
     this.backLabelTitle.Location = new Point(7, 0x3e);
     this.backLabelTitle.Name = "backLabelTitle";
     this.backLabelTitle.Size = new Size(0x31c, 0x3b);
     this.backLabelTitle.SkinBasePath = @"Controls\Background Label\Tournaments";
     base.ttDefault.SetSuperTip(this.backLabelTitle, null);
     this.backLabelTitle.TabIndex = 8;
     this.backLabelTitle.Text = "<LOC>Create New Tournament";
     this.backLabelTitle.TextAlign = ContentAlignment.MiddleLeft;
     this.backLabelTitle.TextPadding = new Padding(10, 0, 0, 0);
     this.gpgLabel1.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel1.AutoStyle = true;
     this.gpgLabel1.Font = new Font("Arial", 9.75f);
     this.gpgLabel1.ForeColor = Color.White;
     this.gpgLabel1.IgnoreMouseWheel = false;
     this.gpgLabel1.IsStyled = false;
     this.gpgLabel1.Location = new Point(7, 0x98);
     this.gpgLabel1.Name = "gpgLabel1";
     this.gpgLabel1.Size = new Size(0xa6, 0x17);
     base.ttDefault.SetSuperTip(this.gpgLabel1, null);
     this.gpgLabel1.TabIndex = 9;
     this.gpgLabel1.Text = "<LOC>Tournament Name";
     this.gpgLabel1.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel1.TextStyle = TextStyles.Default;
     this.gpgLabel2.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel2.AutoStyle = true;
     this.gpgLabel2.Font = new Font("Arial", 9.75f);
     this.gpgLabel2.ForeColor = Color.White;
     this.gpgLabel2.IgnoreMouseWheel = false;
     this.gpgLabel2.IsStyled = false;
     this.gpgLabel2.Location = new Point(7, 0xb3);
     this.gpgLabel2.Name = "gpgLabel2";
     this.gpgLabel2.Size = new Size(0xa6, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel2, null);
     this.gpgLabel2.TabIndex = 10;
     this.gpgLabel2.Text = "<LOC>Description";
     this.gpgLabel2.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel2.TextStyle = TextStyles.Default;
     this.tbName.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Top;
     this.tbName.Location = new Point(0xb3, 0x98);
     this.tbName.Name = "tbName";
     this.tbName.Properties.Appearance.BackColor = Color.Black;
     this.tbName.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbName.Properties.Appearance.ForeColor = Color.White;
     this.tbName.Properties.Appearance.Options.UseBackColor = true;
     this.tbName.Properties.Appearance.Options.UseBorderColor = true;
     this.tbName.Properties.Appearance.Options.UseForeColor = true;
     this.tbName.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbName.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbName.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbName.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbName.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbName.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbName.Properties.BorderStyle = BorderStyles.Simple;
     this.tbName.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbName.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbName.Size = new Size(0x11d, 20);
     this.tbName.TabIndex = 11;
     this.tbDescription.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom | AnchorStyles.Top;
     this.tbDescription.BorderColor = Color.White;
     this.tbDescription.Location = new Point(0xb3, 0xb2);
     this.tbDescription.Name = "tbDescription";
     this.tbDescription.Properties.Appearance.BackColor = Color.Black;
     this.tbDescription.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbDescription.Properties.Appearance.ForeColor = Color.White;
     this.tbDescription.Properties.Appearance.Options.UseBackColor = true;
     this.tbDescription.Properties.Appearance.Options.UseBorderColor = true;
     this.tbDescription.Properties.Appearance.Options.UseForeColor = true;
     this.tbDescription.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbDescription.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbDescription.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbDescription.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbDescription.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbDescription.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbDescription.Properties.BorderStyle = BorderStyles.Simple;
     this.tbDescription.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbDescription.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbDescription.Size = new Size(0x25f, 0x3b);
     this.tbDescription.TabIndex = 12;
     this.gpgLabel3.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.gpgLabel3.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel3.AutoStyle = true;
     this.gpgLabel3.Font = new Font("Arial", 9.75f);
     this.gpgLabel3.ForeColor = Color.White;
     this.gpgLabel3.IgnoreMouseWheel = false;
     this.gpgLabel3.IsStyled = false;
     this.gpgLabel3.Location = new Point(470, 0x98);
     this.gpgLabel3.Name = "gpgLabel3";
     this.gpgLabel3.Size = new Size(0xb2, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel3, null);
     this.gpgLabel3.TabIndex = 13;
     this.gpgLabel3.Text = "<LOC>Tournament Type";
     this.gpgLabel3.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel3.TextStyle = TextStyles.Default;
     this.gpgLabel4.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel4.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel4.AutoStyle = true;
     this.gpgLabel4.Font = new Font("Arial", 9.75f);
     this.gpgLabel4.ForeColor = Color.White;
     this.gpgLabel4.IgnoreMouseWheel = false;
     this.gpgLabel4.IsStyled = false;
     this.gpgLabel4.Location = new Point(7, 0xf4);
     this.gpgLabel4.Name = "gpgLabel4";
     this.gpgLabel4.Size = new Size(0xa6, 0x2e);
     base.ttDefault.SetSuperTip(this.gpgLabel4, null);
     this.gpgLabel4.TabIndex = 15;
     this.gpgLabel4.Text = "<LOC>Legal (use with prizes)";
     this.gpgLabel4.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel4.TextStyle = TextStyles.Default;
     this.tbLegal.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.tbLegal.BorderColor = Color.White;
     this.tbLegal.Location = new Point(0xb3, 0xf4);
     this.tbLegal.Name = "tbLegal";
     this.tbLegal.Properties.Appearance.BackColor = Color.Black;
     this.tbLegal.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbLegal.Properties.Appearance.ForeColor = Color.White;
     this.tbLegal.Properties.Appearance.Options.UseBackColor = true;
     this.tbLegal.Properties.Appearance.Options.UseBorderColor = true;
     this.tbLegal.Properties.Appearance.Options.UseForeColor = true;
     this.tbLegal.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbLegal.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbLegal.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbLegal.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbLegal.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbLegal.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbLegal.Properties.BorderStyle = BorderStyles.Simple;
     this.tbLegal.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbLegal.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbLegal.Size = new Size(0x25f, 0x3b);
     this.tbLegal.TabIndex = 0x10;
     this.gpgLabel5.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel5.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel5.AutoStyle = true;
     this.gpgLabel5.Font = new Font("Arial", 9.75f);
     this.gpgLabel5.ForeColor = Color.White;
     this.gpgLabel5.IgnoreMouseWheel = false;
     this.gpgLabel5.IsStyled = false;
     this.gpgLabel5.Location = new Point(7, 310);
     this.gpgLabel5.Name = "gpgLabel5";
     this.gpgLabel5.Size = new Size(0xa6, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel5, null);
     this.gpgLabel5.TabIndex = 0x11;
     this.gpgLabel5.Text = "<LOC>Website URL";
     this.gpgLabel5.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel5.TextStyle = TextStyles.Default;
     this.tbWebURL.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.tbWebURL.Location = new Point(0xb3, 310);
     this.tbWebURL.Name = "tbWebURL";
     this.tbWebURL.Properties.Appearance.BackColor = Color.Black;
     this.tbWebURL.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbWebURL.Properties.Appearance.ForeColor = Color.White;
     this.tbWebURL.Properties.Appearance.Options.UseBackColor = true;
     this.tbWebURL.Properties.Appearance.Options.UseBorderColor = true;
     this.tbWebURL.Properties.Appearance.Options.UseForeColor = true;
     this.tbWebURL.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbWebURL.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbWebURL.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbWebURL.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbWebURL.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbWebURL.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbWebURL.Properties.BorderStyle = BorderStyles.Simple;
     this.tbWebURL.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbWebURL.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbWebURL.Size = new Size(0x25f, 20);
     this.tbWebURL.TabIndex = 0x12;
     this.gpgLabel6.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel6.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel6.AutoStyle = true;
     this.gpgLabel6.Font = new Font("Arial", 9.75f);
     this.gpgLabel6.ForeColor = Color.White;
     this.gpgLabel6.IgnoreMouseWheel = false;
     this.gpgLabel6.IsStyled = false;
     this.gpgLabel6.Location = new Point(7, 0x150);
     this.gpgLabel6.Name = "gpgLabel6";
     this.gpgLabel6.Size = new Size(0xa6, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel6, null);
     this.gpgLabel6.TabIndex = 0x1b;
     this.gpgLabel6.Text = "<LOC>Faction Restriction";
     this.gpgLabel6.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel6.TextStyle = TextStyles.Default;
     this.gpgLabel7.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel7.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel7.AutoStyle = true;
     this.gpgLabel7.Font = new Font("Arial", 9.75f);
     this.gpgLabel7.ForeColor = Color.White;
     this.gpgLabel7.IgnoreMouseWheel = false;
     this.gpgLabel7.IsStyled = false;
     this.gpgLabel7.Location = new Point(0x144, 0x150);
     this.gpgLabel7.Name = "gpgLabel7";
     this.gpgLabel7.Size = new Size(0xad, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel7, null);
     this.gpgLabel7.TabIndex = 0x1c;
     this.gpgLabel7.Text = "<LOC>Map Restriction";
     this.gpgLabel7.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel7.TextStyle = TextStyles.Default;
     this.gpgLabel8.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel8.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel8.AutoStyle = true;
     this.gpgLabel8.Font = new Font("Arial", 9.75f);
     this.gpgLabel8.ForeColor = Color.White;
     this.gpgLabel8.IgnoreMouseWheel = false;
     this.gpgLabel8.IsStyled = false;
     this.gpgLabel8.Location = new Point(7, 0x184);
     this.gpgLabel8.Name = "gpgLabel8";
     this.gpgLabel8.Size = new Size(0xa6, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel8, null);
     this.gpgLabel8.TabIndex = 0x1d;
     this.gpgLabel8.Text = "<LOC>Tournament Date";
     this.gpgLabel8.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel8.TextStyle = TextStyles.Default;
     this.gpgLabel9.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel9.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel9.AutoStyle = true;
     this.gpgLabel9.Font = new Font("Arial", 9.75f);
     this.gpgLabel9.ForeColor = Color.White;
     this.gpgLabel9.IgnoreMouseWheel = false;
     this.gpgLabel9.IsStyled = false;
     this.gpgLabel9.Location = new Point(15, 440);
     this.gpgLabel9.Name = "gpgLabel9";
     this.gpgLabel9.Size = new Size(0x9b, 0x13);
     base.ttDefault.SetSuperTip(this.gpgLabel9, null);
     this.gpgLabel9.TabIndex = 30;
     this.gpgLabel9.Text = "<LOC>Round Length";
     this.gpgLabel9.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel9.TextStyle = TextStyles.Default;
     this.gpgLabel10.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel10.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel10.AutoStyle = true;
     this.gpgLabel10.Font = new Font("Arial", 9.75f);
     this.gpgLabel10.ForeColor = Color.White;
     this.gpgLabel10.IgnoreMouseWheel = false;
     this.gpgLabel10.IsStyled = false;
     this.gpgLabel10.Location = new Point(7, 0x19f);
     this.gpgLabel10.Name = "gpgLabel10";
     this.gpgLabel10.Size = new Size(0xa6, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel10, null);
     this.gpgLabel10.TabIndex = 0x1f;
     this.gpgLabel10.Text = "<LOC>Number of Rounds";
     this.gpgLabel10.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel10.TextStyle = TextStyles.Default;
     this.gpgLabel11.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel11.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel11.AutoStyle = true;
     this.gpgLabel11.Font = new Font("Arial", 9.75f);
     this.gpgLabel11.ForeColor = Color.White;
     this.gpgLabel11.IgnoreMouseWheel = false;
     this.gpgLabel11.IsStyled = false;
     this.gpgLabel11.Location = new Point(12, 0x1d2);
     this.gpgLabel11.Name = "gpgLabel11";
     this.gpgLabel11.Size = new Size(0xa1, 0x13);
     base.ttDefault.SetSuperTip(this.gpgLabel11, null);
     this.gpgLabel11.TabIndex = 0x20;
     this.gpgLabel11.Text = "<LOC>Assistant TDs";
     this.gpgLabel11.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel11.TextStyle = TextStyles.Default;
     this.tbAssistantTDs.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.tbAssistantTDs.Location = new Point(0xb3, 0x1d1);
     this.tbAssistantTDs.Name = "tbAssistantTDs";
     this.tbAssistantTDs.Properties.Appearance.BackColor = Color.Black;
     this.tbAssistantTDs.Properties.Appearance.BorderColor = Color.FromArgb(0x52, 0x83, 190);
     this.tbAssistantTDs.Properties.Appearance.ForeColor = Color.White;
     this.tbAssistantTDs.Properties.Appearance.Options.UseBackColor = true;
     this.tbAssistantTDs.Properties.Appearance.Options.UseBorderColor = true;
     this.tbAssistantTDs.Properties.Appearance.Options.UseForeColor = true;
     this.tbAssistantTDs.Properties.AppearanceFocused.BackColor = Color.FromArgb(0x10, 0x21, 0x4f);
     this.tbAssistantTDs.Properties.AppearanceFocused.BackColor2 = Color.FromArgb(0, 0, 0);
     this.tbAssistantTDs.Properties.AppearanceFocused.BorderColor = Color.FromArgb(0xbb, 0xc9, 0xe2);
     this.tbAssistantTDs.Properties.AppearanceFocused.GradientMode = LinearGradientMode.ForwardDiagonal;
     this.tbAssistantTDs.Properties.AppearanceFocused.Options.UseBackColor = true;
     this.tbAssistantTDs.Properties.AppearanceFocused.Options.UseBorderColor = true;
     this.tbAssistantTDs.Properties.BorderStyle = BorderStyles.Simple;
     this.tbAssistantTDs.Properties.LookAndFeel.SkinName = "London Liquid Sky";
     this.tbAssistantTDs.Properties.LookAndFeel.UseDefaultLookAndFeel = false;
     this.tbAssistantTDs.Size = new Size(0x194, 20);
     this.tbAssistantTDs.TabIndex = 0x21;
     this.tbAssistantTDs.EditValueChanged += new EventHandler(this.gpgTextBox3_EditValueChanged);
     this.skinButtonCancel.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonCancel.AutoStyle = true;
     this.skinButtonCancel.BackColor = Color.Black;
     this.skinButtonCancel.ButtonState = 0;
     this.skinButtonCancel.DialogResult = DialogResult.OK;
     this.skinButtonCancel.DisabledForecolor = Color.Gray;
     this.skinButtonCancel.DrawColor = Color.White;
     this.skinButtonCancel.DrawEdges = true;
     this.skinButtonCancel.FocusColor = Color.Yellow;
     this.skinButtonCancel.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonCancel.ForeColor = Color.White;
     this.skinButtonCancel.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonCancel.IsStyled = true;
     this.skinButtonCancel.Location = new Point(0x2b5, 0x1d3);
     this.skinButtonCancel.Name = "skinButtonCancel";
     this.skinButtonCancel.Size = new Size(0x5d, 0x1c);
     this.skinButtonCancel.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonCancel, null);
     this.skinButtonCancel.TabIndex = 0x23;
     this.skinButtonCancel.TabStop = true;
     this.skinButtonCancel.Text = "<LOC>Cancel";
     this.skinButtonCancel.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonCancel.TextPadding = new Padding(0);
     this.skinButtonCancel.Click += new EventHandler(this.skinButtonCancel_Click);
     this.skinButtonOK.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.skinButtonOK.AutoStyle = true;
     this.skinButtonOK.BackColor = Color.Black;
     this.skinButtonOK.ButtonState = 0;
     this.skinButtonOK.DialogResult = DialogResult.OK;
     this.skinButtonOK.DisabledForecolor = Color.Gray;
     this.skinButtonOK.DrawColor = Color.White;
     this.skinButtonOK.DrawEdges = true;
     this.skinButtonOK.FocusColor = Color.Yellow;
     this.skinButtonOK.Font = new Font("Verdana", 8f, FontStyle.Bold);
     this.skinButtonOK.ForeColor = Color.White;
     this.skinButtonOK.HorizontalScalingMode = ScalingModes.Tile;
     this.skinButtonOK.IsStyled = true;
     this.skinButtonOK.Location = new Point(0x253, 0x1d3);
     this.skinButtonOK.Name = "skinButtonOK";
     this.skinButtonOK.Size = new Size(0x5d, 0x1c);
     this.skinButtonOK.SkinBasePath = @"Controls\Button\Round Edge";
     base.ttDefault.SetSuperTip(this.skinButtonOK, null);
     this.skinButtonOK.TabIndex = 0x22;
     this.skinButtonOK.TabStop = true;
     this.skinButtonOK.Text = "<LOC>Create";
     this.skinButtonOK.TextAlign = ContentAlignment.MiddleCenter;
     this.skinButtonOK.TextPadding = new Padding(0);
     this.skinButtonOK.Click += new EventHandler(this.skinButtonOK_Click);
     this.cbType.Anchor = AnchorStyles.Right | AnchorStyles.Top;
     this.cbType.BackColor = Color.Black;
     this.cbType.BorderColor = Color.White;
     this.cbType.DoValidate = true;
     this.cbType.FlatStyle = FlatStyle.Flat;
     this.cbType.FocusBackColor = Color.Empty;
     this.cbType.FocusBorderColor = Color.Empty;
     this.cbType.FormattingEnabled = true;
     this.cbType.Items.AddRange(new object[] { "Swiss Style", "Manual Brackets" });
     this.cbType.Location = new Point(0x28e, 0x98);
     this.cbType.Name = "cbType";
     this.cbType.Size = new Size(0x84, 0x15);
     base.ttDefault.SetSuperTip(this.cbType, null);
     this.cbType.TabIndex = 0x25;
     this.cbFaction.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbFaction.BackColor = Color.Black;
     this.cbFaction.BorderColor = Color.White;
     this.cbFaction.DoValidate = true;
     this.cbFaction.FlatStyle = FlatStyle.Flat;
     this.cbFaction.FocusBackColor = Color.Empty;
     this.cbFaction.FocusBorderColor = Color.Empty;
     this.cbFaction.FormattingEnabled = true;
     this.cbFaction.Items.AddRange(new object[] { "Any Faction", "Random Faction", "Aeon", "Cybran", "UEF" });
     this.cbFaction.Location = new Point(0xb3, 0x150);
     this.cbFaction.Name = "cbFaction";
     this.cbFaction.Size = new Size(0x84, 0x15);
     base.ttDefault.SetSuperTip(this.cbFaction, null);
     this.cbFaction.TabIndex = 0x26;
     this.cbFaction.SelectedValueChanged += new EventHandler(this.cbFaction_SelectedValueChanged);
     this.cbNumberOfRounds.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbNumberOfRounds.BackColor = Color.Black;
     this.cbNumberOfRounds.BorderColor = Color.White;
     this.cbNumberOfRounds.DoValidate = true;
     this.cbNumberOfRounds.FlatStyle = FlatStyle.Flat;
     this.cbNumberOfRounds.FocusBackColor = Color.Empty;
     this.cbNumberOfRounds.FocusBorderColor = Color.Empty;
     this.cbNumberOfRounds.FormattingEnabled = true;
     this.cbNumberOfRounds.Items.AddRange(new object[] { "Automatic", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" });
     this.cbNumberOfRounds.Location = new Point(0xb3, 0x19c);
     this.cbNumberOfRounds.Name = "cbNumberOfRounds";
     this.cbNumberOfRounds.Size = new Size(0xb8, 0x15);
     base.ttDefault.SetSuperTip(this.cbNumberOfRounds, null);
     this.cbNumberOfRounds.TabIndex = 40;
     this.cbRoundLength.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbRoundLength.BackColor = Color.Black;
     this.cbRoundLength.BorderColor = Color.White;
     this.cbRoundLength.DoValidate = true;
     this.cbRoundLength.FlatStyle = FlatStyle.Flat;
     this.cbRoundLength.FocusBackColor = Color.Empty;
     this.cbRoundLength.FocusBorderColor = Color.Empty;
     this.cbRoundLength.FormattingEnabled = true;
     this.cbRoundLength.Items.AddRange(new object[] { "Until all games are finished", "60 minutes", "50 minutes", "40 minutes", "30 minutes", "20 minutes", "10 minutes" });
     this.cbRoundLength.Location = new Point(0xb3, 0x1b6);
     this.cbRoundLength.Name = "cbRoundLength";
     this.cbRoundLength.Size = new Size(0xb8, 0x15);
     base.ttDefault.SetSuperTip(this.cbRoundLength, null);
     this.cbRoundLength.TabIndex = 0x29;
     this.cbMap.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbMap.BackColor = Color.Black;
     this.cbMap.BorderColor = Color.White;
     this.cbMap.DisplayMember = "MapCheckName";
     this.cbMap.DoValidate = true;
     this.cbMap.FlatStyle = FlatStyle.Flat;
     this.cbMap.FocusBackColor = Color.Empty;
     this.cbMap.FocusBorderColor = Color.Empty;
     this.cbMap.FormattingEnabled = true;
     this.cbMap.Location = new Point(0x1f7, 0x14f);
     this.cbMap.Name = "cbMap";
     this.cbMap.Size = new Size(0xa3, 0x15);
     base.ttDefault.SetSuperTip(this.cbMap, null);
     this.cbMap.TabIndex = 0x2a;
     this.cbMap.Text = "Any Map";
     this.cbMap.SelectedValueChanged += new EventHandler(this.cbMap_SelectedValueChanged);
     this.pbFaction.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.pbFaction.Location = new Point(0x13e, 0x14b);
     this.pbFaction.Name = "pbFaction";
     this.pbFaction.Size = new Size(50, 50);
     base.ttDefault.SetSuperTip(this.pbFaction, null);
     this.pbFaction.TabIndex = 0x2b;
     this.pbFaction.TabStop = false;
     this.pbMap.Anchor = AnchorStyles.Right | AnchorStyles.Bottom;
     this.pbMap.Location = new Point(0x2a0, 0x14f);
     this.pbMap.MaximumSize = new Size(200, 200);
     this.pbMap.Name = "pbMap";
     this.pbMap.Size = new Size(0x7d, 0x7d);
     this.pbMap.SizeMode = PictureBoxSizeMode.StretchImage;
     base.ttDefault.SetSuperTip(this.pbMap, null);
     this.pbMap.TabIndex = 0x2c;
     this.pbMap.TabStop = false;
     this.lSize.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.lSize.AutoGrowDirection = GrowDirections.None;
     this.lSize.AutoStyle = true;
     this.lSize.Font = new Font("Arial", 9.75f);
     this.lSize.ForeColor = Color.White;
     this.lSize.IgnoreMouseWheel = false;
     this.lSize.IsStyled = false;
     this.lSize.Location = new Point(0x1ed, 0x16d);
     this.lSize.Name = "lSize";
     this.lSize.Size = new Size(0xad, 0x10);
     base.ttDefault.SetSuperTip(this.lSize, null);
     this.lSize.TabIndex = 0x2d;
     this.lSize.Text = "Size: 64, 64";
     this.lSize.TextAlign = ContentAlignment.TopRight;
     this.lSize.TextStyle = TextStyles.Default;
     this.lMaxPlayers.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.lMaxPlayers.AutoGrowDirection = GrowDirections.None;
     this.lMaxPlayers.AutoStyle = true;
     this.lMaxPlayers.Font = new Font("Arial", 9.75f);
     this.lMaxPlayers.ForeColor = Color.White;
     this.lMaxPlayers.IgnoreMouseWheel = false;
     this.lMaxPlayers.IsStyled = false;
     this.lMaxPlayers.Location = new Point(0x1ed, 0x17d);
     this.lMaxPlayers.Name = "lMaxPlayers";
     this.lMaxPlayers.Size = new Size(0xad, 0x10);
     base.ttDefault.SetSuperTip(this.lMaxPlayers, null);
     this.lMaxPlayers.TabIndex = 0x2e;
     this.lMaxPlayers.Text = "Max Players: 8";
     this.lMaxPlayers.TextAlign = ContentAlignment.TopRight;
     this.lMaxPlayers.TextStyle = TextStyles.Default;
     this.cbDate.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbDate.BorderColor = Color.White;
     this.cbDate.Location = new Point(0xb3, 0x182);
     this.cbDate.Name = "cbDate";
     this.cbDate.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
     this.cbDate.Properties.NullText = "None";
     this.cbDate.Properties.PopupControl = this.cbpCalander;
     this.cbDate.Size = new Size(0xb8, 20);
     this.cbDate.TabIndex = 0x2f;
     this.cbDate.QueryPopUp += new CancelEventHandler(this.cbDate_QueryPopUp);
     this.cbpCalander.Appearance.BackColor = Color.Black;
     this.cbpCalander.Appearance.ForeColor = Color.White;
     this.cbpCalander.Appearance.Options.UseBackColor = true;
     this.cbpCalander.Appearance.Options.UseForeColor = true;
     this.cbpCalander.Controls.Add(this.dTournamentDate);
     this.cbpCalander.Controls.Add(this.tTournamentTime);
     this.cbpCalander.Location = new Point(0xb3, 0x19c);
     this.cbpCalander.LookAndFeel.SkinName = "London Liquid Sky";
     this.cbpCalander.LookAndFeel.Style = LookAndFeelStyle.Flat;
     this.cbpCalander.LookAndFeel.UseDefaultLookAndFeel = false;
     this.cbpCalander.Name = "cbpCalander";
     this.cbpCalander.Size = new Size(0xb8, 0xcc);
     base.ttDefault.SetSuperTip(this.cbpCalander, null);
     this.cbpCalander.TabIndex = 0x30;
     this.cbpCalander.Text = "gpgComboBoxPanel1";
     this.dTournamentDate.DateTime = new DateTime(0x7d7, 4, 0x10, 0, 0, 0, 0);
     this.dTournamentDate.Dock = DockStyle.Fill;
     this.dTournamentDate.Location = new Point(0, 20);
     this.dTournamentDate.Name = "dTournamentDate";
     this.dTournamentDate.Size = new Size(0xb8, 0xb8);
     base.ttDefault.SetSuperTip(this.dTournamentDate, null);
     this.dTournamentDate.TabIndex = 1;
     this.dTournamentDate.Click += new EventHandler(this.dTournamentDate_Click);
     this.dTournamentDate.EditDateModified += new EventHandler(this.dTournamentDate_EditDateModified);
     this.tTournamentTime.Dock = DockStyle.Top;
     this.tTournamentTime.EditValue = new DateTime(0x7d7, 4, 0x10, 0, 0, 0, 0);
     this.tTournamentTime.Location = new Point(0, 0);
     this.tTournamentTime.Name = "tTournamentTime";
     this.tTournamentTime.Properties.Buttons.AddRange(new EditorButton[] { new EditorButton() });
     this.tTournamentTime.Size = new Size(0xb8, 20);
     this.tTournamentTime.TabIndex = 0;
     this.tTournamentTime.EditValueChanged += new EventHandler(this.tTournamentTime_EditValueChanged);
     this.tTournamentTime.Click += new EventHandler(this.tTournamentTime_Click);
     this.cbRestriction.Anchor = AnchorStyles.Right | AnchorStyles.Left | AnchorStyles.Bottom;
     this.cbRestriction.BackColor = Color.Black;
     this.cbRestriction.BorderColor = Color.White;
     this.cbRestriction.DoValidate = true;
     this.cbRestriction.FlatStyle = FlatStyle.Flat;
     this.cbRestriction.FocusBackColor = Color.Empty;
     this.cbRestriction.FocusBorderColor = Color.Empty;
     this.cbRestriction.FormattingEnabled = true;
     this.cbRestriction.Location = new Point(0x1f7, 0x1af);
     this.cbRestriction.Name = "cbRestriction";
     this.cbRestriction.Size = new Size(0xa3, 0x15);
     base.ttDefault.SetSuperTip(this.cbRestriction, null);
     this.cbRestriction.TabIndex = 50;
     this.cbRestriction.Text = "Any Map";
     this.gpgLabel12.Anchor = AnchorStyles.Left | AnchorStyles.Bottom;
     this.gpgLabel12.AutoGrowDirection = GrowDirections.None;
     this.gpgLabel12.AutoStyle = true;
     this.gpgLabel12.Font = new Font("Arial", 9.75f);
     this.gpgLabel12.ForeColor = Color.White;
     this.gpgLabel12.IgnoreMouseWheel = false;
     this.gpgLabel12.IsStyled = false;
     this.gpgLabel12.Location = new Point(0x171, 0x1b0);
     this.gpgLabel12.Name = "gpgLabel12";
     this.gpgLabel12.Size = new Size(0x80, 0x10);
     base.ttDefault.SetSuperTip(this.gpgLabel12, null);
     this.gpgLabel12.TabIndex = 0x31;
     this.gpgLabel12.Text = "<LOC>Custom Restriction";
     this.gpgLabel12.TextAlign = ContentAlignment.TopRight;
     this.gpgLabel12.TextStyle = TextStyles.Default;
     base.AutoScaleDimensions = new SizeF(7f, 13f);
     base.AutoScaleMode = AutoScaleMode.Font;
     base.ClientSize = new Size(810, 540);
     base.Controls.Add(this.cbRestriction);
     base.Controls.Add(this.gpgLabel12);
     base.Controls.Add(this.cbpCalander);
     base.Controls.Add(this.cbDate);
     base.Controls.Add(this.lMaxPlayers);
     base.Controls.Add(this.lSize);
     base.Controls.Add(this.pbMap);
     base.Controls.Add(this.cbMap);
     base.Controls.Add(this.cbRoundLength);
     base.Controls.Add(this.cbNumberOfRounds);
     base.Controls.Add(this.cbFaction);
     base.Controls.Add(this.cbType);
     base.Controls.Add(this.skinButtonCancel);
     base.Controls.Add(this.skinButtonOK);
     base.Controls.Add(this.tbAssistantTDs);
     base.Controls.Add(this.gpgLabel10);
     base.Controls.Add(this.gpgLabel8);
     base.Controls.Add(this.gpgLabel6);
     base.Controls.Add(this.tbWebURL);
     base.Controls.Add(this.gpgLabel5);
     base.Controls.Add(this.tbLegal);
     base.Controls.Add(this.gpgLabel4);
     base.Controls.Add(this.gpgLabel3);
     base.Controls.Add(this.tbDescription);
     base.Controls.Add(this.tbName);
     base.Controls.Add(this.gpgLabel2);
     base.Controls.Add(this.gpgLabel1);
     base.Controls.Add(this.backLabelTitle);
     base.Controls.Add(this.gpgLabel9);
     base.Controls.Add(this.gpgLabel11);
     base.Controls.Add(this.pbFaction);
     base.Controls.Add(this.gpgLabel7);
     this.Font = new Font("Verdana", 8f);
     base.Location = new Point(0, 0);
     this.MinimumSize = new Size(810, 540);
     base.Name = "DlgTournamentCreation";
     base.ttDefault.SetSuperTip(this, null);
     this.Text = "<LOC>Create New Tournament";
     base.Controls.SetChildIndex(this.gpgLabel7, 0);
     base.Controls.SetChildIndex(this.pbFaction, 0);
     base.Controls.SetChildIndex(this.gpgLabel11, 0);
     base.Controls.SetChildIndex(this.gpgLabel9, 0);
     base.Controls.SetChildIndex(this.backLabelTitle, 0);
     base.Controls.SetChildIndex(this.gpgLabel1, 0);
     base.Controls.SetChildIndex(this.gpgLabel2, 0);
     base.Controls.SetChildIndex(this.tbName, 0);
     base.Controls.SetChildIndex(this.tbDescription, 0);
     base.Controls.SetChildIndex(this.gpgLabel3, 0);
     base.Controls.SetChildIndex(this.gpgLabel4, 0);
     base.Controls.SetChildIndex(this.tbLegal, 0);
     base.Controls.SetChildIndex(this.gpgLabel5, 0);
     base.Controls.SetChildIndex(this.tbWebURL, 0);
     base.Controls.SetChildIndex(this.gpgLabel6, 0);
     base.Controls.SetChildIndex(this.gpgLabel8, 0);
     base.Controls.SetChildIndex(this.gpgLabel10, 0);
     base.Controls.SetChildIndex(this.tbAssistantTDs, 0);
     base.Controls.SetChildIndex(this.skinButtonOK, 0);
     base.Controls.SetChildIndex(this.skinButtonCancel, 0);
     base.Controls.SetChildIndex(this.cbType, 0);
     base.Controls.SetChildIndex(this.cbFaction, 0);
     base.Controls.SetChildIndex(this.cbNumberOfRounds, 0);
     base.Controls.SetChildIndex(this.cbRoundLength, 0);
     base.Controls.SetChildIndex(this.cbMap, 0);
     base.Controls.SetChildIndex(this.pbMap, 0);
     base.Controls.SetChildIndex(this.lSize, 0);
     base.Controls.SetChildIndex(this.lMaxPlayers, 0);
     base.Controls.SetChildIndex(this.cbDate, 0);
     base.Controls.SetChildIndex(this.cbpCalander, 0);
     base.Controls.SetChildIndex(this.gpgLabel12, 0);
     base.Controls.SetChildIndex(this.cbRestriction, 0);
     ((ISupportInitialize) base.pbBottom).EndInit();
     this.tbName.Properties.EndInit();
     this.tbDescription.Properties.EndInit();
     this.tbLegal.Properties.EndInit();
     this.tbWebURL.Properties.EndInit();
     this.tbAssistantTDs.Properties.EndInit();
     ((ISupportInitialize) this.pbFaction).EndInit();
     ((ISupportInitialize) this.pbMap).EndInit();
     this.cbDate.Properties.EndInit();
     this.cbpCalander.EndInit();
     this.cbpCalander.ResumeLayout(false);
     this.dTournamentDate.EndInit();
     this.tTournamentTime.Properties.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }