/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.cal = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // cal // this.cal.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.cal.Name = "cal"; this.cal.TabIndex = 0; // // Calendar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(200, 152); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.cal }); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Calendar"; this.Text = "Calendar"; this.ResumeLayout(false); }
private void InitializeComponent() { this.monthCalendar = new System.Windows.Forms.MonthCalendar(); this.btnMakeReport = new System.Windows.Forms.Button(); this.SuspendLayout(); // // monthCalendar // this.monthCalendar.Location = new System.Drawing.Point(16, 0); this.monthCalendar.Name = "monthCalendar"; this.monthCalendar.ShowTodayCircle = false; this.monthCalendar.TabIndex = 0; // // btnMakeReport // this.btnMakeReport.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnMakeReport.Location = new System.Drawing.Point(72, 168); this.btnMakeReport.Name = "btnMakeReport"; this.btnMakeReport.Size = new System.Drawing.Size(88, 32); this.btnMakeReport.TabIndex = 1; this.btnMakeReport.Text = "Make Report"; // // frmDailyReport // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(226, 215); this.Controls.Add(this.btnMakeReport); this.Controls.Add(this.monthCalendar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.Name = "frmDailyReport"; this.Text = "Daily Report"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.monthCalendar2 = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // monthCalendar2 // this.monthCalendar2.BackColor = System.Drawing.Color.White; this.monthCalendar2.ForeColor = System.Drawing.Color.Navy; this.monthCalendar2.Location = new System.Drawing.Point(0, 0); this.monthCalendar2.Name = "monthCalendar2"; this.monthCalendar2.TabIndex = 0; this.monthCalendar2.TitleBackColor = System.Drawing.Color.SteelBlue; this.monthCalendar2.TitleForeColor = System.Drawing.Color.White; this.monthCalendar2.TrailingForeColor = System.Drawing.Color.LightGray; this.monthCalendar2.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar2_DateSelected); this.monthCalendar2.KeyDown += new System.Windows.Forms.KeyEventHandler(this.monthCalendar2_KeyDown); // // Calendar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(192, 155); this.Controls.Add(this.monthCalendar2); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "Calendar"; this.ShowInTaskbar = false; this.Text = "Calendar"; this.TopMost = true; this.Deactivate += new System.EventHandler(this.Calendar_Deactivate); this.Load += new System.EventHandler(this.Calendar_Load); this.Activated += new System.EventHandler(this.Calendar_Activated); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(FrmCalendar)); this.mcCalendar = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // mcCalendar // this.mcCalendar.Location = new System.Drawing.Point(0, 0); this.mcCalendar.Name = "mcCalendar"; this.mcCalendar.TabIndex = 0; this.mcCalendar.KeyDown += new System.Windows.Forms.KeyEventHandler(this.mcCalendar_KeyDown); this.mcCalendar.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.mcCalendar_DateSelected); // // FrmCalendar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(192, 152); this.Controls.Add(this.mcCalendar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmCalendar"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Load += new System.EventHandler(this.FrmCalendar_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.button1 = new System.Windows.Forms.Button(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.monthCalendar1.Location = new System.Drawing.Point(4, 4); this.monthCalendar1.MaxDate = new System.DateTime(2100, 1, 1, 0, 0, 0, 0); this.monthCalendar1.MaxSelectionCount = 1; this.monthCalendar1.MinDate = new System.DateTime(1900, 1, 1, 0, 0, 0, 0); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 0; this.monthCalendar1.TodayDate = new System.DateTime(2000, 12, 16, 0, 0, 0, 0); this.monthCalendar1.TrailingForeColor = System.Drawing.Color.Green; // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.button1.Location = new System.Drawing.Point(45, 168); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 0; this.button1.Text = "&Ok"; this.button1.Click += new System.EventHandler(this.button1_Click); // // groupBox1 // this.groupBox1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.groupBox1.Location = new System.Drawing.Point(4, 160); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(156, 4); this.groupBox1.TabIndex = 2; this.groupBox1.TabStop = false; // // FCalendar // this.AcceptButton = this.button1; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(165, 198); this.Controls.Add(this.groupBox1); this.Controls.Add(this.button1); this.Controls.Add(this.monthCalendar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "FCalendar"; this.Opacity = 0.85; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Calendar"; this.Load += new System.EventHandler(this.Form2_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.cmdOK = new System.Windows.Forms.Button(); this.cmdCancel = new System.Windows.Forms.Button(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Monday; this.monthCalendar1.Location = new System.Drawing.Point(8, 8); this.monthCalendar1.MaxSelectionCount = 1; this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.ShowWeekNumbers = true; this.monthCalendar1.TabIndex = 0; // // cmdOK // this.cmdOK.BackColor = System.Drawing.SystemColors.Control; this.cmdOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.cmdOK.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cmdOK.Location = new System.Drawing.Point(104, 168); this.cmdOK.Name = "cmdOK"; this.cmdOK.Size = new System.Drawing.Size(104, 23); this.cmdOK.TabIndex = 1; this.cmdOK.Text = "&OK"; // // cmdCancel // this.cmdCancel.BackColor = System.Drawing.SystemColors.Control; this.cmdCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cmdCancel.FlatStyle = System.Windows.Forms.FlatStyle.System; this.cmdCancel.Location = new System.Drawing.Point(8, 168); this.cmdCancel.Name = "cmdCancel"; this.cmdCancel.Size = new System.Drawing.Size(96, 24); this.cmdCancel.TabIndex = 2; this.cmdCancel.Text = "&Cancel"; // // DatePicker // this.AcceptButton = this.cmdOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.ControlDark; this.CancelButton = this.cmdCancel; this.ClientSize = new System.Drawing.Size(208, 200); this.Controls.Add(this.cmdCancel); this.Controls.Add(this.cmdOK); this.Controls.Add(this.monthCalendar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "DatePicker"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.ResumeLayout(false); }
/// <summary> /// Создает контроллер MonthCalendar с заданными характеристиками /// </summary> private void MonthCalendarInitialization() { this.monthCalendar = new MonthCalendar(); int X = (this.ClientSize.Width - this.monthCalendar.Width) / 2; int Y = (this.ClientSize.Height - this.monthCalendar.Height) / 2; this.monthCalendar.Location = new Point(X, Y); this.monthCalendar.ShowToday = true; this.monthCalendar.ShowTodayCircle = false; this.monthCalendar.ShowWeekNumbers = true; this.Controls.Add(this.monthCalendar); }
public ExtDatetimePicker() { InitializeComponent(); _mc = new MonthCalendar{MaxSelectionCount = 1}; _pch = new PopupControlHost(_mc); InitEvent(); InitProperty(); }
public ComboDate() : base(new System.Windows.Forms.MonthCalendar()) { this.m_MonthCalendar = ((ICustomizeComboBoxItem)this).ControlObject as System.Windows.Forms.MonthCalendar; this.m_MonthCalendar.BackColor = System.Drawing.SystemColors.Window; this.m_MonthCalendar.Dock = System.Windows.Forms.DockStyle.Fill; this.m_MonthCalendar.MaxSelectionCount = 1; this.m_MonthCalendar.DateSelected += new DateRangeEventHandler(MonthCalendar_DateSelected); // this.ShowDropDownNum = 1; base.DropDownWidth = 222; }
public void Init() { db = new DataBase.DataBaseManagement("VetoPTArentir"); // suppression de tout les objets du panel ModifyAppointementPanel.Controls.Clear(); // titre title = new Label(); title.Size = new Size(500, 30); title.Font = new Font("Arial", 20); title.Location = new Point(170, 20); title.Text = "Modifier rendez-vous"; ModifyAppointementPanel.Controls.Add(title); // nom client = new ComboBox(); client.Size = new Size(150, 30); client.Location = new Point(205, 100); client.Text = "Nom"; client.SelectedIndexChanged += new EventHandler(Client_SelectedIndexChanged); ModifyAppointementPanel.Controls.Add(client); // animal animal = new ComboBox(); animal.Size = new Size(150, 30); animal.Location = new Point(205, 130); animal.Text = "Animal"; animal.SelectedIndexChanged += new EventHandler(Animal_SelectedIndexChanged); ModifyAppointementPanel.Controls.Add(animal); // Date calendar = new MonthCalendar(); calendar.Location = new Point(165, 170); ModifyAppointementPanel.Controls.Add(calendar); // raison reason = new TextBox(); reason.Size = new Size(150, 30); reason.Location = new Point(205, 350); reason.Text = "Objet du rendez-vous"; ModifyAppointementPanel.Controls.Add(reason); // bouton confirmer confirmButton = new Button(); confirmButton.Size = new Size(100, 30); confirmButton.Location = new Point(150, 400); confirmButton.Text = "Confirmer"; ModifyAppointementPanel.Controls.Add(confirmButton); confirmButton.Click += new EventHandler(confirm_Click); // bouton annuler cancelButton = new Button(); cancelButton.Size = new Size(100, 30); cancelButton.Location = new Point(310, 400); cancelButton.Text = "Annuler"; ModifyAppointementPanel.Controls.Add(cancelButton); cancelButton.Click += new EventHandler(cancel_Click); completeClient(); }
/// <summary> /// Initializes a new instance of the DateTimeCellEditor class with default settings /// </summary> public DateTimeCellEditor() : base() { this.calendar = new MonthCalendar(); this.calendar.Location = new System.Drawing.Point(0, 0); this.calendar.MaxSelectionCount = 1; this.DropDown.Width = this.calendar.Width + 2; this.DropDown.Height = this.calendar.Height + 2; this.DropDown.Control = this.calendar; base.DropDownStyle = DropDownStyle.DropDownList; }
//------------------------------------------------------------------------------------- #region << Constructors >> public SimDateSelect() : base() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.panel1 = new System.Windows.Forms.Panel(); this.simLabel1 = new Sim.Controls.SimLabel(); this.simPopupButton1 = new Sim.Controls.SimPopupButton(); this.panelMain = new System.Windows.Forms.Panel(); this.panelMain.SuspendLayout(); this.panel1.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.Dock = System.Windows.Forms.DockStyle.Top; this.monthCalendar1.ShowToday = false; this.monthCalendar1.ShowTodayCircle = false; this.monthCalendar1.MaxSelectionCount = 1; this.monthCalendar1.DateSelected += new DateRangeEventHandler(monthCalendar1_DateSelected); // // simLabel1 // this.simLabel1.AutoSize = false; this.simLabel1.Dock = System.Windows.Forms.DockStyle.Fill; this.simLabel1.Text = DateTime.Now.Date.ToString("dd.MM.yyyy"); // // simPopupButton1 // this.simPopupButton1.Dock = System.Windows.Forms.DockStyle.Right; this.simPopupButton1.Image = global::Sim.Controls.Properties.Resources.OK; this.simPopupButton1.Size = new System.Drawing.Size(21, 21); this.simPopupButton1.Click += new EventHandler(simPopupButton1_Click); // // panel1 // this.panel1.Controls.Add(this.simLabel1); this.panel1.Controls.Add(this.simPopupButton1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Padding = new System.Windows.Forms.Padding(0, 0, 3, 0); this.panel1.Size = new System.Drawing.Size(315, 21); // // panelMain // this.panelMain.Controls.Add(this.panel1); this.panelMain.Controls.Add(this.monthCalendar1); this.panelMain.Padding = new System.Windows.Forms.Padding(0); this.panelMain.BackColor = System.Drawing.Color.Transparent; this.panel1.ResumeLayout(); this.panelMain.ResumeLayout(); this.panelMain.Size = new Size(monthCalendar1.Height-5, monthCalendar1.Height + panel1.Height-5); base.Control = panelMain; }
private void InitializeComponent() { this.MonthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); this.MonthCalendar1.Location = new System.Drawing.Point(56, 32); this.MonthCalendar1.Name = "MonthCalendar1"; this.MonthCalendar1.TabIndex = 0; this.ClientSize = new System.Drawing.Size(292, 266); this.Controls.Add(this.MonthCalendar1); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); }
public static Control CreateControl(string ctrlName, string partialName) { try { Control ctrl; switch (ctrlName) { case "Label": ctrl = new Label(); break; case "TextBox": ctrl = new TextBox(); break; case "PictureBox": ctrl = new PictureBox(); break; case "ListView": ctrl = new ListView(); break; case "ComboBox": ctrl = new ComboBox(); break; case "Button": ctrl = new Button(); break; case "CheckBox": ctrl = new CheckBox(); break; case "MonthCalender": ctrl = new MonthCalendar(); break; case "DateTimePicker": ctrl = new DateTimePicker(); break; default: Assembly controlAsm = Assembly.LoadWithPartialName(partialName); Type controlType = controlAsm.GetType(partialName + "." + ctrlName); ctrl = (Control)Activator.CreateInstance(controlType); break; } return ctrl; } catch (Exception ex) { System.Diagnostics.Trace.WriteLine("create control failed:" + ex.Message); return new Control(); } }
public void Init() { db = new DataBase.DataBaseManagement("VetoPTArentir"); animals = db.getAnimalsClient(code); // suppression de tout les objets du panel DisplayAppointmentsPanel.Controls.Clear(); // titre title = new Label(); title.Size = new Size(500, 30); title.Font = new Font("Arial", 20); title.Location = new Point(170, 20); title.Text = "Afficher rendez-vous"; DisplayAppointmentsPanel.Controls.Add(title); // client client = new Label(); client.Size = new Size(150, 30); client.Location = new Point(205, 100); client.Text = "Nom"; DisplayAppointmentsPanel.Controls.Add(client); // animal animal = new ComboBox(); animal.Size = new Size(150, 30); animal.Location = new Point(205, 130); animal.Text = "Animal"; animal.SelectedIndexChanged += new EventHandler(animal_SelectedIndexChanged); DisplayAppointmentsPanel.Controls.Add(animal); // Date calendar = new MonthCalendar(); calendar.Location = new Point(165, 170); DisplayAppointmentsPanel.Controls.Add(calendar); // raison reason = new Label(); reason.Size = new Size(150, 30); reason.Location = new Point(205, 350); reason.Text = "Objet du rendez-vous"; DisplayAppointmentsPanel.Controls.Add(reason); // bouton retour backButton = new Button(); backButton.Size = new Size(100, 30); backButton.Location = new Point(205, 380); backButton.Text = "Retour"; DisplayAppointmentsPanel.Controls.Add(backButton); backButton.Click += new EventHandler(back_Click); completeAnimals(); clientData = db.detailsClient(code); client.Text = clientData.Split(':')[1] +" "+ clientData.Split(':')[2]; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.btnClose = new System.Windows.Forms.Button(); this.calendar = new System.Windows.Forms.MonthCalendar(); this.panel = new System.Windows.Forms.Panel(); this.panel.SuspendLayout(); this.SuspendLayout(); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnClose.Location = new System.Drawing.Point(320, 132); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(64, 20); this.btnClose.TabIndex = 4; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // calendar // this.calendar.CalendarDimensions = new System.Drawing.Size(2, 1); this.calendar.Dock = System.Windows.Forms.DockStyle.Fill; this.calendar.Location = new System.Drawing.Point(0, 0); this.calendar.MaxSelectionCount = 1; this.calendar.Name = "calendar"; this.calendar.TabIndex = 3; this.calendar.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.eventCalendar_DateSelected); // // panel // this.panel.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel.Controls.Add(this.btnClose); this.panel.Controls.Add(this.calendar); this.panel.Dock = System.Windows.Forms.DockStyle.Fill; this.panel.Location = new System.Drawing.Point(0, 0); this.panel.Name = "panel"; this.panel.Size = new System.Drawing.Size(392, 160); this.panel.TabIndex = 5; // // CalendarPanel // this.BackColor = System.Drawing.SystemColors.Window; this.Controls.Add(this.panel); this.Name = "CalendarPanel"; this.Size = new System.Drawing.Size(392, 160); this.panel.ResumeLayout(false); this.ResumeLayout(false); }
private void OnDropDownButtonClick(object sender, EventArgs e) { Parent.SuspendLayout(); _monthCalendar = new MonthCalendar { Location = new Point(_dropButton.ClientRectangle.Left, _dropButton.ClientRectangle.Bottom) }; _monthCalendar.DateSelected += OnDateSelected; _monthCalendar.Location = new Point(_maskedTextBox.Location.X, _maskedTextBox.Location.Y + _maskedTextBox.Height); _monthCalendar.BringToFront(); Parent.Controls.Add(_monthCalendar); Parent.ResumeLayout(); }
/// <summary> /// Méthode requise pour la prise en charge du concepteur - ne modifiez pas /// le contenu de cette méthode avec l'éditeur de code. /// </summary> private void InitializeComponent() { this.calendrier = new System.Windows.Forms.MonthCalendar(); this.lstRendezVous = new System.Windows.Forms.ListView(); this.lblInfo = new System.Windows.Forms.Label(); this.SuspendLayout(); // // calendrier // this.calendrier.Location = new System.Drawing.Point(40, 160); this.calendrier.Name = "calendrier"; this.calendrier.TabIndex = 0; this.calendrier.DateChanged += new System.Windows.Forms.DateRangeEventHandler(this.calendrier_DateChanged); // // lstRendezVous // this.lstRendezVous.Location = new System.Drawing.Point(312, 160); this.lstRendezVous.Name = "lstRendezVous"; this.lstRendezVous.Size = new System.Drawing.Size(360, 192); this.lstRendezVous.TabIndex = 1; this.lstRendezVous.View = System.Windows.Forms.View.Details; // // lblInfo // this.lblInfo.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lblInfo.Location = new System.Drawing.Point(48, 16); this.lblInfo.Name = "lblInfo"; this.lblInfo.Size = new System.Drawing.Size(640, 88); this.lblInfo.TabIndex = 2; this.lblInfo.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RdvMedecin // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(720, 493); this.Controls.Add(this.lblInfo); this.Controls.Add(this.lstRendezVous); this.Controls.Add(this.calendrier); this.Name = "RdvMedecin"; this.Text = "RdvMedecin"; this.Load += new System.EventHandler(this.RdvMedecin_Load); this.ResumeLayout(false); }
public void Init() { db = new DataBase.DataBaseManagement("VetoPTArentir"); // suppression de tout les objets du panel AddLeavePeriodPanel.Controls.Clear(); // titre title = new Label(); title.Size = new Size(500, 30); title.Font = new Font("Arial", 20); title.Location = new Point(170, 20); title.Text = "Ajouter un client"; AddLeavePeriodPanel.Controls.Add(title); // employee employee = new ComboBox(); employee.Size = new Size(100, 30); employee.Location = new Point(230, 100); employee.Text = "Employé"; AddLeavePeriodPanel.Controls.Add(employee); // nb jours de congés nbDays = new ComboBox(); nbDays.Size = new Size(100, 30); nbDays.Location = new Point(230, 130); nbDays.Text = "Nombre de jours"; AddLeavePeriodPanel.Controls.Add(nbDays); // Date calendar = new MonthCalendar(); calendar.Location = new Point(165, 170); AddLeavePeriodPanel.Controls.Add(calendar); // bouton confirmer confirmButton = new Button(); confirmButton.Size = new Size(100, 30); confirmButton.Location = new Point(150, 310); confirmButton.Text = "Confirmer"; AddLeavePeriodPanel.Controls.Add(confirmButton); confirmButton.Click += new EventHandler(confirm_Click); // bouton annuler cancelButton = new Button(); cancelButton.Size = new Size(100, 30); cancelButton.Location = new Point(310, 310); cancelButton.Text = "Annuler"; AddLeavePeriodPanel.Controls.Add(cancelButton); cancelButton.Click += new EventHandler(cancel_Click); }
public void Invoke() { if (!Provider.Control.Enabled) { throw new ElementNotEnabledException(); } SWF.MonthCalendar calendar = (SWF.MonthCalendar)provider.DataGridProvider.Control; int offset = 1; if (provider.Direction == MonthCalendarButtonProvider.ButtonDirection.Back) { offset = -1; } calendar.CurrentMonth = calendar.CurrentMonth.AddMonths(offset); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.dateTimePicker1 = new System.Windows.Forms.DateTimePicker(); this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.label1 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // dateTimePicker1 // this.dateTimePicker1.Location = new System.Drawing.Point(16, 24); this.dateTimePicker1.Name = "dateTimePicker1"; this.dateTimePicker1.TabIndex = 0; this.dateTimePicker1.ValueChanged += new System.EventHandler(this.dateTimePicker1_ValueChanged); // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(240, 24); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 1; this.monthCalendar1.DateChanged += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar1_DateChanged); // // label1 // this.label1.Location = new System.Drawing.Point(32, 200); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(136, 23); this.label1.TabIndex = 2; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(448, 237); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label1, this.monthCalendar1, this.dateTimePicker1 }); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(24, 16); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 0; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(320, 173); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.monthCalendar1 }); this.Name = "Form1"; this.Text = "Form1"; this.ResumeLayout(false); }
public PanelExtratoSalas(Panel panel, MonthCalendar calendar) { InitializeComponent(); this.mainPanel = panel; this.calendar = calendar; calendar.DateSelected += calendar_DateSelected; old = new Control[panel.Controls.Count]; panel.Controls.CopyTo(this.old, 0); panel.Controls.Clear(); panel.Controls.Add(this); this.Dock = DockStyle.Fill; isOpen = true; // Carrega lista de salas _salas = new Academia.Model.Bo.Salas.Model_Bo_Salas().ListaDeSalas(); // Carregar dados automaticamente btMes.Checked = true; this.loadTabs(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.button1 = new System.Windows.Forms.Button(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Thursday; this.monthCalendar1.Location = new System.Drawing.Point(16, 16); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.ShowTodayCircle = false; this.monthCalendar1.ShowWeekNumbers = true; this.monthCalendar1.TabIndex = 0; // // button1 // this.button1.Location = new System.Drawing.Point(48, 184); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(128, 23); this.button1.TabIndex = 1; this.button1.Text = "Selection Range"; this.button1.Click += new System.EventHandler(this.button1_Click_1); // // Calendar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(232, 213); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.button1, this.monthCalendar1 }); this.Name = "Calendar"; this.Text = "Calendar Control"; this.Load += new System.EventHandler(this.Calendar_Load); this.ResumeLayout(false); }
public EIBCalenderBase() { monthCalender = new MonthCalendar(); monthCalender.Size = new Size(width, height); //dateTimePicker.CalendarForeColor = Color.White; monthCalender.Dock = DockStyle.Fill; this.Size = new Size(width, height); this._Width = width; this.Controls.Add(monthCalender); tpanel = new TransparentPanel(); tpanel.Location = new Point(0, 0); tpanel.Size = new Size(width, height); tpanel.Dock = DockStyle.Fill; this.Controls.Add(tpanel); tpanel.BringToFront(); tpanel.MouseClick += new MouseEventHandler(tpanel_MouseClick); tpanel.MouseDown += new MouseEventHandler(tpanel_MouseDown); tpanel.MouseMove += new MouseEventHandler(tpanel_MouseMove); tpanel.MouseUp += new MouseEventHandler(tpanel_MouseUp); this.Resize += new System.EventHandler(EIBDatePickerBase_Resize); if (string.IsNullOrEmpty(this.Name)) { this.Name = "calender" + counter; } if (string.IsNullOrEmpty(this.ControlName)) { this.ControlName = this.Name; } this.Margin = new Padding(0, 0, 0, 0); this.Font = SystemFonts.DefaultFont; this.Layout += new LayoutEventHandler(Control_Layout); this.SizeChanged += new System.EventHandler(Control_SizeChanged); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.SuspendLayout(); // // monthCalendar1 // this.monthCalendar1.Location = new System.Drawing.Point(0, 0); this.monthCalendar1.Name = "monthCalendar1"; this.monthCalendar1.TabIndex = 0; this.monthCalendar1.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar1_DateSelected); // // sub // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(200, 152); this.Controls.Add(this.monthCalendar1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "sub"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "sub"; this.ResumeLayout(false); }
public void ResetIndex(System.Windows.Forms.MonthCalendar o) { BaseResetIndex(o); }
protected override void HookUpControlEvents(object o) { System.Windows.Forms.MonthCalendar ctl = (System.Windows.Forms.MonthCalendar)o; base.HookUpControlEvents(o); if ((DateClickEvent != null)) { ctl.DateClick += new AxMSComCtl2.DMonthViewEvents_DateClickEventHandler(HandleDateClick); } if ((DateDblClickEvent != null)) { ctl.DateDblClick += new AxMSComCtl2.DMonthViewEvents_DateDblClickEventHandler(HandleDateDblClick); } if ((GetDayBoldEvent != null)) { ctl.GetDayBold += new AxMSComCtl2.DMonthViewEvents_GetDayBoldEventHandler(HandleGetDayBold); } if ((SelChangeEvent != null)) { ctl.SelChange += new AxMSComCtl2.DMonthViewEvents_SelChangeEventHandler(HandleSelChange); } if ((ClickEventEvent != null)) { ctl.ClickEvent += new System.EventHandler(HandleClickEvent); } if ((DblClickEvent != null)) { ctl.DblClick += new System.EventHandler(HandleDblClick); } if ((KeyDownEvent != null)) { ctl.KeyDown += new AxMSComCtl2.DMonthViewEvents_KeyDownHandler(HandleKeyDown); } if ((KeyUpEventEvent != null)) { ctl.KeyUpEvent += new AxMSComCtl2.DMonthViewEvents_KeyUpEventHandler(HandleKeyUpEvent); } if ((KeyPressEvent != null)) { ctl.KeyPress += new AxMSComCtl2.DMonthViewEvents_KeyPressHandler(HandleKeyPress); } if ((MouseDownEvent != null)) { ctl.MouseDown += new AxMSComCtl2.DMonthViewEvents_MouseDownHandler(HandleMouseDown); } if ((MouseMoveEventEvent != null)) { ctl.MouseMoveEvent += new AxMSComCtl2.DMonthViewEvents_MouseMoveEventHandler(HandleMouseMoveEvent); } if ((MouseUpEventEvent != null)) { ctl.MouseUpEvent += new AxMSComCtl2.DMonthViewEvents_MouseUpEventHandler(HandleMouseUpEvent); } if ((OLEStartDragEvent != null)) { ctl.OLEStartDrag += new AxMSComCtl2.DMonthViewEvents_OLEStartDragEventHandler(HandleOLEStartDrag); } if ((OLEGiveFeedbackEvent != null)) { ctl.OLEGiveFeedback += new AxMSComCtl2.DMonthViewEvents_OLEGiveFeedbackEventHandler(HandleOLEGiveFeedback); } if ((OLESetDataEvent != null)) { ctl.OLESetData += new AxMSComCtl2.DMonthViewEvents_OLESetDataEventHandler(HandleOLESetData); } if ((OLECompleteDragEvent != null)) { ctl.OLECompleteDrag += new AxMSComCtl2.DMonthViewEvents_OLECompleteDragEventHandler(HandleOLECompleteDrag); } if ((OLEDragOverEvent != null)) { ctl.OLEDragOver += new AxMSComCtl2.DMonthViewEvents_OLEDragOverEventHandler(HandleOLEDragOver); } if ((OLEDragDropEvent != null)) { ctl.OLEDragDrop += new AxMSComCtl2.DMonthViewEvents_OLEDragDropEventHandler(HandleOLEDragDrop); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpClaimNotSent)); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.radioRange = new System.Windows.Forms.RadioButton(); this.radioSingle = new System.Windows.Forms.RadioButton(); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(523, 328); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(523, 294); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // panel1 // this.panel1.Controls.Add(this.radioRange); this.panel1.Controls.Add(this.radioSingle); this.panel1.Location = new System.Drawing.Point(19, 16); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(104, 60); this.panel1.TabIndex = 0; // // radioRange // this.radioRange.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioRange.Location = new System.Drawing.Point(8, 32); this.radioRange.Name = "radioRange"; this.radioRange.Size = new System.Drawing.Size(88, 24); this.radioRange.TabIndex = 1; this.radioRange.Text = "Date Range"; // // radioSingle // this.radioSingle.Checked = true; this.radioSingle.FlatStyle = System.Windows.Forms.FlatStyle.System; this.radioSingle.Location = new System.Drawing.Point(8, 8); this.radioSingle.Name = "radioSingle"; this.radioSingle.Size = new System.Drawing.Size(88, 24); this.radioSingle.TabIndex = 0; this.radioSingle.TabStop = true; this.radioSingle.Text = "Single Date"; this.radioSingle.CheckedChanged += new System.EventHandler(this.radioSingle_CheckedChanged); // // date2 // this.date2.Location = new System.Drawing.Point(291, 112); this.date2.Name = "date2"; this.date2.TabIndex = 2; this.date2.Visible = false; // // date1 // this.date1.Location = new System.Drawing.Point(35, 112); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(217, 120); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(70, 23); this.labelTO.TabIndex = 16; this.labelTO.Text = "TO"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.TopCenter; this.labelTO.Visible = false; // // FormRpClaimNotSent // this.AcceptButton = this.butOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.butCancel; this.ClientSize = new System.Drawing.Size(616, 366); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.panel1); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpClaimNotSent"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Claims Not Sent Report"; this.Load += new System.EventHandler(this.FormClaimNotSent_Load); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
public bool ShouldSerializeIndex(System.Windows.Forms.MonthCalendar o) { return(BaseShouldSerializeIndex(o)); }
// darws a single part of the month calendar (with one month) private void DrawSingleMonth(Graphics dc, Rectangle clip_rectangle, Rectangle rectangle, MonthCalendar mc, int row, int col) { // cache local copies of Marshal-by-ref internal members (gets around error CS0197) Size title_size = (Size)((object)mc.title_size); Size date_cell_size = (Size)((object)mc.date_cell_size); DateTime current_month = (DateTime)((object)mc.current_month); DateTime sunday = new DateTime(2006, 10, 1); // draw the title back ground DateTime this_month = current_month.AddMonths (row*mc.CalendarDimensions.Width+col); Rectangle title_rect = new Rectangle(rectangle.X, rectangle.Y, title_size.Width, title_size.Height); if (title_rect.IntersectsWith (clip_rectangle)) { dc.FillRectangle (ResPool.GetSolidBrush (mc.TitleBackColor), title_rect); // draw the title string title_text = this_month.ToString ("MMMM yyyy"); dc.DrawString (title_text, mc.bold_font, ResPool.GetSolidBrush (mc.TitleForeColor), title_rect, mc.centered_format); if (mc.ShowYearUpDown) { Rectangle year_rect; Rectangle upRect, downRect; ButtonState upState, downState; mc.GetYearNameRectangles (title_rect, row * mc.CalendarDimensions.Width + col, out year_rect, out upRect, out downRect); dc.FillRectangle (ResPool.GetSolidBrush (SystemColors.Control), year_rect); dc.DrawString (this_month.ToString ("yyyy"), mc.bold_font, ResPool.GetSolidBrush (Color.Black), year_rect, mc.centered_format); upState = mc.IsYearGoingUp ? ButtonState.Pushed : ButtonState.Normal; downState = mc.IsYearGoingDown ? ButtonState.Pushed : ButtonState.Normal; ControlPaint.DrawScrollButton (dc, upRect, ScrollButton.Up, upState); ControlPaint.DrawScrollButton (dc, downRect, ScrollButton.Down, downState); } // draw previous and next buttons if it's time if (row == 0 && col == 0) { // draw previous button DrawMonthCalendarButton ( dc, rectangle, mc, title_size, mc.button_x_offset, (System.Drawing.Size)((object)mc.button_size), true); } if (row == 0 && col == mc.CalendarDimensions.Width-1) { // draw next button DrawMonthCalendarButton ( dc, rectangle, mc, title_size, mc.button_x_offset, (System.Drawing.Size)((object)mc.button_size), false); } } // set the week offset and draw week nums if needed int col_offset = (mc.ShowWeekNumbers) ? 1 : 0; Rectangle day_name_rect = new Rectangle( rectangle.X, rectangle.Y + title_size.Height, (7 + col_offset) * date_cell_size.Width, date_cell_size.Height); if (day_name_rect.IntersectsWith (clip_rectangle)) { dc.FillRectangle (GetControlBackBrush (mc.BackColor), day_name_rect); // draw the day names DayOfWeek first_day_of_week = mc.GetDayOfWeek(mc.FirstDayOfWeek); for (int i=0; i < 7; i++) { int position = i - (int) first_day_of_week; if (position < 0) { position = 7 + position; } // draw it Rectangle day_rect = new Rectangle( day_name_rect.X + ((i + col_offset)* date_cell_size.Width), day_name_rect.Y, date_cell_size.Width, date_cell_size.Height); dc.DrawString (sunday.AddDays (i + (int) first_day_of_week).ToString ("ddd"), mc.Font, ResPool.GetSolidBrush (mc.TitleBackColor), day_rect, mc.centered_format); } // draw the vertical divider int vert_divider_y = Math.Max(title_size.Height+ date_cell_size.Height-1, 0); dc.DrawLine ( ResPool.GetPen (mc.ForeColor), rectangle.X + (col_offset * date_cell_size.Width) + mc.divider_line_offset, rectangle.Y + vert_divider_y, rectangle.Right - mc.divider_line_offset, rectangle.Y + vert_divider_y); } // draw the actual date items in the grid (including the week numbers) Rectangle date_rect = new Rectangle ( rectangle.X, rectangle.Y + title_size.Height + date_cell_size.Height, date_cell_size.Width, date_cell_size.Height); int month_row_count = 0; bool draw_week_num_divider = false; DateTime current_date = mc.GetFirstDateInMonthGrid ( new DateTime (this_month.Year, this_month.Month, 1)); for (int i=0; i < 6; i++) { // establish if this row is in our clip_area Rectangle row_rect = new Rectangle ( rectangle.X, rectangle.Y + title_size.Height + (date_cell_size.Height * (i+1)), date_cell_size.Width * 7, date_cell_size.Height); if (mc.ShowWeekNumbers) { row_rect.Width += date_cell_size.Width; } bool draw_row = row_rect.IntersectsWith (clip_rectangle); if (draw_row) { dc.FillRectangle (GetControlBackBrush (mc.BackColor), row_rect); } // establish if this is a valid week to draw if (mc.IsValidWeekToDraw (this_month, current_date, row, col)) { month_row_count = i; } // draw the week number if required if (mc.ShowWeekNumbers && month_row_count == i) { if (!draw_week_num_divider) { draw_week_num_divider = draw_row; } // get the week for this row int week = mc.GetWeekOfYear (current_date); if (draw_row) { dc.DrawString ( week.ToString(), mc.Font, ResPool.GetSolidBrush (mc.TitleBackColor), date_rect, mc.centered_format); } date_rect.Offset(date_cell_size.Width, 0); } // only draw the days if we have to if(month_row_count == i) { for (int j=0; j < 7; j++) { if (draw_row) { DrawMonthCalendarDate ( dc, date_rect, mc, current_date, this_month, row, col); } // move the day on current_date = current_date.AddDays(1); date_rect.Offset(date_cell_size.Width, 0); } // shift the rectangle down one row int offset = (mc.ShowWeekNumbers) ? -8 : -7; date_rect.Offset(offset*date_cell_size.Width, date_cell_size.Height); } } // month_row_count is zero based, so add one month_row_count++; // draw week numbers if required if (draw_week_num_divider) { col_offset = 1; dc.DrawLine ( ResPool.GetPen (mc.ForeColor), rectangle.X + date_cell_size.Width - 1, rectangle.Y + title_size.Height + date_cell_size.Height + mc.divider_line_offset, rectangle.X + date_cell_size.Width - 1, rectangle.Y + title_size.Height + date_cell_size.Height + (month_row_count * date_cell_size.Height) - mc.divider_line_offset); } }
// draws one day in the calendar grid private void DrawMonthCalendarDate (Graphics dc, Rectangle rectangle, MonthCalendar mc, DateTime date, DateTime month, int row, int col) { Color date_color = mc.ForeColor; Rectangle interior = new Rectangle (rectangle.X, rectangle.Y, Math.Max(rectangle.Width - 1, 0), Math.Max(rectangle.Height - 1, 0)); // find out if we are the lead of the first calendar or the trail of the last calendar if (date.Year != month.Year || date.Month != month.Month) { DateTime check_date = month.AddMonths (-1); // check if it's the month before if (check_date.Year == date.Year && check_date.Month == date.Month && row == 0 && col == 0) { date_color = mc.TrailingForeColor; } else { // check if it's the month after check_date = month.AddMonths (1); if (check_date.Year == date.Year && check_date.Month == date.Month && row == mc.CalendarDimensions.Height-1 && col == mc.CalendarDimensions.Width-1) { date_color = mc.TrailingForeColor; } else { return; } } } else { date_color = mc.ForeColor; } const int inflate = -1; if (date == mc.SelectionStart.Date && date == mc.SelectionEnd.Date) { // see if the date is in the start of selection date_color = mc.BackColor; // draw the left hand of the back ground Rectangle selection_rect = Rectangle.Inflate (rectangle, inflate, inflate); dc.FillPie (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect, 0, 360); } else if (date == mc.SelectionStart.Date) { // see if the date is in the start of selection date_color = mc.BackColor; // draw the left hand of the back ground Rectangle selection_rect = Rectangle.Inflate (rectangle, inflate, inflate); dc.FillPie (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect, 90, 180); // fill the other side as a straight rect if (date < mc.SelectionEnd.Date) { // use rectangle instead of rectangle to go all the way to edge of rect selection_rect.X = (int) Math.Floor((double)(rectangle.X + rectangle.Width / 2)); selection_rect.Width = Math.Max(rectangle.Right - selection_rect.X, 0); dc.FillRectangle (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect); } } else if (date == mc.SelectionEnd.Date) { // see if it is the end of selection date_color = mc.BackColor; // draw the left hand of the back ground Rectangle selection_rect = Rectangle.Inflate (rectangle, inflate, inflate); dc.FillPie (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect, 270, 180); // fill the other side as a straight rect if (date > mc.SelectionStart.Date) { selection_rect.X = rectangle.X; selection_rect.Width = rectangle.Width - (rectangle.Width / 2); dc.FillRectangle (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect); } } else if (date > mc.SelectionStart.Date && date < mc.SelectionEnd.Date) { // now see if it's in the middle date_color = mc.BackColor; // draw the left hand of the back ground Rectangle selection_rect = Rectangle.Inflate (rectangle, 0, inflate); dc.FillRectangle (ResPool.GetSolidBrush (mc.TitleBackColor), selection_rect); } // establish if it's a bolded font Font font = mc.IsBoldedDate (date) ? mc.bold_font : mc.Font; // just draw the date now dc.DrawString (date.Day.ToString(), font, ResPool.GetSolidBrush (date_color), rectangle, mc.centered_format); // today circle if needed if (mc.ShowTodayCircle && date == DateTime.Now.Date) { DrawTodayCircle (dc, interior); } // draw the selection grid if (mc.is_date_clicked && mc.clicked_date == date) { Pen pen = ResPool.GetDashPen (Color.Black, DashStyle.Dot); dc.DrawRectangle (pen, interior); } }
private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpWriteoffSheet)); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.listProv = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.radioWriteoffProc = new System.Windows.Forms.RadioButton(); this.radioWriteoffPay = new System.Windows.Forms.RadioButton(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.checkAllProv = new System.Windows.Forms.CheckBox(); this.checkAllClin = new System.Windows.Forms.CheckBox(); this.listClin = new System.Windows.Forms.ListBox(); this.labelClin = new System.Windows.Forms.Label(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // date2 // this.date2.Location = new System.Drawing.Point(288, 37); this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(32, 37); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(222, 37); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(51, 23); this.labelTO.TabIndex = 28; this.labelTO.Text = "TO"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // listProv // this.listProv.Location = new System.Drawing.Point(534, 54); this.listProv.Name = "listProv"; this.listProv.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listProv.Size = new System.Drawing.Size(181, 160); this.listProv.TabIndex = 36; this.listProv.Click += new System.EventHandler(this.listProv_Click); // // label1 // this.label1.Location = new System.Drawing.Point(532, 18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 16); this.label1.TabIndex = 35; this.label1.Text = "Providers"; // // groupBox3 // this.groupBox3.Controls.Add(this.label5); this.groupBox3.Controls.Add(this.radioWriteoffProc); this.groupBox3.Controls.Add(this.radioWriteoffPay); this.groupBox3.Location = new System.Drawing.Point(32, 246); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(281, 95); this.groupBox3.TabIndex = 47; this.groupBox3.TabStop = false; this.groupBox3.Text = "Show Insurance Writeoffs"; // // label5 // this.label5.Location = new System.Drawing.Point(6, 71); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(269, 17); this.label5.TabIndex = 2; this.label5.Text = "(this is discussed in the PPO section of the manual)"; // // radioWriteoffProc // this.radioWriteoffProc.CheckAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffProc.Location = new System.Drawing.Point(9, 41); this.radioWriteoffProc.Name = "radioWriteoffProc"; this.radioWriteoffProc.Size = new System.Drawing.Size(244, 23); this.radioWriteoffProc.TabIndex = 1; this.radioWriteoffProc.Text = "Using procedure date."; this.radioWriteoffProc.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffProc.UseVisualStyleBackColor = true; // // radioWriteoffPay // this.radioWriteoffPay.CheckAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffPay.Checked = true; this.radioWriteoffPay.Location = new System.Drawing.Point(9, 20); this.radioWriteoffPay.Name = "radioWriteoffPay"; this.radioWriteoffPay.Size = new System.Drawing.Size(244, 23); this.radioWriteoffPay.TabIndex = 0; this.radioWriteoffPay.TabStop = true; this.radioWriteoffPay.Text = "Using insurance payment date."; this.radioWriteoffPay.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffPay.UseVisualStyleBackColor = true; // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(637, 379); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; this.butCancel.Click += new System.EventHandler(this.butCancel_Click); // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(637, 347); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // checkAllProv // this.checkAllProv.Checked = true; this.checkAllProv.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllProv.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllProv.Location = new System.Drawing.Point(534, 35); this.checkAllProv.Name = "checkAllProv"; this.checkAllProv.Size = new System.Drawing.Size(95, 16); this.checkAllProv.TabIndex = 48; this.checkAllProv.Text = "All"; this.checkAllProv.Click += new System.EventHandler(this.checkAllProv_Click); // // checkAllClin // this.checkAllClin.Checked = true; this.checkAllClin.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllClin.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClin.Location = new System.Drawing.Point(361, 239); this.checkAllClin.Name = "checkAllClin"; this.checkAllClin.Size = new System.Drawing.Size(95, 16); this.checkAllClin.TabIndex = 54; this.checkAllClin.Text = "All"; this.checkAllClin.Click += new System.EventHandler(this.checkAllClin_Click); // // listClin // this.listClin.Location = new System.Drawing.Point(361, 258); this.listClin.Name = "listClin"; this.listClin.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClin.Size = new System.Drawing.Size(154, 147); this.listClin.TabIndex = 53; this.listClin.Click += new System.EventHandler(this.listClin_Click); // // labelClin // this.labelClin.Location = new System.Drawing.Point(358, 221); this.labelClin.Name = "labelClin"; this.labelClin.Size = new System.Drawing.Size(104, 16); this.labelClin.TabIndex = 52; this.labelClin.Text = "Clinics"; this.labelClin.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // FormRpWriteoffSheet // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(746, 431); this.Controls.Add(this.checkAllClin); this.Controls.Add(this.listClin); this.Controls.Add(this.labelClin); this.Controls.Add(this.checkAllProv); this.Controls.Add(this.groupBox3); this.Controls.Add(this.listProv); this.Controls.Add(this.label1); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpWriteoffSheet"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Daily Writeoff Report"; this.Load += new System.EventHandler(this.FormDailyWriteoff_Load); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); }
private void contextMenuStrip1_Opening(object sender, System.ComponentModel.CancelEventArgs e) { //B1: Lấy về Source control var sourceControl = ((ContextMenuStrip) sender).SourceControl; // Adding a button to Menu Button B = new Button(); B.Text = "My Button"; // This will bind the event for the button //B.Click += new EventHandler(B_Click); ToolStripControlHost Ch = new ToolStripControlHost(B); // Adding a Month Calender MonthCalendar Mc = new MonthCalendar(); ToolStripControlHost Ch1 = new ToolStripControlHost(Mc); //Adding a TextBox TextBox Tb = new TextBox(); Tb.Text = "Add Text"; ToolStripControlHost Ch2 = new ToolStripControlHost(Tb); //Adding a Check Box CheckBox Cb = new CheckBox(); Cb.Text = "My Check Box"; ToolStripControlHost Ch3 = new ToolStripControlHost(Cb); //Adding a Radio Buttion RadioButton Rb = new RadioButton(); Rb.Text = "My Radio Button"; ToolStripControlHost Ch4 = new ToolStripControlHost(Rb); contextMenuStrip1.Items.Clear(); contextMenuStrip1.Items.Add(Ch); contextMenuStrip1.Items.Add(Ch1); contextMenuStrip1.Items.Add(Ch2); contextMenuStrip1.Items.Add(Ch3); contextMenuStrip1.Items.Add(Ch4); contextMenuStrip1.Refresh(); }
void ShowPopUp() { if (!IsPopup) { MonthCalendar monthcalendar = new MonthCalendar(); monthcalendar.Size = new Size(226, 160); monthcalendar.DateSelected += new DateRangeEventHandler(monthcalendar_DateSelected); monthcalendar.Location = new Point(this.txtTextInput.Location.X - 10, this.txtTextInput.Location.Y + 25); monthcalendar.Visible = true; gbxMainGroup.Controls.Add(monthcalendar); IsPopup = true; } }
private void Diseño_Ventana() { #region Creando controles this.bttn_Consultar = new System.Windows.Forms.Button(); this.lbl_Titulo = new System.Windows.Forms.Label(); this.lbl_Apartir = new System.Windows.Forms.Label(); this.lbl_Hasta = new System.Windows.Forms.Label(); this.monthCalendar_Muestra = new System.Windows.Forms.MonthCalendar(); this.dateTimePicker_Apartir = new System.Windows.Forms.DateTimePicker(); this.dateTimePicker_Hasta = new System.Windows.Forms.DateTimePicker(); this.picture_Imagen = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.picture_Imagen)).BeginInit(); this.SuspendLayout(); #endregion #region Diseñando controles // // bttn_Consultar // this.bttn_Consultar.Location = new System.Drawing.Point(377, 103); this.bttn_Consultar.Name = "bttn_Consultar"; this.bttn_Consultar.Size = new System.Drawing.Size(75, 23); this.bttn_Consultar.TabIndex = 0; this.bttn_Consultar.Text = "Consultar"; this.bttn_Consultar.UseVisualStyleBackColor = true; this.bttn_Consultar.Click += new System.EventHandler(this.bttn_Consultar_Click); // // lbl_Titulo // this.lbl_Titulo.AutoSize = true; this.lbl_Titulo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Titulo.Location = new System.Drawing.Point(64, 34); this.lbl_Titulo.Name = "lbl_Titulo"; this.lbl_Titulo.Size = new System.Drawing.Size(221, 13); this.lbl_Titulo.TabIndex = 1; this.lbl_Titulo.Text = "Seleccione el periodo de la busqueda"; // // lbl_Apartir // this.lbl_Apartir.AutoSize = true; this.lbl_Apartir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Apartir.Location = new System.Drawing.Point(64, 72); this.lbl_Apartir.Name = "lbl_Apartir"; this.lbl_Apartir.Size = new System.Drawing.Size(44, 13); this.lbl_Apartir.TabIndex = 2; this.lbl_Apartir.Text = "Apartir"; // // lbl_Hasta // this.lbl_Hasta.AutoSize = true; this.lbl_Hasta.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Hasta.Location = new System.Drawing.Point(64, 108); this.lbl_Hasta.Name = "lbl_Hasta"; this.lbl_Hasta.Size = new System.Drawing.Size(40, 13); this.lbl_Hasta.TabIndex = 3; this.lbl_Hasta.Text = "Hasta"; // // monthCalendar_Muestra // this.monthCalendar_Muestra.Location = new System.Drawing.Point(131, 162); this.monthCalendar_Muestra.Name = "monthCalendar_Muestra"; this.monthCalendar_Muestra.TabIndex = 4; // // dateTimePicker_Apartir // this.dateTimePicker_Apartir.Location = new System.Drawing.Point(131, 65); this.dateTimePicker_Apartir.Name = "dateTimePicker_Apartir"; this.dateTimePicker_Apartir.Size = new System.Drawing.Size(200, 20); this.dateTimePicker_Apartir.TabIndex = 5; // // dateTimePicker_Hasta // this.dateTimePicker_Hasta.Location = new System.Drawing.Point(131, 102); this.dateTimePicker_Hasta.Name = "dateTimePicker_Hasta"; this.dateTimePicker_Hasta.Size = new System.Drawing.Size(200, 20); this.dateTimePicker_Hasta.TabIndex = 6; // // picture_Imagen // this.picture_Imagen.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Reportes; this.picture_Imagen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.picture_Imagen.Location = new System.Drawing.Point(19, 162); this.picture_Imagen.Name = "picture_Imagen"; this.picture_Imagen.Size = new System.Drawing.Size(89, 66); this.picture_Imagen.TabIndex = 7; this.picture_Imagen.TabStop = false; // // Reportes // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196))))); this.ClientSize = new System.Drawing.Size(470, 343); this.Controls.Add(this.picture_Imagen); this.Controls.Add(this.dateTimePicker_Hasta); this.Controls.Add(this.dateTimePicker_Apartir); this.Controls.Add(this.monthCalendar_Muestra); this.Controls.Add(this.lbl_Hasta); this.Controls.Add(this.lbl_Apartir); this.Controls.Add(this.lbl_Titulo); this.Controls.Add(this.bttn_Consultar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(476, 367); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(476, 367); this.Name = "Busqueda_de_Historial_de_Muestras"; this.Text = "Historial de Muestras"; this.Icon = global::Sistema_Shajobe.Properties.Resources.Caja_ICO; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Reportes_FormClosing); this.Load += new System.EventHandler(this.Busqueda_de_Historial_de_Muestras_Load); ((System.ComponentModel.ISupportInitialize)(this.picture_Imagen)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); #endregion }
public Form1() { this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textBox1.Location = new System.Drawing.Point(48, 488); this.textBox1.Multiline = true; this.textBox1.ReadOnly = true; this.textBox1.Size = new System.Drawing.Size(824, 32); // Create the calendar. this.monthCalendar1 = new System.Windows.Forms.MonthCalendar(); // Set the calendar location. this.monthCalendar1.Location = new System.Drawing.Point(47, 16); // Change the color. this.monthCalendar1.BackColor = System.Drawing.SystemColors.Info; this.monthCalendar1.ForeColor = System.Drawing.Color.FromArgb( ((System.Byte)(192)), ((System.Byte)(0)), ((System.Byte)(192))); this.monthCalendar1.TitleBackColor = System.Drawing.Color.Purple; this.monthCalendar1.TitleForeColor = System.Drawing.Color.Yellow; this.monthCalendar1.TrailingForeColor = System.Drawing.Color.FromArgb( ((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(0))); // Add dates to the AnnuallyBoldedDates array. this.monthCalendar1.AnnuallyBoldedDates = new System.DateTime[] { new System.DateTime(2002, 4, 20, 0, 0, 0, 0), new System.DateTime(2002, 4, 28, 0, 0, 0, 0), new System.DateTime(2002, 5, 5, 0, 0, 0, 0), new System.DateTime(2002, 7, 4, 0, 0, 0, 0), new System.DateTime(2002, 12, 15, 0, 0, 0, 0), new System.DateTime(2002, 12, 18, 0, 0, 0, 0) }; // Add dates to BoldedDates array. this.monthCalendar1.BoldedDates = new System.DateTime[] { new System.DateTime(2002, 9, 26, 0, 0, 0, 0) }; // Add dates to MonthlyBoldedDates array. this.monthCalendar1.MonthlyBoldedDates = new System.DateTime[] { new System.DateTime(2002, 1, 15, 0, 0, 0, 0), new System.DateTime(2002, 1, 30, 0, 0, 0, 0) }; // Configure the calendar to display 3 rows by 4 columns of months. this.monthCalendar1.CalendarDimensions = new System.Drawing.Size(4, 3); // Set week to begin on Monday. this.monthCalendar1.FirstDayOfWeek = System.Windows.Forms.Day.Monday; // Set the maximum visible date on the calendar to 12/31/2010. this.monthCalendar1.MaxDate = new System.DateTime(2010, 12, 31, 0, 0, 0, 0); // Set the minimum visible date on calendar to 12/31/2010. this.monthCalendar1.MinDate = new System.DateTime(1999, 1, 1, 0, 0, 0, 0); // Only allow 21 days to be selected at the same time. this.monthCalendar1.MaxSelectionCount = 21; // Set the calendar to move one month at a time when navigating using the arrows. this.monthCalendar1.ScrollChange = 1; // Do not show the "Today" banner. this.monthCalendar1.ShowToday = false; // Do not circle today's date. this.monthCalendar1.ShowTodayCircle = false; // Show the week numbers to the left of each week. this.monthCalendar1.ShowWeekNumbers = true; // Add event handlers for the DateSelected and DateChanged events this.monthCalendar1.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar1_DateSelected); this.monthCalendar1.DateChanged += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar1_DateChanged); // Set up how the form should be displayed and add the controls to the form. this.ClientSize = new System.Drawing.Size(920, 566); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.textBox1, this.monthCalendar1 }); this.Text = "Month Calendar Example"; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.lblDescription = new System.Windows.Forms.Label(); this.MonthCalendar1 = new System.Windows.Forms.MonthCalendar(); this.schedule1 = new Gravitybox.Controls.Schedule(); this.SuspendLayout(); // // lblDescription // this.lblDescription.Location = new System.Drawing.Point(0, 159); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(192, 208); this.lblDescription.TabIndex = 5; this.lblDescription.Text = "XXX"; // // MonthCalendar1 // this.MonthCalendar1.Location = new System.Drawing.Point(0, -1); this.MonthCalendar1.Name = "MonthCalendar1"; this.MonthCalendar1.TabIndex = 4; // // schedule1 // this.schedule1.AllowDrop = true; this.schedule1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.schedule1.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Appearance.ForeColor = System.Drawing.Color.DarkGray; this.schedule1.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.Appearance.Alignment = System.Drawing.StringAlignment.Center; this.schedule1.ColumnHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.ColumnHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.ColumnHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.ColumnHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.ColumnHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.ColumnHeader.FrameIncrement = 0; this.schedule1.ColumnHeader.Size = 100; this.schedule1.DayLength = 16; this.schedule1.DefaultAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.DefaultAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.DefaultAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.DefaultAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Location = new System.Drawing.Point(192, 0); this.schedule1.MaxDate = new System.DateTime(2004, 1, 10, 0, 0, 0, 0); this.schedule1.MinDate = new System.DateTime(2004, 1, 1, 0, 0, 0, 0); this.schedule1.Name = "schedule1"; this.schedule1.RowHeader.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.RowHeader.Appearance.BackColor = System.Drawing.SystemColors.Control; this.schedule1.RowHeader.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.RowHeader.Appearance.BorderColor = System.Drawing.SystemColors.ControlDark; this.schedule1.RowHeader.Appearance.ForeColor = System.Drawing.SystemColors.ControlText; this.schedule1.RowHeader.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.RowHeader.FrameIncrement = 0; this.schedule1.RowHeader.Size = 30; this.schedule1.SelectedAppointmentAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.SelectedAppointmentHeaderAppearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.SelectedAppointmentHeaderAppearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.SelectedAppointmentHeaderAppearance.BorderWidth = 3; this.schedule1.SelectedAppointmentHeaderAppearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Appearance.Alignment = System.Drawing.StringAlignment.Near; this.schedule1.Selector.Appearance.BackColor = System.Drawing.SystemColors.Highlight; this.schedule1.Selector.Appearance.BackColor2 = System.Drawing.Color.Wheat; this.schedule1.Selector.Appearance.StringFormatFlags = System.Drawing.StringFormatFlags.FitBlackBox; this.schedule1.Selector.Column = 0; this.schedule1.Selector.Length = 1; this.schedule1.Selector.Row = 0; this.schedule1.Size = new System.Drawing.Size(424, 422); this.schedule1.StartTime = new System.DateTime(1, 1, 1, 8, 0, 0, 0); this.schedule1.TabIndex = 6; // // AutoSizeForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(616, 421); this.Controls.Add(this.schedule1); this.Controls.Add(this.lblDescription); this.Controls.Add(this.MonthCalendar1); this.Name = "AutoSizeForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "AutoSizeForm"; this.ResumeLayout(false); }
protected virtual void InitializeComponents() { this.m_panelManagement = new Panel(); this.m_panelRDGValues = new Panel(); this.btnSet = new System.Windows.Forms.Button(); this.btnRefresh = new System.Windows.Forms.Button(); //this.dgwAdminTable = new DataGridViewAdmin(); this.mcldrDate = new System.Windows.Forms.MonthCalendar(); this.comboBoxTecComponent = new System.Windows.Forms.ComboBox(); this.gbxDividerChoice = new System.Windows.Forms.GroupBox(); initializeLayoutStyle(2, 1); this.SuspendLayout(); //((System.ComponentModel.ISupportInitialize)(this.dgwAdminTable)).BeginInit(); // //m_panelManagement // this.m_panelManagement.Dock = DockStyle.Fill; // //m_panelRDGValues // this.m_panelRDGValues.Dock = DockStyle.Fill; this.Controls.Add(m_panelManagement, 0, 0); this.Controls.Add(m_panelRDGValues, 1, 0); this.m_panelManagement.Controls.Add(this.mcldrDate); this.m_panelManagement.Controls.Add(this.comboBoxTecComponent); this.m_panelManagement.Controls.Add(this.gbxDividerChoice); this.m_panelManagement.Controls.Add(this.btnSet); this.m_panelManagement.Controls.Add(this.btnRefresh); //this.Controls.Add(this.dgwAdminTable); this.Dock = System.Windows.Forms.DockStyle.Fill; //this.Location = new System.Drawing.Point(8, 8); this.Name = "pnlAdmin"; //this.Size = new System.Drawing.Size(760, 610); this.TabIndex = 1; // // mcldrDate // this.mcldrDate.Location = new System.Drawing.Point(10, 38); this.mcldrDate.Name = "mcldrDate"; this.mcldrDate.TabIndex = 0; this.mcldrDate.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.mcldrDate_DateSelected); this.mcldrDate.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204))); this.mcldrDate.MaxSelectionCount = 1; this.mcldrDate.ShowToday = false; this.mcldrDate.ShowTodayCircle = false; int posY = 207; // // btnSet // this.btnSet.Location = new System.Drawing.Point(10, posY); this.btnSet.Name = "btnSet"; this.btnSet.Size = new System.Drawing.Size(154, m_iSizeY); this.btnSet.TabIndex = 2; this.btnSet.Text = "Сохранить в базу"; this.btnSet.UseVisualStyleBackColor = true; this.btnSet.Click += new System.EventHandler(this.btnSet_Click); // // btnRefresh // this.btnRefresh.Location = new System.Drawing.Point(10, posY + 1 * (m_iSizeY + m_iMarginY)); this.btnRefresh.Name = "btnRefresh"; this.btnRefresh.Size = new System.Drawing.Size(154, m_iSizeY); this.btnRefresh.TabIndex = 2; this.btnRefresh.Text = "Обновить из базы"; this.btnRefresh.UseVisualStyleBackColor = true; this.btnRefresh.Click += new System.EventHandler(this.btnRefresh_Click); // // gbxDividerChoice // this.gbxDividerChoice.Location = new System.Drawing.Point(10, posY + 2 * (m_iSizeY + m_iMarginY)); this.gbxDividerChoice.Name = "gbxDividerChoice"; this.gbxDividerChoice.Size = new System.Drawing.Size(154, 8); this.gbxDividerChoice.TabIndex = 4; this.gbxDividerChoice.TabStop = false; // // btnLoadLayout // //this.btnLoadLayout.Location = new System.Drawing.Point(10, 282); //this.btnLoadLayout.Name = "btnLoad"; //this.btnLoadLayout.Size = new System.Drawing.Size(154, 23); //this.btnLoadLayout.TabIndex = 2; //this.btnLoadLayout.Text = "Загрузить макет"; //this.btnLoadLayout.UseVisualStyleBackColor = true; //this.btnLoadLayout.Click += new System.EventHandler(this.btnLoadLayout_Click); // // comboBoxTecComponent // this.comboBoxTecComponent.FormattingEnabled = true; this.comboBoxTecComponent.Location = new System.Drawing.Point(10, 10); this.comboBoxTecComponent.Name = "comboBoxTecComponent"; this.comboBoxTecComponent.Size = new System.Drawing.Size(154, 21); this.comboBoxTecComponent.TabIndex = 3; this.comboBoxTecComponent.SelectionChangeCommitted += new System.EventHandler(this.comboBoxTecComponent_SelectionChangeCommitted); this.comboBoxTecComponent.DropDownStyle = ComboBoxStyle.DropDownList; //((System.ComponentModel.ISupportInitialize)(this.dgwAdminTable)).EndInit(); this.ResumeLayout(); }
public short GetIndex(System.Windows.Forms.MonthCalendar o) { return(BaseGetIndex(o)); }
private void InitializeComponent(){ this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormClaimsSend)); this.label6 = new System.Windows.Forms.Label(); this.contextMenuStatus = new System.Windows.Forms.ContextMenu(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.calendarTo = new System.Windows.Forms.MonthCalendar(); this.calendarFrom = new System.Windows.Forms.MonthCalendar(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panelSplitter = new System.Windows.Forms.Panel(); this.panelHistory = new System.Windows.Forms.Panel(); this.gridHistory = new OpenDental.UI.ODGrid(); this.panel1 = new System.Windows.Forms.Panel(); this.ToolBarHistory = new OpenDental.UI.ODToolBar(); this.butDropTo = new OpenDental.UI.Button(); this.butDropFrom = new OpenDental.UI.Button(); this.textDateFrom = new OpenDental.ValidDate(); this.textDateTo = new OpenDental.ValidDate(); this.comboClinic = new System.Windows.Forms.ComboBox(); this.labelClinic = new System.Windows.Forms.Label(); this.gridMain = new OpenDental.UI.ODGrid(); this.ToolBarMain = new OpenDental.UI.ODToolBar(); this.contextMenuEclaims = new System.Windows.Forms.ContextMenu(); this.comboCustomTracking = new System.Windows.Forms.ComboBox(); this.labelCustomTracking = new System.Windows.Forms.Label(); this.panelHistory.SuspendLayout(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // label6 // this.label6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(107, -44); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(112, 44); this.label6.TabIndex = 21; this.label6.Text = "Insurance Claims"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); this.imageList1.Images.SetKeyName(2, ""); this.imageList1.Images.SetKeyName(3, ""); this.imageList1.Images.SetKeyName(4, ""); this.imageList1.Images.SetKeyName(5, ""); this.imageList1.Images.SetKeyName(6, ""); // // calendarTo // this.calendarTo.Location = new System.Drawing.Point(196, 29); this.calendarTo.MaxSelectionCount = 1; this.calendarTo.Name = "calendarTo"; this.calendarTo.TabIndex = 42; this.calendarTo.Visible = false; this.calendarTo.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.calendarTo_DateSelected); // // calendarFrom // this.calendarFrom.Location = new System.Drawing.Point(6, 29); this.calendarFrom.MaxSelectionCount = 1; this.calendarFrom.Name = "calendarFrom"; this.calendarFrom.TabIndex = 39; this.calendarFrom.Visible = false; this.calendarFrom.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.calendarFrom_DateSelected); // // label2 // this.label2.Location = new System.Drawing.Point(196, 5); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(72, 18); this.label2.TabIndex = 36; this.label2.Text = "To"; this.label2.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // label1 // this.label1.Location = new System.Drawing.Point(1, 5); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(75, 18); this.label1.TabIndex = 34; this.label1.Text = "From"; this.label1.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // panelSplitter // this.panelSplitter.Cursor = System.Windows.Forms.Cursors.SizeNS; this.panelSplitter.Location = new System.Drawing.Point(2, 398); this.panelSplitter.Name = "panelSplitter"; this.panelSplitter.Size = new System.Drawing.Size(961, 6); this.panelSplitter.TabIndex = 50; this.panelSplitter.MouseDown += new System.Windows.Forms.MouseEventHandler(this.panelSplitter_MouseDown); this.panelSplitter.MouseMove += new System.Windows.Forms.MouseEventHandler(this.panelSplitter_MouseMove); this.panelSplitter.MouseUp += new System.Windows.Forms.MouseEventHandler(this.panelSplitter_MouseUp); // // panelHistory // this.panelHistory.Controls.Add(this.calendarFrom); this.panelHistory.Controls.Add(this.label1); this.panelHistory.Controls.Add(this.calendarTo); this.panelHistory.Controls.Add(this.gridHistory); this.panelHistory.Controls.Add(this.panel1); this.panelHistory.Controls.Add(this.butDropTo); this.panelHistory.Controls.Add(this.butDropFrom); this.panelHistory.Controls.Add(this.textDateFrom); this.panelHistory.Controls.Add(this.label2); this.panelHistory.Controls.Add(this.textDateTo); this.panelHistory.Location = new System.Drawing.Point(0, 403); this.panelHistory.Name = "panelHistory"; this.panelHistory.Size = new System.Drawing.Size(972, 286); this.panelHistory.TabIndex = 51; // // gridHistory // this.gridHistory.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.gridHistory.HScrollVisible = false; this.gridHistory.Location = new System.Drawing.Point(4, 31); this.gridHistory.Name = "gridHistory"; this.gridHistory.ScrollValue = 0; this.gridHistory.SelectionMode = OpenDental.UI.GridSelectionMode.MultiExtended; this.gridHistory.Size = new System.Drawing.Size(959, 252); this.gridHistory.TabIndex = 33; this.gridHistory.Title = "History"; this.gridHistory.TranslationName = "TableClaimHistory"; this.gridHistory.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridHistory_CellDoubleClick); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ControlDark; this.panel1.Controls.Add(this.ToolBarHistory); this.panel1.Location = new System.Drawing.Point(387, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(576, 27); this.panel1.TabIndex = 44; // // ToolBarHistory // this.ToolBarHistory.BackColor = System.Drawing.SystemColors.Control; this.ToolBarHistory.ImageList = this.imageList1; this.ToolBarHistory.Location = new System.Drawing.Point(1, 1); this.ToolBarHistory.Name = "ToolBarHistory"; this.ToolBarHistory.Size = new System.Drawing.Size(575, 25); this.ToolBarHistory.TabIndex = 43; this.ToolBarHistory.ButtonClick += new OpenDental.UI.ODToolBarButtonClickEventHandler(this.ToolBarHistory_ButtonClick); // // butDropTo // this.butDropTo.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butDropTo.Autosize = true; this.butDropTo.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butDropTo.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butDropTo.CornerRadius = 4F; this.butDropTo.Location = new System.Drawing.Point(352, 4); this.butDropTo.Name = "butDropTo"; this.butDropTo.Size = new System.Drawing.Size(22, 23); this.butDropTo.TabIndex = 41; this.butDropTo.Text = "V"; this.butDropTo.UseVisualStyleBackColor = true; this.butDropTo.Click += new System.EventHandler(this.butDropTo_Click); // // butDropFrom // this.butDropFrom.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butDropFrom.Autosize = true; this.butDropFrom.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butDropFrom.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butDropFrom.CornerRadius = 4F; this.butDropFrom.Location = new System.Drawing.Point(162, 4); this.butDropFrom.Name = "butDropFrom"; this.butDropFrom.Size = new System.Drawing.Size(22, 23); this.butDropFrom.TabIndex = 40; this.butDropFrom.Text = "V"; this.butDropFrom.UseVisualStyleBackColor = true; this.butDropFrom.Click += new System.EventHandler(this.butDropFrom_Click); // // textDateFrom // this.textDateFrom.Location = new System.Drawing.Point(79, 6); this.textDateFrom.Name = "textDateFrom"; this.textDateFrom.Size = new System.Drawing.Size(81, 20); this.textDateFrom.TabIndex = 35; // // textDateTo // this.textDateTo.Location = new System.Drawing.Point(269, 6); this.textDateTo.Name = "textDateTo"; this.textDateTo.Size = new System.Drawing.Size(81, 20); this.textDateTo.TabIndex = 37; // // comboClinic // this.comboClinic.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboClinic.Location = new System.Drawing.Point(74, 26); this.comboClinic.MaxDropDownItems = 40; this.comboClinic.Name = "comboClinic"; this.comboClinic.Size = new System.Drawing.Size(160, 21); this.comboClinic.TabIndex = 53; this.comboClinic.SelectionChangeCommitted += new System.EventHandler(this.comboClinic_SelectionChangeCommitted); // // labelClinic // this.labelClinic.Location = new System.Drawing.Point(7, 29); this.labelClinic.Name = "labelClinic"; this.labelClinic.Size = new System.Drawing.Size(65, 14); this.labelClinic.TabIndex = 52; this.labelClinic.Text = "Clinic Filter"; this.labelClinic.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // gridMain // this.gridMain.HScrollVisible = true; this.gridMain.Location = new System.Drawing.Point(4, 49); this.gridMain.Name = "gridMain"; this.gridMain.ScrollValue = 0; this.gridMain.SelectionMode = OpenDental.UI.GridSelectionMode.MultiExtended; this.gridMain.Size = new System.Drawing.Size(959, 350); this.gridMain.TabIndex = 32; this.gridMain.Title = "Claims Waiting to Send"; this.gridMain.TranslationName = "TableQueue"; this.gridMain.CellDoubleClick += new OpenDental.UI.ODGridClickEventHandler(this.gridMain_CellDoubleClick); // // ToolBarMain // this.ToolBarMain.Dock = System.Windows.Forms.DockStyle.Top; this.ToolBarMain.ImageList = this.imageList1; this.ToolBarMain.Location = new System.Drawing.Point(0, 0); this.ToolBarMain.Name = "ToolBarMain"; this.ToolBarMain.Size = new System.Drawing.Size(971, 25); this.ToolBarMain.TabIndex = 31; this.ToolBarMain.ButtonClick += new OpenDental.UI.ODToolBarButtonClickEventHandler(this.ToolBarMain_ButtonClick); // // comboCustomTracking // this.comboCustomTracking.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboCustomTracking.Location = new System.Drawing.Point(384, 26); this.comboCustomTracking.MaxDropDownItems = 40; this.comboCustomTracking.Name = "comboCustomTracking"; this.comboCustomTracking.Size = new System.Drawing.Size(160, 21); this.comboCustomTracking.TabIndex = 55; this.comboCustomTracking.SelectionChangeCommitted += new System.EventHandler(this.comboCustomTracking_SelectionChangeCommitted); // // labelCustomTracking // this.labelCustomTracking.Location = new System.Drawing.Point(240, 29); this.labelCustomTracking.Name = "labelCustomTracking"; this.labelCustomTracking.Size = new System.Drawing.Size(142, 14); this.labelCustomTracking.TabIndex = 54; this.labelCustomTracking.Text = "Custom Tracking Filter"; this.labelCustomTracking.TextAlign = System.Drawing.ContentAlignment.BottomRight; // // FormClaimsSend // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(971, 691); this.Controls.Add(this.comboCustomTracking); this.Controls.Add(this.labelCustomTracking); this.Controls.Add(this.comboClinic); this.Controls.Add(this.labelClinic); this.Controls.Add(this.gridMain); this.Controls.Add(this.panelHistory); this.Controls.Add(this.panelSplitter); this.Controls.Add(this.ToolBarMain); this.Controls.Add(this.label6); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormClaimsSend"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Send Claims"; this.Load += new System.EventHandler(this.FormClaimsSend_Load); this.panelHistory.ResumeLayout(false); this.panelHistory.PerformLayout(); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
public void SetIndex(System.Windows.Forms.MonthCalendar o, short Index) { BaseSetIndex(o, Index); }
private void InitializeComponent(){ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpWriteoffSheet)); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.listProv = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label5 = new System.Windows.Forms.Label(); this.radioWriteoffProc = new System.Windows.Forms.RadioButton(); this.radioWriteoffPay = new System.Windows.Forms.RadioButton(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.checkAllProv = new System.Windows.Forms.CheckBox(); this.checkAllClin = new System.Windows.Forms.CheckBox(); this.listClin = new System.Windows.Forms.ListBox(); this.labelClin = new System.Windows.Forms.Label(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // date2 // this.date2.Location = new System.Drawing.Point(288,37); this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(32,37); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(222,37); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(51,23); this.labelTO.TabIndex = 28; this.labelTO.Text = "TO"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // listProv // this.listProv.Location = new System.Drawing.Point(534,54); this.listProv.Name = "listProv"; this.listProv.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listProv.Size = new System.Drawing.Size(181,160); this.listProv.TabIndex = 36; this.listProv.Click += new System.EventHandler(this.listProv_Click); // // label1 // this.label1.Location = new System.Drawing.Point(532,18); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104,16); this.label1.TabIndex = 35; this.label1.Text = "Providers"; // // groupBox3 // this.groupBox3.Controls.Add(this.label5); this.groupBox3.Controls.Add(this.radioWriteoffProc); this.groupBox3.Controls.Add(this.radioWriteoffPay); this.groupBox3.Location = new System.Drawing.Point(32,246); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(281,95); this.groupBox3.TabIndex = 47; this.groupBox3.TabStop = false; this.groupBox3.Text = "Show Insurance Writeoffs"; // // label5 // this.label5.Location = new System.Drawing.Point(6,71); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(269,17); this.label5.TabIndex = 2; this.label5.Text = "(this is discussed in the PPO section of the manual)"; // // radioWriteoffProc // this.radioWriteoffProc.CheckAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffProc.Location = new System.Drawing.Point(9,41); this.radioWriteoffProc.Name = "radioWriteoffProc"; this.radioWriteoffProc.Size = new System.Drawing.Size(244,23); this.radioWriteoffProc.TabIndex = 1; this.radioWriteoffProc.Text = "Using procedure date."; this.radioWriteoffProc.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffProc.UseVisualStyleBackColor = true; // // radioWriteoffPay // this.radioWriteoffPay.CheckAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffPay.Checked = true; this.radioWriteoffPay.Location = new System.Drawing.Point(9,20); this.radioWriteoffPay.Name = "radioWriteoffPay"; this.radioWriteoffPay.Size = new System.Drawing.Size(244,23); this.radioWriteoffPay.TabIndex = 0; this.radioWriteoffPay.TabStop = true; this.radioWriteoffPay.Text = "Using insurance payment date."; this.radioWriteoffPay.TextAlign = System.Drawing.ContentAlignment.TopLeft; this.radioWriteoffPay.UseVisualStyleBackColor = true; // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0); this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(637,379); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75,26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; this.butCancel.Click += new System.EventHandler(this.butCancel_Click); // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(637,347); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75,26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // checkAllProv // this.checkAllProv.Checked = true; this.checkAllProv.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllProv.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllProv.Location = new System.Drawing.Point(534,35); this.checkAllProv.Name = "checkAllProv"; this.checkAllProv.Size = new System.Drawing.Size(95,16); this.checkAllProv.TabIndex = 48; this.checkAllProv.Text = "All"; this.checkAllProv.Click += new System.EventHandler(this.checkAllProv_Click); // // checkAllClin // this.checkAllClin.Checked = true; this.checkAllClin.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllClin.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClin.Location = new System.Drawing.Point(361,239); this.checkAllClin.Name = "checkAllClin"; this.checkAllClin.Size = new System.Drawing.Size(95,16); this.checkAllClin.TabIndex = 54; this.checkAllClin.Text = "All"; this.checkAllClin.Click += new System.EventHandler(this.checkAllClin_Click); // // listClin // this.listClin.Location = new System.Drawing.Point(361,258); this.listClin.Name = "listClin"; this.listClin.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClin.Size = new System.Drawing.Size(154,147); this.listClin.TabIndex = 53; this.listClin.Click += new System.EventHandler(this.listClin_Click); // // labelClin // this.labelClin.Location = new System.Drawing.Point(358,221); this.labelClin.Name = "labelClin"; this.labelClin.Size = new System.Drawing.Size(104,16); this.labelClin.TabIndex = 52; this.labelClin.Text = "Clinics"; this.labelClin.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // FormRpWriteoffSheet // this.AutoScaleBaseSize = new System.Drawing.Size(5,13); this.ClientSize = new System.Drawing.Size(746,431); this.Controls.Add(this.checkAllClin); this.Controls.Add(this.listClin); this.Controls.Add(this.labelClin); this.Controls.Add(this.checkAllProv); this.Controls.Add(this.groupBox3); this.Controls.Add(this.listProv); this.Controls.Add(this.label1); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpWriteoffSheet"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Daily Writeoff Report"; this.Load += new System.EventHandler(this.FormDailyWriteoff_Load); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); }
// draw the month calendar public override void DrawMonthCalendar(Graphics dc, Rectangle clip_rectangle, MonthCalendar mc) { Rectangle client_rectangle = mc.ClientRectangle; Size month_size = mc.SingleMonthSize; // cache local copies of Marshal-by-ref internal members (gets around error CS0197) Size calendar_spacing = (Size)((object)mc.calendar_spacing); Size date_cell_size = (Size)((object)mc.date_cell_size); // draw the singlecalendars int x_offset = 1; int y_offset = 1; // adjust for the position of the specific month for (int i=0; i < mc.CalendarDimensions.Height; i++) { if (i > 0) { y_offset += month_size.Height + calendar_spacing.Height; } // now adjust for x position for (int j=0; j < mc.CalendarDimensions.Width; j++) { if (j > 0) { x_offset += month_size.Width + calendar_spacing.Width; } else { x_offset = 1; } Rectangle month_rect = new Rectangle (x_offset, y_offset, month_size.Width, month_size.Height); if (month_rect.IntersectsWith (clip_rectangle)) { DrawSingleMonth ( dc, clip_rectangle, month_rect, mc, i, j); } } } Rectangle bottom_rect = new Rectangle ( client_rectangle.X, Math.Max(client_rectangle.Bottom - date_cell_size.Height - 3, 0), client_rectangle.Width, date_cell_size.Height + 2); // draw the today date if it's set if (mc.ShowToday && bottom_rect.IntersectsWith (clip_rectangle)) { dc.FillRectangle (GetControlBackBrush (mc.BackColor), bottom_rect); if (mc.ShowToday) { int today_offset = 5; if (mc.ShowTodayCircle) { Rectangle today_circle_rect = new Rectangle ( client_rectangle.X + 5, Math.Max(client_rectangle.Bottom - date_cell_size.Height - 2, 0), date_cell_size.Width, date_cell_size.Height); DrawTodayCircle (dc, today_circle_rect); today_offset += date_cell_size.Width + 5; } // draw today's date StringFormat text_format = new StringFormat(); text_format.LineAlignment = StringAlignment.Center; text_format.Alignment = StringAlignment.Near; Rectangle today_rect = new Rectangle ( today_offset + client_rectangle.X, Math.Max(client_rectangle.Bottom - date_cell_size.Height, 0), Math.Max(client_rectangle.Width - today_offset, 0), date_cell_size.Height); dc.DrawString ("Today: " + DateTime.Now.ToShortDateString(), mc.bold_font, GetControlForeBrush (mc.ForeColor), today_rect, text_format); text_format.Dispose (); } } Brush border_brush; if (mc.owner == null) border_brush = GetControlBackBrush (mc.BackColor); else border_brush = SystemBrushes.ControlDarkDark; // finally paint the borders of the calendars as required for (int i = 0; i <= mc.CalendarDimensions.Width; i++) { if (i == 0 && clip_rectangle.X == client_rectangle.X) { dc.FillRectangle (border_brush, client_rectangle.X, client_rectangle.Y, 1, client_rectangle.Height); } else if (i == mc.CalendarDimensions.Width && clip_rectangle.Right == client_rectangle.Right) { dc.FillRectangle (border_brush, client_rectangle.Right - 1, client_rectangle.Y, 1, client_rectangle.Height); } else { Rectangle rect = new Rectangle ( client_rectangle.X + (month_size.Width*i) + (calendar_spacing.Width * (i-1)) + 1, client_rectangle.Y, calendar_spacing.Width, client_rectangle.Height); if (i < mc.CalendarDimensions.Width && i > 0 && clip_rectangle.IntersectsWith (rect)) { dc.FillRectangle (border_brush, rect); } } } for (int i = 0; i <= mc.CalendarDimensions.Height; i++) { if (i == 0 && clip_rectangle.Y == client_rectangle.Y) { dc.FillRectangle (border_brush, client_rectangle.X, client_rectangle.Y, client_rectangle.Width, 1); } else if (i == mc.CalendarDimensions.Height && clip_rectangle.Bottom == client_rectangle.Bottom) { dc.FillRectangle (border_brush, client_rectangle.X, client_rectangle.Bottom - 1, client_rectangle.Width, 1); } else { Rectangle rect = new Rectangle ( client_rectangle.X, client_rectangle.Y + (month_size.Height*i) + (calendar_spacing.Height*(i-1)) + 1, client_rectangle.Width, calendar_spacing.Height); if (i < mc.CalendarDimensions.Height && i > 0 && clip_rectangle.IntersectsWith (rect)) { dc.FillRectangle (border_brush, rect); } } } // draw the drop down border if need if (mc.owner != null) { Rectangle bounds = mc.ClientRectangle; if (clip_rectangle.Contains (mc.Location)) { // find out if top or left line to draw if(clip_rectangle.Contains (new Point (bounds.Left, bounds.Bottom))) { dc.DrawLine (SystemPens.ControlText, bounds.X, bounds.Y, bounds.X, bounds.Bottom-1); } if(clip_rectangle.Contains (new Point (bounds.Right, bounds.Y))) { dc.DrawLine (SystemPens.ControlText, bounds.X, bounds.Y, bounds.Right-1, bounds.Y); } } if (clip_rectangle.Contains (new Point(bounds.Right, bounds.Bottom))) { // find out if bottom or right line to draw if(clip_rectangle.Contains (new Point (bounds.Left, bounds.Bottom))) { dc.DrawLine (SystemPens.ControlText, bounds.X, bounds.Bottom-1, bounds.Right-1, bounds.Bottom-1); } if(clip_rectangle.Contains (new Point (bounds.Right, bounds.Y))) { dc.DrawLine (SystemPens.ControlText, bounds.Right-1, bounds.Y, bounds.Right-1, bounds.Bottom-1); } } } }
public SingleMonthCalendar(MonthCalendar parent, int index) { base.SetStyle(ControlStyles.UserPaint, true); this.parent = parent; this.index = index; this.posHasDate = new BitArray(42, false); }
// draws the pervious or next button private void DrawMonthCalendarButton (Graphics dc, Rectangle rectangle, MonthCalendar mc, Size title_size, int x_offset, Size button_size, bool is_previous) { const int arrow_width = 4; const int arrow_height = 7; bool is_clicked = false; Rectangle button_rect; PointF arrow_center; PointF [] arrow_path = new PointF [3]; // prepare the button if (is_previous) { is_clicked = mc.is_previous_clicked; button_rect = new Rectangle ( rectangle.X + 1 + x_offset, rectangle.Y + 1 + ((title_size.Height - button_size.Height)/2), Math.Max(button_size.Width - 1, 0), Math.Max(button_size.Height - 1, 0)); arrow_center = new PointF (button_rect.X + ((button_rect.Width + arrow_width) / 2.0f), rectangle.Y + ((button_rect.Height + arrow_height) / 2) + 1); if (is_clicked) { arrow_center.X += 1; arrow_center.Y += 1; } arrow_path [0].X = arrow_center.X; arrow_path [0].Y = arrow_center.Y - arrow_height / 2.0f + 0.5f; arrow_path [1].X = arrow_center.X; arrow_path [1].Y = arrow_center.Y + arrow_height / 2.0f + 0.5f; arrow_path [2].X = arrow_center.X - arrow_width; arrow_path [2].Y = arrow_center.Y + 0.5f; } else { is_clicked = mc.is_next_clicked; button_rect = new Rectangle ( rectangle.Right - 1 - x_offset - button_size.Width, rectangle.Y + 1 + ((title_size.Height - button_size.Height)/2), Math.Max(button_size.Width - 1, 0), Math.Max(button_size.Height - 1, 0)); arrow_center = new PointF (button_rect.X + ((button_rect.Width + arrow_width) / 2.0f), rectangle.Y + ((button_rect.Height + arrow_height) / 2) + 1); if (is_clicked) { arrow_center.X += 1; arrow_center.Y += 1; } arrow_path [0].X = arrow_center.X - arrow_width; arrow_path [0].Y = arrow_center.Y - arrow_height / 2.0f + 0.5f; arrow_path [1].X = arrow_center.X - arrow_width; arrow_path [1].Y = arrow_center.Y + arrow_height / 2.0f + 0.5f; arrow_path [2].X = arrow_center.X; arrow_path [2].Y = arrow_center.Y + 0.5f; } // fill the background dc.FillRectangle (SystemBrushes.Control, button_rect); // draw the border if (is_clicked) { dc.DrawRectangle (SystemPens.ControlDark, button_rect); } else { CPDrawBorder3D (dc, button_rect, Border3DStyle.Raised, Border3DSide.Left | Border3DSide.Right | Border3DSide.Top | Border3DSide.Bottom); } // draw the arrow dc.FillPolygon (SystemBrushes.ControlText, arrow_path); //dc.FillPolygon (SystemBrushes.ControlText, arrow_path, FillMode.Winding); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpPatPortionUncollected)); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.checkAllClin = new System.Windows.Forms.CheckBox(); this.listClin = new System.Windows.Forms.ListBox(); this.labelClin = new System.Windows.Forms.Label(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.SuspendLayout(); // // date2 // this.date2.Location = new System.Drawing.Point(261, 54); this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(18, 54); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // checkAllClin // this.checkAllClin.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClin.Location = new System.Drawing.Point(18, 233); this.checkAllClin.Name = "checkAllClin"; this.checkAllClin.Size = new System.Drawing.Size(95, 16); this.checkAllClin.TabIndex = 54; this.checkAllClin.Text = "All"; this.checkAllClin.Click += new System.EventHandler(this.checkAllClin_Click); // // listClin // this.listClin.Location = new System.Drawing.Point(18, 252); this.listClin.Name = "listClin"; this.listClin.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClin.Size = new System.Drawing.Size(160, 199); this.listClin.TabIndex = 53; this.listClin.Click += new System.EventHandler(this.listClin_Click); // // labelClin // this.labelClin.Location = new System.Drawing.Point(15, 215); this.labelClin.Name = "labelClin"; this.labelClin.Size = new System.Drawing.Size(104, 16); this.labelClin.TabIndex = 52; this.labelClin.Text = "Clinics"; this.labelClin.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // butCancel // this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(413, 425); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; // // butOK // this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Location = new System.Drawing.Point(332, 425); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // FormRpPatPortionUncollected // this.ClientSize = new System.Drawing.Size(509, 466); this.Controls.Add(this.checkAllClin); this.Controls.Add(this.listClin); this.Controls.Add(this.labelClin); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpPatPortionUncollected"; this.ShowInTaskbar = false; this.Text = "Patient Portion Uncollected Report"; this.Load += new System.EventHandler(this.FormPaymentSheet_Load); this.ResumeLayout(false); }
private void InitializeComponent(){ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpPHRawProc)); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.SuspendLayout(); // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0,0); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(523,328); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75,26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; this.butCancel.Click += new System.EventHandler(this.butCancel_Click); // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0,0); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(523,296); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75,26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // date2 // this.date2.Location = new System.Drawing.Point(290,67); this.date2.MaxSelectionCount = 1; this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(34,67); this.date1.MaxSelectionCount = 1; this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(214,75); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(73,23); this.labelTO.TabIndex = 28; this.labelTO.Text = "TO"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // FormRpPHRawProc // this.AutoScaleBaseSize = new System.Drawing.Size(5,13); this.ClientSize = new System.Drawing.Size(616,366); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpPHRawProc"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Raw Procedure Data"; this.Load += new System.EventHandler(this.FormRpPHRawScreen_Load); this.ResumeLayout(false); }
private void Diseño_Ventana() { #region Creando controles this.bttn_Consultar = new System.Windows.Forms.Button(); this.lbl_Titulo = new System.Windows.Forms.Label(); this.lbl_Apartir = new System.Windows.Forms.Label(); this.lbl_Hasta = new System.Windows.Forms.Label(); this.monthCalendar_Muestra = new System.Windows.Forms.MonthCalendar(); this.dateTimePicker_Apartir = new System.Windows.Forms.DateTimePicker(); this.dateTimePicker_Hasta = new System.Windows.Forms.DateTimePicker(); this.picture_Imagen = new System.Windows.Forms.PictureBox(); ((System.ComponentModel.ISupportInitialize)(this.picture_Imagen)).BeginInit(); this.SuspendLayout(); #endregion #region Diseñando controles // // bttn_Consultar // this.bttn_Consultar.Location = new System.Drawing.Point(377, 103); this.bttn_Consultar.Name = "bttn_Consultar"; this.bttn_Consultar.Size = new System.Drawing.Size(75, 23); this.bttn_Consultar.TabIndex = 0; this.bttn_Consultar.Text = "Consultar"; this.bttn_Consultar.UseVisualStyleBackColor = true; this.bttn_Consultar.Click += new System.EventHandler(this.bttn_Consultar_Click); // // lbl_Titulo // this.lbl_Titulo.AutoSize = true; this.lbl_Titulo.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Titulo.Location = new System.Drawing.Point(64, 34); this.lbl_Titulo.Name = "lbl_Titulo"; this.lbl_Titulo.Size = new System.Drawing.Size(221, 13); this.lbl_Titulo.TabIndex = 1; this.lbl_Titulo.Text = "Seleccione el periodo de la busqueda"; // // lbl_Apartir // this.lbl_Apartir.AutoSize = true; this.lbl_Apartir.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Apartir.Location = new System.Drawing.Point(64, 72); this.lbl_Apartir.Name = "lbl_Apartir"; this.lbl_Apartir.Size = new System.Drawing.Size(44, 13); this.lbl_Apartir.TabIndex = 2; this.lbl_Apartir.Text = "Apartir"; // // lbl_Hasta // this.lbl_Hasta.AutoSize = true; this.lbl_Hasta.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_Hasta.Location = new System.Drawing.Point(64, 108); this.lbl_Hasta.Name = "lbl_Hasta"; this.lbl_Hasta.Size = new System.Drawing.Size(40, 13); this.lbl_Hasta.TabIndex = 3; this.lbl_Hasta.Text = "Hasta"; // // monthCalendar_Muestra // this.monthCalendar_Muestra.Location = new System.Drawing.Point(131, 162); this.monthCalendar_Muestra.Name = "monthCalendar_Muestra"; this.monthCalendar_Muestra.TabIndex = 4; // // dateTimePicker_Apartir // this.dateTimePicker_Apartir.Location = new System.Drawing.Point(131, 65); this.dateTimePicker_Apartir.Name = "dateTimePicker_Apartir"; this.dateTimePicker_Apartir.Size = new System.Drawing.Size(200, 20); this.dateTimePicker_Apartir.TabIndex = 5; // // dateTimePicker_Hasta // this.dateTimePicker_Hasta.Location = new System.Drawing.Point(131, 102); this.dateTimePicker_Hasta.Name = "dateTimePicker_Hasta"; this.dateTimePicker_Hasta.Size = new System.Drawing.Size(200, 20); this.dateTimePicker_Hasta.TabIndex = 6; // // picture_Imagen // this.picture_Imagen.BackgroundImage = global::Sistema_Shajobe.Properties.Resources.Reportes; this.picture_Imagen.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.picture_Imagen.Location = new System.Drawing.Point(19, 162); this.picture_Imagen.Name = "picture_Imagen"; this.picture_Imagen.Size = new System.Drawing.Size(89, 66); this.picture_Imagen.TabIndex = 7; this.picture_Imagen.TabStop = false; // // Reportes // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(237)))), ((int)(((byte)(228)))), ((int)(((byte)(196))))); this.ClientSize = new System.Drawing.Size(470, 343); this.Controls.Add(this.picture_Imagen); this.Controls.Add(this.dateTimePicker_Hasta); this.Controls.Add(this.dateTimePicker_Apartir); this.Controls.Add(this.monthCalendar_Muestra); this.Controls.Add(this.lbl_Hasta); this.Controls.Add(this.lbl_Apartir); this.Controls.Add(this.lbl_Titulo); this.Controls.Add(this.bttn_Consultar); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.MaximumSize = new System.Drawing.Size(476, 367); this.MinimizeBox = false; this.MinimumSize = new System.Drawing.Size(476, 367); this.Name = "Busqueda_de_Gastos_de_Inventario"; this.Text = "Historial de gastos de inventarios"; this.Icon = global::Sistema_Shajobe.Properties.Resources.Caja_ICO; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Reportes_FormClosing); this.Load += new System.EventHandler(this.Busqueda_de_Gastos_de_Inventario_Load); ((System.ComponentModel.ISupportInitialize)(this.picture_Imagen)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); #endregion }
public abstract void DrawMonthCalendar(Graphics dc, Rectangle clip_rectangle, MonthCalendar month_calendar);
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.calendar = new System.Windows.Forms.MonthCalendar(); this.btnOK = new System.Windows.Forms.Button(); this.btnCancel = new System.Windows.Forms.Button(); this.SuspendLayout(); // // calendar // this.calendar.Location = new System.Drawing.Point(0, 0); this.calendar.MaxSelectionCount = 1; this.calendar.Name = "calendar"; this.calendar.TabIndex = 0; // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK; this.btnOK.Location = new System.Drawing.Point(104, 184); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(88, 24); this.btnOK.TabIndex = 2; this.btnOK.Text = "OK"; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Location = new System.Drawing.Point(8, 184); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(88, 24); this.btnCancel.TabIndex = 1; this.btnCancel.Text = "Cancel"; // // DateTimeSelector // this.AcceptButton = this.btnOK; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(192, 213); this.Controls.Add(this.btnCancel); this.Controls.Add(this.btnOK); this.Controls.Add(this.calendar); this.Name = "DateTimeSelector"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Date Time Selector"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.calendarControl = new System.Windows.Forms.MonthCalendar(); this.CalendarURI = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.UserName = new System.Windows.Forms.TextBox(); this.Password = new System.Windows.Forms.TextBox(); this.Go = new System.Windows.Forms.Button(); this.DayEvents = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.button1 = new System.Windows.Forms.Button(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.listBox1 = new System.Windows.Forms.ListBox(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // calendarControl // this.calendarControl.Location = new System.Drawing.Point(7, 8); this.calendarControl.Name = "calendarControl"; this.calendarControl.ShowTodayCircle = false; this.calendarControl.TabIndex = 0; this.calendarControl.DateSelected += new System.Windows.Forms.DateRangeEventHandler(this.calendarControl_DateSelected); // // CalendarURI // this.CalendarURI.Location = new System.Drawing.Point(293, 8); this.CalendarURI.Name = "CalendarURI"; this.CalendarURI.Size = new System.Drawing.Size(287, 20); this.CalendarURI.TabIndex = 1; this.CalendarURI.Text = "http://www.google.com/calendar/feeds/default/private/full"; // // label1 // this.label1.Location = new System.Drawing.Point(239, 11); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(38, 19); this.label1.TabIndex = 2; this.label1.Text = "URL:"; // // label2 // this.label2.Location = new System.Drawing.Point(239, 37); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(38, 24); this.label2.TabIndex = 3; this.label2.Text = "User:"******"label3"; this.label3.Size = new System.Drawing.Size(67, 16); this.label3.TabIndex = 4; this.label3.Text = "Password:"******"UserName"; this.UserName.Size = new System.Drawing.Size(115, 20); this.UserName.TabIndex = 5; this.UserName.Text = "*****@*****.**"; // // Password // this.Password.Location = new System.Drawing.Point(293, 54); this.Password.Name = "Password"; this.Password.PasswordChar = '*'; this.Password.Size = new System.Drawing.Size(115, 20); this.Password.TabIndex = 6; // // Go // this.Go.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.Go.Location = new System.Drawing.Point(414, 31); this.Go.Name = "Go"; this.Go.Size = new System.Drawing.Size(166, 43); this.Go.TabIndex = 7; this.Go.Text = "Read Calendar Data"; this.Go.Click += new System.EventHandler(this.Go_Click); // // DayEvents // this.DayEvents.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4}); this.DayEvents.FullRowSelect = true; this.DayEvents.GridLines = true; this.DayEvents.HeaderStyle = System.Windows.Forms.ColumnHeaderStyle.Nonclickable; this.DayEvents.LabelWrap = false; this.DayEvents.Location = new System.Drawing.Point(242, 85); this.DayEvents.Name = "DayEvents"; this.DayEvents.Size = new System.Drawing.Size(338, 84); this.DayEvents.TabIndex = 8; this.DayEvents.UseCompatibleStateImageBehavior = false; this.DayEvents.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "Event"; this.columnHeader1.Width = 200; // // columnHeader2 // this.columnHeader2.Text = "Author"; this.columnHeader2.Width = 100; // // columnHeader3 // this.columnHeader3.Text = "Start"; // // columnHeader4 // this.columnHeader4.Text = "End"; // // button1 // this.button1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button1.Location = new System.Drawing.Point(497, 224); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(83, 23); this.button1.TabIndex = 9; this.button1.Text = "Send SMS"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // textBox1 // this.textBox1.Location = new System.Drawing.Point(242, 192); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(249, 56); this.textBox1.TabIndex = 10; this.textBox1.Text = "test text"; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged_1); // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(510, 207); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(13, 13); this.label4.TabIndex = 11; this.label4.Text = "9"; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(239, 175); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(57, 13); this.label5.TabIndex = 12; this.label5.Text = "Text SMS:"; // // label6 // this.label6.AutoSize = true; this.label6.Location = new System.Drawing.Point(12, 175); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(51, 13); this.label6.TabIndex = 13; this.label6.Text = "User List:"; // // listBox1 // this.listBox1.FormattingEnabled = true; this.listBox1.Items.AddRange(new object[] { "User1", "User2", "User3", "User4"}); this.listBox1.Location = new System.Drawing.Point(15, 192); this.listBox1.Name = "listBox1"; this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listBox1.Size = new System.Drawing.Size(219, 56); this.listBox1.TabIndex = 14; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(535, 207); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(33, 13); this.label7.TabIndex = 15; this.label7.Text = "z 57"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(505, 190); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(63, 13); this.label8.TabIndex = 16; this.label8.Text = "Char Count:"; // // Calendar // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(595, 259); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.listBox1); this.Controls.Add(this.label6); this.Controls.Add(this.label5); this.Controls.Add(this.label4); this.Controls.Add(this.textBox1); this.Controls.Add(this.button1); this.Controls.Add(this.DayEvents); this.Controls.Add(this.Go); this.Controls.Add(this.Password); this.Controls.Add(this.UserName); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.CalendarURI); this.Controls.Add(this.calendarControl); this.Cursor = System.Windows.Forms.Cursors.Arrow; this.Name = "Calendar"; this.Text = "FreeLifeSMS"; this.ResumeLayout(false); this.PerformLayout(); }
public MonthCalendarAccessibleObject(Control owner) : base(owner) { _owner = (MonthCalendar)owner; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.cmbBranch = new DevExpress.XtraEditors.ImageComboBoxEdit(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.panelSun = new System.Windows.Forms.Panel(); this.panelMonday = new System.Windows.Forms.Panel(); this.lblMon = new System.Windows.Forms.Label(); this.txtMonday = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.lblTUE = new System.Windows.Forms.Label(); this.txtTUE = new System.Windows.Forms.Label(); this.panelFriday = new System.Windows.Forms.Panel(); this.lblFRI = new System.Windows.Forms.Label(); this.txtFriday = new System.Windows.Forms.Label(); this.panelSat = new System.Windows.Forms.Panel(); this.panelFri = new System.Windows.Forms.Panel(); this.panelThu = new System.Windows.Forms.Panel(); this.panelWed = new System.Windows.Forms.Panel(); this.panelTue = new System.Windows.Forms.Panel(); this.panelMon = new System.Windows.Forms.Panel(); this.panelWednesday = new System.Windows.Forms.Panel(); this.lblWED = new System.Windows.Forms.Label(); this.txtWED = new System.Windows.Forms.Label(); this.panelThursday = new System.Windows.Forms.Panel(); this.lblThu = new System.Windows.Forms.Label(); this.txtThur = new System.Windows.Forms.Label(); this.panelSaturday = new System.Windows.Forms.Panel(); this.lblSAT = new System.Windows.Forms.Label(); this.txtSAT = new System.Windows.Forms.Label(); this.panelSunday = new System.Windows.Forms.Panel(); this.lblSUN = new System.Windows.Forms.Label(); this.txtSunday = new System.Windows.Forms.Label(); this.btnNextWeek = new DevExpress.XtraEditors.SimpleButton(); this.btnPastWeek = new DevExpress.XtraEditors.SimpleButton(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtClassDate = new System.Windows.Forms.MonthCalendar(); ((System.ComponentModel.ISupportInitialize)(this.cmbBranch.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); this.panelMonday.SuspendLayout(); this.panel4.SuspendLayout(); this.panelFriday.SuspendLayout(); this.panelWednesday.SuspendLayout(); this.panelThursday.SuspendLayout(); this.panelSaturday.SuspendLayout(); this.panelSunday.SuspendLayout(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label1.Location = new System.Drawing.Point(16, 93); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 40); this.label1.TabIndex = 52; this.label1.Text = "Branch"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // cmbBranch // this.cmbBranch.Location = new System.Drawing.Point(80, 104); this.cmbBranch.Name = "cmbBranch"; this.cmbBranch.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cmbBranch.Size = new System.Drawing.Size(176, 20); this.cmbBranch.TabIndex = 51; this.cmbBranch.SelectedValueChanged += new System.EventHandler(this.cmbBranch_SelectedValueChanged); // // groupControl1 // this.groupControl1.Appearance.BackColor = System.Drawing.Color.Transparent; this.groupControl1.Appearance.Options.UseBackColor = true; this.groupControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.groupControl1.Controls.Add(this.panelSun); this.groupControl1.Controls.Add(this.panelMonday); this.groupControl1.Controls.Add(this.panel4); this.groupControl1.Controls.Add(this.panelFriday); this.groupControl1.Controls.Add(this.panelSat); this.groupControl1.Controls.Add(this.panelFri); this.groupControl1.Controls.Add(this.panelThu); this.groupControl1.Controls.Add(this.panelWed); this.groupControl1.Controls.Add(this.panelTue); this.groupControl1.Controls.Add(this.panelMon); this.groupControl1.Controls.Add(this.panelWednesday); this.groupControl1.Controls.Add(this.panelThursday); this.groupControl1.Controls.Add(this.panelSaturday); this.groupControl1.Controls.Add(this.panelSunday); this.groupControl1.Location = new System.Drawing.Point(0, 120); this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl1.Name = "groupControl1"; this.groupControl1.ShowCaption = false; this.groupControl1.Size = new System.Drawing.Size(912, 568); this.groupControl1.TabIndex = 32; // // panelSun // this.panelSun.BackColor = System.Drawing.Color.Transparent; this.panelSun.Location = new System.Drawing.Point(8, 56); this.panelSun.Name = "panelSun"; this.panelSun.Size = new System.Drawing.Size(128, 480); this.panelSun.TabIndex = 55; // // panelMonday // this.panelMonday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelMonday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelMonday.Controls.Add(this.lblMon); this.panelMonday.Controls.Add(this.txtMonday); this.panelMonday.Location = new System.Drawing.Point(136, 24); this.panelMonday.Name = "panelMonday"; this.panelMonday.Size = new System.Drawing.Size(128, 32); this.panelMonday.TabIndex = 54; // // lblMon // this.lblMon.BackColor = System.Drawing.Color.PowderBlue; this.lblMon.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMon.Location = new System.Drawing.Point(0, 0); this.lblMon.Name = "lblMon"; this.lblMon.Size = new System.Drawing.Size(128, 16); this.lblMon.TabIndex = 1; this.lblMon.Text = "MON"; this.lblMon.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtMonday // this.txtMonday.BackColor = System.Drawing.Color.PowderBlue; this.txtMonday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMonday.Location = new System.Drawing.Point(0, 16); this.txtMonday.Name = "txtMonday"; this.txtMonday.Size = new System.Drawing.Size(128, 16); this.txtMonday.TabIndex = 2; this.txtMonday.Text = "17/6/2005"; this.txtMonday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel4 // this.panel4.BackColor = System.Drawing.Color.WhiteSmoke; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel4.Controls.Add(this.lblTUE); this.panel4.Controls.Add(this.txtTUE); this.panel4.Location = new System.Drawing.Point(264, 24); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(128, 32); this.panel4.TabIndex = 52; // // lblTUE // this.lblTUE.BackColor = System.Drawing.Color.PowderBlue; this.lblTUE.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTUE.Location = new System.Drawing.Point(0, 0); this.lblTUE.Name = "lblTUE"; this.lblTUE.Size = new System.Drawing.Size(128, 16); this.lblTUE.TabIndex = 1; this.lblTUE.Text = "TUE"; this.lblTUE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtTUE // this.txtTUE.BackColor = System.Drawing.Color.PowderBlue; this.txtTUE.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTUE.Location = new System.Drawing.Point(0, 16); this.txtTUE.Name = "txtTUE"; this.txtTUE.Size = new System.Drawing.Size(128, 16); this.txtTUE.TabIndex = 2; this.txtTUE.Text = "17/6/2005"; this.txtTUE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelFriday // this.panelFriday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelFriday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelFriday.Controls.Add(this.lblFRI); this.panelFriday.Controls.Add(this.txtFriday); this.panelFriday.Location = new System.Drawing.Point(648, 24); this.panelFriday.Name = "panelFriday"; this.panelFriday.Size = new System.Drawing.Size(128, 32); this.panelFriday.TabIndex = 48; // // lblFRI // this.lblFRI.BackColor = System.Drawing.Color.PowderBlue; this.lblFRI.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblFRI.Location = new System.Drawing.Point(0, 0); this.lblFRI.Name = "lblFRI"; this.lblFRI.Size = new System.Drawing.Size(128, 16); this.lblFRI.TabIndex = 1; this.lblFRI.Text = "FRI"; this.lblFRI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtFriday // this.txtFriday.BackColor = System.Drawing.Color.PowderBlue; this.txtFriday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtFriday.Location = new System.Drawing.Point(0, 16); this.txtFriday.Name = "txtFriday"; this.txtFriday.Size = new System.Drawing.Size(128, 16); this.txtFriday.TabIndex = 2; this.txtFriday.Text = "17/6/2005"; this.txtFriday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelSat // this.panelSat.BackColor = System.Drawing.Color.Transparent; this.panelSat.Location = new System.Drawing.Point(776, 56); this.panelSat.Name = "panelSat"; this.panelSat.Size = new System.Drawing.Size(128, 480); this.panelSat.TabIndex = 42; // // panelFri // this.panelFri.BackColor = System.Drawing.Color.Transparent; this.panelFri.Location = new System.Drawing.Point(648, 56); this.panelFri.Name = "panelFri"; this.panelFri.Size = new System.Drawing.Size(128, 480); this.panelFri.TabIndex = 37; // // panelThu // this.panelThu.BackColor = System.Drawing.Color.Transparent; this.panelThu.Location = new System.Drawing.Point(520, 56); this.panelThu.Name = "panelThu"; this.panelThu.Size = new System.Drawing.Size(128, 480); this.panelThu.TabIndex = 36; // // panelWed // this.panelWed.BackColor = System.Drawing.Color.Transparent; this.panelWed.Location = new System.Drawing.Point(392, 56); this.panelWed.Name = "panelWed"; this.panelWed.Size = new System.Drawing.Size(128, 480); this.panelWed.TabIndex = 35; // // panelTue // this.panelTue.BackColor = System.Drawing.Color.Transparent; this.panelTue.Location = new System.Drawing.Point(264, 56); this.panelTue.Name = "panelTue"; this.panelTue.Size = new System.Drawing.Size(128, 480); this.panelTue.TabIndex = 34; this.panelTue.Paint += new System.Windows.Forms.PaintEventHandler(this.panelTue_Paint); // // panelMon // this.panelMon.BackColor = System.Drawing.Color.Transparent; this.panelMon.Location = new System.Drawing.Point(136, 56); this.panelMon.Name = "panelMon"; this.panelMon.Size = new System.Drawing.Size(128, 480); this.panelMon.TabIndex = 33; // // panelWednesday // this.panelWednesday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelWednesday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelWednesday.Controls.Add(this.lblWED); this.panelWednesday.Controls.Add(this.txtWED); this.panelWednesday.Location = new System.Drawing.Point(392, 24); this.panelWednesday.Name = "panelWednesday"; this.panelWednesday.Size = new System.Drawing.Size(128, 32); this.panelWednesday.TabIndex = 51; // // lblWED // this.lblWED.BackColor = System.Drawing.Color.PowderBlue; this.lblWED.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblWED.Location = new System.Drawing.Point(0, 0); this.lblWED.Name = "lblWED"; this.lblWED.Size = new System.Drawing.Size(128, 16); this.lblWED.TabIndex = 1; this.lblWED.Text = "WED"; this.lblWED.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtWED // this.txtWED.BackColor = System.Drawing.Color.PowderBlue; this.txtWED.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWED.Location = new System.Drawing.Point(0, 16); this.txtWED.Name = "txtWED"; this.txtWED.Size = new System.Drawing.Size(128, 16); this.txtWED.TabIndex = 2; this.txtWED.Text = "17/6/2005"; this.txtWED.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelThursday // this.panelThursday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelThursday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelThursday.Controls.Add(this.lblThu); this.panelThursday.Controls.Add(this.txtThur); this.panelThursday.Location = new System.Drawing.Point(520, 24); this.panelThursday.Name = "panelThursday"; this.panelThursday.Size = new System.Drawing.Size(128, 32); this.panelThursday.TabIndex = 51; // // lblThu // this.lblThu.BackColor = System.Drawing.Color.PowderBlue; this.lblThu.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblThu.Location = new System.Drawing.Point(0, 0); this.lblThu.Name = "lblThu"; this.lblThu.Size = new System.Drawing.Size(128, 16); this.lblThu.TabIndex = 1; this.lblThu.Text = "THU"; this.lblThu.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtThur // this.txtThur.BackColor = System.Drawing.Color.PowderBlue; this.txtThur.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtThur.Location = new System.Drawing.Point(0, 16); this.txtThur.Name = "txtThur"; this.txtThur.Size = new System.Drawing.Size(128, 16); this.txtThur.TabIndex = 2; this.txtThur.Text = "17/6/2005"; this.txtThur.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelSaturday // this.panelSaturday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelSaturday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelSaturday.Controls.Add(this.lblSAT); this.panelSaturday.Controls.Add(this.txtSAT); this.panelSaturday.Location = new System.Drawing.Point(776, 24); this.panelSaturday.Name = "panelSaturday"; this.panelSaturday.Size = new System.Drawing.Size(128, 32); this.panelSaturday.TabIndex = 50; // // lblSAT // this.lblSAT.BackColor = System.Drawing.Color.PowderBlue; this.lblSAT.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSAT.Location = new System.Drawing.Point(0, 0); this.lblSAT.Name = "lblSAT"; this.lblSAT.Size = new System.Drawing.Size(128, 16); this.lblSAT.TabIndex = 1; this.lblSAT.Text = "SAT"; this.lblSAT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtSAT // this.txtSAT.BackColor = System.Drawing.Color.PowderBlue; this.txtSAT.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSAT.Location = new System.Drawing.Point(0, 16); this.txtSAT.Name = "txtSAT"; this.txtSAT.Size = new System.Drawing.Size(128, 16); this.txtSAT.TabIndex = 2; this.txtSAT.Text = "17/6/2005"; this.txtSAT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelSunday // this.panelSunday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelSunday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelSunday.Controls.Add(this.lblSUN); this.panelSunday.Controls.Add(this.txtSunday); this.panelSunday.Location = new System.Drawing.Point(8, 24); this.panelSunday.Name = "panelSunday"; this.panelSunday.Size = new System.Drawing.Size(128, 32); this.panelSunday.TabIndex = 52; // // lblSUN // this.lblSUN.BackColor = System.Drawing.Color.PowderBlue; this.lblSUN.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSUN.Location = new System.Drawing.Point(0, 0); this.lblSUN.Name = "lblSUN"; this.lblSUN.Size = new System.Drawing.Size(128, 16); this.lblSUN.TabIndex = 1; this.lblSUN.Text = "SUN"; this.lblSUN.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtSunday // this.txtSunday.BackColor = System.Drawing.Color.PowderBlue; this.txtSunday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSunday.Location = new System.Drawing.Point(0, 16); this.txtSunday.Name = "txtSunday"; this.txtSunday.Size = new System.Drawing.Size(128, 16); this.txtSunday.TabIndex = 2; this.txtSunday.Text = "17/6/2005"; this.txtSunday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // btnNextWeek // this.btnNextWeek.Appearance.BackColor = System.Drawing.Color.LightGray; this.btnNextWeek.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.btnNextWeek.Appearance.Options.UseBackColor = true; this.btnNextWeek.Appearance.Options.UseFont = true; this.btnNextWeek.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnNextWeek.Location = new System.Drawing.Point(683, 88); this.btnNextWeek.Name = "btnNextWeek"; this.btnNextWeek.Size = new System.Drawing.Size(96, 40); this.btnNextWeek.TabIndex = 47; this.btnNextWeek.Text = "Next >>"; this.btnNextWeek.Click += new System.EventHandler(this.btnNextWeek_Click); // // btnPastWeek // this.btnPastWeek.Appearance.BackColor = System.Drawing.Color.LightGray; this.btnPastWeek.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.btnPastWeek.Appearance.Options.UseBackColor = true; this.btnPastWeek.Appearance.Options.UseFont = true; this.btnPastWeek.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.btnPastWeek.Location = new System.Drawing.Point(352, 88); this.btnPastWeek.Name = "btnPastWeek"; this.btnPastWeek.Size = new System.Drawing.Size(96, 40); this.btnPastWeek.TabIndex = 46; this.btnPastWeek.Text = "<< Previous"; this.btnPastWeek.Click += new System.EventHandler(this.btnPastWeek_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.dtClassDate); this.groupBox1.Controls.Add(this.cmbBranch); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.btnPastWeek); this.groupBox1.Controls.Add(this.btnNextWeek); this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(912, 136); this.groupBox1.TabIndex = 58; this.groupBox1.TabStop = false; // // dtClassDate // this.dtClassDate.Location = new System.Drawing.Point(472, 0); this.dtClassDate.Name = "dtClassDate"; this.dtClassDate.TabIndex = 56; this.dtClassDate.DateChanged += new System.Windows.Forms.DateRangeEventHandler(this.dtClassDate_DateChanged); // // RPClassAnalysis // this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(928, 592); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "RPClassAnalysis"; this.Text = "Class Analysis"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.RPClassAnalysis_Load); ((System.ComponentModel.ISupportInitialize)(this.cmbBranch.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.panelMonday.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panelFriday.ResumeLayout(false); this.panelWednesday.ResumeLayout(false); this.panelThursday.ResumeLayout(false); this.panelSaturday.ResumeLayout(false); this.panelSunday.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpPaySheet)); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.listProv = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.checkAllProv = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label2 = new System.Windows.Forms.Label(); this.radioPatient = new System.Windows.Forms.RadioButton(); this.radioCheck = new System.Windows.Forms.RadioButton(); this.checkPatientTypes = new System.Windows.Forms.CheckBox(); this.listPatientTypes = new System.Windows.Forms.ListBox(); this.checkInsuranceTypes = new System.Windows.Forms.CheckBox(); this.checkAllClin = new System.Windows.Forms.CheckBox(); this.listClin = new System.Windows.Forms.ListBox(); this.labelClin = new System.Windows.Forms.Label(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.listInsuranceTypes = new System.Windows.Forms.ListBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // date2 // this.date2.Location = new System.Drawing.Point(285, 36); this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(31, 36); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(212, 44); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(72, 23); this.labelTO.TabIndex = 22; this.labelTO.Text = "TO"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // listProv // this.listProv.Location = new System.Drawing.Point(524, 54); this.listProv.Name = "listProv"; this.listProv.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listProv.Size = new System.Drawing.Size(163, 199); this.listProv.TabIndex = 36; this.listProv.Click += new System.EventHandler(this.listProv_Click); // // label1 // this.label1.Location = new System.Drawing.Point(522, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 16); this.label1.TabIndex = 35; this.label1.Text = "Providers"; this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // checkAllProv // this.checkAllProv.Checked = true; this.checkAllProv.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllProv.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllProv.Location = new System.Drawing.Point(525, 34); this.checkAllProv.Name = "checkAllProv"; this.checkAllProv.Size = new System.Drawing.Size(95, 16); this.checkAllProv.TabIndex = 43; this.checkAllProv.Text = "All"; this.checkAllProv.Click += new System.EventHandler(this.checkAllProv_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.radioPatient); this.groupBox1.Controls.Add(this.radioCheck); this.groupBox1.Location = new System.Drawing.Point(31, 263); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(173, 93); this.groupBox1.TabIndex = 44; this.groupBox1.TabStop = false; this.groupBox1.Text = "Group By"; // // label2 // this.label2.Location = new System.Drawing.Point(5, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(163, 29); this.label2.TabIndex = 55; this.label2.Text = "Either way, provider splits will still show separately."; // // radioPatient // this.radioPatient.Location = new System.Drawing.Point(8, 35); this.radioPatient.Name = "radioPatient"; this.radioPatient.Size = new System.Drawing.Size(104, 18); this.radioPatient.TabIndex = 1; this.radioPatient.Text = "Patient"; this.radioPatient.UseVisualStyleBackColor = true; // // radioCheck // this.radioCheck.Checked = true; this.radioCheck.Location = new System.Drawing.Point(8, 16); this.radioCheck.Name = "radioCheck"; this.radioCheck.Size = new System.Drawing.Size(104, 18); this.radioCheck.TabIndex = 0; this.radioCheck.TabStop = true; this.radioCheck.Text = "Check"; this.radioCheck.UseVisualStyleBackColor = true; // // checkPatientTypes // this.checkPatientTypes.Checked = true; this.checkPatientTypes.CheckState = System.Windows.Forms.CheckState.Checked; this.checkPatientTypes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkPatientTypes.Location = new System.Drawing.Point(382, 263); this.checkPatientTypes.Name = "checkPatientTypes"; this.checkPatientTypes.Size = new System.Drawing.Size(166, 16); this.checkPatientTypes.TabIndex = 47; this.checkPatientTypes.Text = "All patient payment types"; this.checkPatientTypes.Click += new System.EventHandler(this.checkAllTypes_Click); // // listPatientTypes // this.listPatientTypes.Location = new System.Drawing.Point(382, 285); this.listPatientTypes.Name = "listPatientTypes"; this.listPatientTypes.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listPatientTypes.Size = new System.Drawing.Size(163, 186); this.listPatientTypes.TabIndex = 46; // // checkInsuranceTypes // this.checkInsuranceTypes.Checked = true; this.checkInsuranceTypes.CheckState = System.Windows.Forms.CheckState.Checked; this.checkInsuranceTypes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkInsuranceTypes.Location = new System.Drawing.Point(210, 263); this.checkInsuranceTypes.Name = "checkInsuranceTypes"; this.checkInsuranceTypes.Size = new System.Drawing.Size(166, 16); this.checkInsuranceTypes.TabIndex = 48; this.checkInsuranceTypes.Text = "All insurance payment types"; this.checkInsuranceTypes.Click += new System.EventHandler(this.checkIns_Click); // // checkAllClin // this.checkAllClin.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClin.Location = new System.Drawing.Point(554, 305); this.checkAllClin.Name = "checkAllClin"; this.checkAllClin.Size = new System.Drawing.Size(95, 16); this.checkAllClin.TabIndex = 54; this.checkAllClin.Text = "All"; this.checkAllClin.Click += new System.EventHandler(this.checkAllClin_Click); // // listClin // this.listClin.Location = new System.Drawing.Point(554, 324); this.listClin.Name = "listClin"; this.listClin.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClin.Size = new System.Drawing.Size(154, 147); this.listClin.TabIndex = 53; this.listClin.Click += new System.EventHandler(this.listClin_Click); // // labelClin // this.labelClin.Location = new System.Drawing.Point(551, 287); this.labelClin.Name = "labelClin"; this.labelClin.Size = new System.Drawing.Size(104, 16); this.labelClin.TabIndex = 52; this.labelClin.Text = "Clinics"; this.labelClin.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(714, 445); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(714, 410); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // listInsuranceTypes // this.listInsuranceTypes.Location = new System.Drawing.Point(210, 285); this.listInsuranceTypes.Name = "listInsuranceTypes"; this.listInsuranceTypes.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listInsuranceTypes.Size = new System.Drawing.Size(163, 186); this.listInsuranceTypes.TabIndex = 55; // // FormRpPaySheet // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(818, 495); this.Controls.Add(this.listInsuranceTypes); this.Controls.Add(this.checkAllClin); this.Controls.Add(this.listClin); this.Controls.Add(this.labelClin); this.Controls.Add(this.checkInsuranceTypes); this.Controls.Add(this.checkPatientTypes); this.Controls.Add(this.listPatientTypes); this.Controls.Add(this.groupBox1); this.Controls.Add(this.checkAllProv); this.Controls.Add(this.listProv); this.Controls.Add(this.label1); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpPaySheet"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Daily Payments Report"; this.Load += new System.EventHandler(this.FormPaymentSheet_Load); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpPaySheet)); this.date2 = new System.Windows.Forms.MonthCalendar(); this.date1 = new System.Windows.Forms.MonthCalendar(); this.listProv = new System.Windows.Forms.ListBox(); this.label1 = new System.Windows.Forms.Label(); this.checkAllProv = new System.Windows.Forms.CheckBox(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.checkShowProvSeparate = new System.Windows.Forms.CheckBox(); this.radioPatient = new System.Windows.Forms.RadioButton(); this.radioCheck = new System.Windows.Forms.RadioButton(); this.checkPatientTypes = new System.Windows.Forms.CheckBox(); this.listPatientTypes = new System.Windows.Forms.ListBox(); this.checkInsuranceTypes = new System.Windows.Forms.CheckBox(); this.checkAllClin = new System.Windows.Forms.CheckBox(); this.listClin = new System.Windows.Forms.ListBox(); this.labelClin = new System.Windows.Forms.Label(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.listInsuranceTypes = new System.Windows.Forms.ListBox(); this.checkAllClaimPayGroups = new System.Windows.Forms.CheckBox(); this.listClaimPayGroups = new System.Windows.Forms.ListBox(); this.checkUnearned = new System.Windows.Forms.CheckBox(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // date2 // this.date2.Location = new System.Drawing.Point(252, 36); this.date2.Name = "date2"; this.date2.TabIndex = 2; // // date1 // this.date1.Location = new System.Drawing.Point(16, 36); this.date1.Name = "date1"; this.date1.TabIndex = 1; // // listProv // this.listProv.Location = new System.Drawing.Point(493, 54); this.listProv.Name = "listProv"; this.listProv.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listProv.Size = new System.Drawing.Size(160, 199); this.listProv.TabIndex = 36; this.listProv.Click += new System.EventHandler(this.listProv_Click); // // label1 // this.label1.Location = new System.Drawing.Point(491, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(104, 16); this.label1.TabIndex = 35; this.label1.Text = "Providers"; this.label1.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // checkAllProv // this.checkAllProv.Checked = true; this.checkAllProv.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllProv.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllProv.Location = new System.Drawing.Point(494, 35); this.checkAllProv.Name = "checkAllProv"; this.checkAllProv.Size = new System.Drawing.Size(40, 16); this.checkAllProv.TabIndex = 43; this.checkAllProv.Text = "All"; this.checkAllProv.Click += new System.EventHandler(this.checkAllProv_Click); // // groupBox1 // this.groupBox1.Controls.Add(this.checkShowProvSeparate); this.groupBox1.Controls.Add(this.radioPatient); this.groupBox1.Controls.Add(this.radioCheck); this.groupBox1.Location = new System.Drawing.Point(18, 263); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(173, 101); this.groupBox1.TabIndex = 44; this.groupBox1.TabStop = false; this.groupBox1.Text = "Group By"; // // checkShowProvSeparate // this.checkShowProvSeparate.Checked = true; this.checkShowProvSeparate.CheckState = System.Windows.Forms.CheckState.Checked; this.checkShowProvSeparate.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkShowProvSeparate.Location = new System.Drawing.Point(8, 61); this.checkShowProvSeparate.Name = "checkShowProvSeparate"; this.checkShowProvSeparate.Size = new System.Drawing.Size(159, 34); this.checkShowProvSeparate.TabIndex = 55; this.checkShowProvSeparate.Text = "Show splits by provider separately"; this.checkShowProvSeparate.TextAlign = System.Drawing.ContentAlignment.TopLeft; // // radioPatient // this.radioPatient.Location = new System.Drawing.Point(8, 37); this.radioPatient.Name = "radioPatient"; this.radioPatient.Size = new System.Drawing.Size(104, 18); this.radioPatient.TabIndex = 1; this.radioPatient.Text = "Patient"; this.radioPatient.UseVisualStyleBackColor = true; // // radioCheck // this.radioCheck.Checked = true; this.radioCheck.Location = new System.Drawing.Point(8, 18); this.radioCheck.Name = "radioCheck"; this.radioCheck.Size = new System.Drawing.Size(104, 18); this.radioCheck.TabIndex = 0; this.radioCheck.TabStop = true; this.radioCheck.Text = "Check"; this.radioCheck.UseVisualStyleBackColor = true; // // checkPatientTypes // this.checkPatientTypes.Checked = true; this.checkPatientTypes.CheckState = System.Windows.Forms.CheckState.Checked; this.checkPatientTypes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkPatientTypes.Location = new System.Drawing.Point(382, 263); this.checkPatientTypes.Name = "checkPatientTypes"; this.checkPatientTypes.Size = new System.Drawing.Size(166, 16); this.checkPatientTypes.TabIndex = 47; this.checkPatientTypes.Text = "All patient payment types"; this.checkPatientTypes.Click += new System.EventHandler(this.checkAllTypes_Click); // // listPatientTypes // this.listPatientTypes.Location = new System.Drawing.Point(382, 285); this.listPatientTypes.Name = "listPatientTypes"; this.listPatientTypes.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listPatientTypes.Size = new System.Drawing.Size(163, 186); this.listPatientTypes.TabIndex = 46; // // checkInsuranceTypes // this.checkInsuranceTypes.Checked = true; this.checkInsuranceTypes.CheckState = System.Windows.Forms.CheckState.Checked; this.checkInsuranceTypes.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkInsuranceTypes.Location = new System.Drawing.Point(210, 263); this.checkInsuranceTypes.Name = "checkInsuranceTypes"; this.checkInsuranceTypes.Size = new System.Drawing.Size(166, 16); this.checkInsuranceTypes.TabIndex = 48; this.checkInsuranceTypes.Text = "All insurance payment types"; this.checkInsuranceTypes.Click += new System.EventHandler(this.checkIns_Click); // // checkAllClin // this.checkAllClin.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClin.Location = new System.Drawing.Point(662, 35); this.checkAllClin.Name = "checkAllClin"; this.checkAllClin.Size = new System.Drawing.Size(95, 16); this.checkAllClin.TabIndex = 54; this.checkAllClin.Text = "All"; this.checkAllClin.Click += new System.EventHandler(this.checkAllClin_Click); // // listClin // this.listClin.Location = new System.Drawing.Point(662, 54); this.listClin.Name = "listClin"; this.listClin.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClin.Size = new System.Drawing.Size(160, 199); this.listClin.TabIndex = 53; this.listClin.Click += new System.EventHandler(this.listClin_Click); // // labelClin // this.labelClin.Location = new System.Drawing.Point(659, 17); this.labelClin.Name = "labelClin"; this.labelClin.Size = new System.Drawing.Size(104, 16); this.labelClin.TabIndex = 52; this.labelClin.Text = "Clinics"; this.labelClin.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // butCancel // this.butCancel.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.Autosize = true; this.butCancel.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butCancel.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butCancel.CornerRadius = 4F; this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(747, 445); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; // // butOK // this.butOK.AdjustImageLocation = new System.Drawing.Point(0, 0); this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Autosize = true; this.butOK.BtnShape = OpenDental.UI.enumType.BtnShape.Rectangle; this.butOK.BtnStyle = OpenDental.UI.enumType.XPStyle.Silver; this.butOK.CornerRadius = 4F; this.butOK.Location = new System.Drawing.Point(747, 410); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // listInsuranceTypes // this.listInsuranceTypes.Location = new System.Drawing.Point(210, 285); this.listInsuranceTypes.Name = "listInsuranceTypes"; this.listInsuranceTypes.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listInsuranceTypes.Size = new System.Drawing.Size(163, 186); this.listInsuranceTypes.TabIndex = 55; // // checkAllClaimPayGroups // this.checkAllClaimPayGroups.Checked = true; this.checkAllClaimPayGroups.CheckState = System.Windows.Forms.CheckState.Checked; this.checkAllClaimPayGroups.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkAllClaimPayGroups.Location = new System.Drawing.Point(551, 263); this.checkAllClaimPayGroups.Name = "checkAllClaimPayGroups"; this.checkAllClaimPayGroups.Size = new System.Drawing.Size(166, 16); this.checkAllClaimPayGroups.TabIndex = 58; this.checkAllClaimPayGroups.Text = "All Claim Payment Groups"; this.checkAllClaimPayGroups.Click += new System.EventHandler(this.checkAllClaimPayGroups_Click); // // listClaimPayGroups // this.listClaimPayGroups.Location = new System.Drawing.Point(551, 285); this.listClaimPayGroups.Name = "listClaimPayGroups"; this.listClaimPayGroups.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listClaimPayGroups.Size = new System.Drawing.Size(163, 186); this.listClaimPayGroups.TabIndex = 57; // // checkUnearned // this.checkUnearned.Checked = true; this.checkUnearned.CheckState = System.Windows.Forms.CheckState.Checked; this.checkUnearned.FlatStyle = System.Windows.Forms.FlatStyle.System; this.checkUnearned.Location = new System.Drawing.Point(535, 35); this.checkUnearned.Name = "checkUnearned"; this.checkUnearned.Size = new System.Drawing.Size(118, 16); this.checkUnearned.TabIndex = 59; this.checkUnearned.Text = "Include Unearned"; // // FormRpPaySheet // this.ClientSize = new System.Drawing.Size(844, 495); this.Controls.Add(this.checkUnearned); this.Controls.Add(this.checkAllClaimPayGroups); this.Controls.Add(this.listClaimPayGroups); this.Controls.Add(this.listInsuranceTypes); this.Controls.Add(this.checkAllClin); this.Controls.Add(this.listClin); this.Controls.Add(this.labelClin); this.Controls.Add(this.checkInsuranceTypes); this.Controls.Add(this.checkPatientTypes); this.Controls.Add(this.listPatientTypes); this.Controls.Add(this.groupBox1); this.Controls.Add(this.checkAllProv); this.Controls.Add(this.listProv); this.Controls.Add(this.label1); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date2); this.Controls.Add(this.date1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpPaySheet"; this.ShowInTaskbar = false; this.Text = "Daily Payments Report"; this.Load += new System.EventHandler(this.FormPaymentSheet_Load); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
private void startDateText_Click(object ender, EventArgs e) { date = new MonthCalendar(); this.Controls.Add(date); date.DateSelected += new DateRangeEventHandler(date_DateSelected); date.Visible = true; date.Location = new Point(date.Parent.Location.X / 2, date.Parent.Location.Y / 2); date.BringToFront(); //date.MinDate = new System.DateTime }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormRpAccountingBalanceSheet)); this.date1 = new System.Windows.Forms.MonthCalendar(); this.labelTO = new System.Windows.Forms.Label(); this.butCancel = new OpenDental.UI.Button(); this.butOK = new OpenDental.UI.Button(); this.SuspendLayout(); // // date1 // this.date1.Location = new System.Drawing.Point(31, 36); this.date1.MaxSelectionCount = 1; this.date1.Name = "date1"; this.date1.TabIndex = 1; // // labelTO // this.labelTO.Location = new System.Drawing.Point(28, 9); this.labelTO.Name = "labelTO"; this.labelTO.Size = new System.Drawing.Size(72, 23); this.labelTO.TabIndex = 22; this.labelTO.Text = "As of"; this.labelTO.TextAlign = System.Drawing.ContentAlignment.BottomLeft; // // butCancel // this.butCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.butCancel.Location = new System.Drawing.Point(297, 219); this.butCancel.Name = "butCancel"; this.butCancel.Size = new System.Drawing.Size(75, 26); this.butCancel.TabIndex = 4; this.butCancel.Text = "&Cancel"; // // butOK // this.butOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.butOK.Location = new System.Drawing.Point(297, 184); this.butOK.Name = "butOK"; this.butOK.Size = new System.Drawing.Size(75, 26); this.butOK.TabIndex = 3; this.butOK.Text = "&OK"; this.butOK.Click += new System.EventHandler(this.butOK_Click); // // FormRpAccountingBalanceSheet // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(412, 258); this.Controls.Add(this.butCancel); this.Controls.Add(this.butOK); this.Controls.Add(this.date1); this.Controls.Add(this.labelTO); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormRpAccountingBalanceSheet"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Balance Sheet Report"; this.Load += new System.EventHandler(this.FormRpAccountingBalanceSheet_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.panelSun = new System.Windows.Forms.Panel(); this.panelMonday = new System.Windows.Forms.Panel(); this.lblMon = new System.Windows.Forms.Label(); this.txtMonday = new System.Windows.Forms.Label(); this.panel4 = new System.Windows.Forms.Panel(); this.lblTUE = new System.Windows.Forms.Label(); this.txtTUE = new System.Windows.Forms.Label(); this.panelFriday = new System.Windows.Forms.Panel(); this.lblFRI = new System.Windows.Forms.Label(); this.txtFriday = new System.Windows.Forms.Label(); this.panelFri = new System.Windows.Forms.Panel(); this.panelThu = new System.Windows.Forms.Panel(); this.panelWed = new System.Windows.Forms.Panel(); this.panelTue = new System.Windows.Forms.Panel(); this.panelMon = new System.Windows.Forms.Panel(); this.panelWednesday = new System.Windows.Forms.Panel(); this.lblWED = new System.Windows.Forms.Label(); this.txtWED = new System.Windows.Forms.Label(); this.panelThursday = new System.Windows.Forms.Panel(); this.lblThu = new System.Windows.Forms.Label(); this.txtThur = new System.Windows.Forms.Label(); this.panelSunday = new System.Windows.Forms.Panel(); this.lblSUN = new System.Windows.Forms.Label(); this.txtSunday = new System.Windows.Forms.Label(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtDate = new System.Windows.Forms.MonthCalendar(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel1 = new System.Windows.Forms.Panel(); this.label4 = new System.Windows.Forms.Label(); this.panelSat = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.label6 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.panel5 = new System.Windows.Forms.Panel(); this.label8 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); this.panelMonday.SuspendLayout(); this.panel4.SuspendLayout(); this.panelFriday.SuspendLayout(); this.panelWednesday.SuspendLayout(); this.panelThursday.SuspendLayout(); this.panelSunday.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel3.SuspendLayout(); this.SuspendLayout(); // // groupControl1 // this.groupControl1.Appearance.BackColor = System.Drawing.Color.Transparent; this.groupControl1.Appearance.Options.UseBackColor = true; this.groupControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.groupControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.groupControl1.Controls.Add(this.panel3); this.groupControl1.Controls.Add(this.panelSun); this.groupControl1.Controls.Add(this.panelMonday); this.groupControl1.Controls.Add(this.panel4); this.groupControl1.Controls.Add(this.panelFriday); this.groupControl1.Controls.Add(this.panelSat); this.groupControl1.Controls.Add(this.panelFri); this.groupControl1.Controls.Add(this.panelThu); this.groupControl1.Controls.Add(this.panelWed); this.groupControl1.Controls.Add(this.panelTue); this.groupControl1.Controls.Add(this.panelMon); this.groupControl1.Controls.Add(this.panelWednesday); this.groupControl1.Controls.Add(this.panelThursday); this.groupControl1.Controls.Add(this.panelSunday); this.groupControl1.Location = new System.Drawing.Point(0, 136); this.groupControl1.LookAndFeel.UseDefaultLookAndFeel = false; this.groupControl1.Name = "groupControl1"; this.groupControl1.ShowCaption = false; this.groupControl1.Size = new System.Drawing.Size(917, 552); this.groupControl1.TabIndex = 32; // // panelSun // this.panelSun.BackColor = System.Drawing.Color.Transparent; this.panelSun.Location = new System.Drawing.Point(8, 56); this.panelSun.Name = "panelSun"; this.panelSun.Size = new System.Drawing.Size(128, 480); this.panelSun.TabIndex = 55; // // panelMonday // this.panelMonday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelMonday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelMonday.Controls.Add(this.lblMon); this.panelMonday.Controls.Add(this.txtMonday); this.panelMonday.Location = new System.Drawing.Point(136, 24); this.panelMonday.Name = "panelMonday"; this.panelMonday.Size = new System.Drawing.Size(128, 32); this.panelMonday.TabIndex = 54; // // lblMon // this.lblMon.BackColor = System.Drawing.Color.PowderBlue; this.lblMon.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMon.Location = new System.Drawing.Point(0, 0); this.lblMon.Name = "lblMon"; this.lblMon.Size = new System.Drawing.Size(128, 16); this.lblMon.TabIndex = 1; this.lblMon.Text = "PM"; this.lblMon.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtMonday // this.txtMonday.BackColor = System.Drawing.Color.PowderBlue; this.txtMonday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMonday.Location = new System.Drawing.Point(0, 16); this.txtMonday.Name = "txtMonday"; this.txtMonday.Size = new System.Drawing.Size(128, 16); this.txtMonday.TabIndex = 2; this.txtMonday.Text = "17/6/2005"; this.txtMonday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel4 // this.panel4.BackColor = System.Drawing.Color.WhiteSmoke; this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel4.Controls.Add(this.lblTUE); this.panel4.Controls.Add(this.txtTUE); this.panel4.Location = new System.Drawing.Point(264, 24); this.panel4.Name = "panel4"; this.panel4.Size = new System.Drawing.Size(128, 32); this.panel4.TabIndex = 52; // // lblTUE // this.lblTUE.BackColor = System.Drawing.Color.PowderBlue; this.lblTUE.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblTUE.Location = new System.Drawing.Point(0, 0); this.lblTUE.Name = "lblTUE"; this.lblTUE.Size = new System.Drawing.Size(128, 16); this.lblTUE.TabIndex = 1; this.lblTUE.Text = "WL"; this.lblTUE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtTUE // this.txtTUE.BackColor = System.Drawing.Color.PowderBlue; this.txtTUE.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtTUE.Location = new System.Drawing.Point(0, 16); this.txtTUE.Name = "txtTUE"; this.txtTUE.Size = new System.Drawing.Size(128, 16); this.txtTUE.TabIndex = 2; this.txtTUE.Text = "17/6/2005"; this.txtTUE.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelFriday // this.panelFriday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelFriday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelFriday.Controls.Add(this.label1); this.panelFriday.Controls.Add(this.label3); this.panelFriday.Controls.Add(this.panel1); this.panelFriday.Controls.Add(this.lblFRI); this.panelFriday.Controls.Add(this.txtFriday); this.panelFriday.Location = new System.Drawing.Point(648, 24); this.panelFriday.Name = "panelFriday"; this.panelFriday.Size = new System.Drawing.Size(128, 32); this.panelFriday.TabIndex = 48; // // lblFRI // this.lblFRI.BackColor = System.Drawing.Color.PowderBlue; this.lblFRI.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblFRI.Location = new System.Drawing.Point(-1, 0); this.lblFRI.Name = "lblFRI"; this.lblFRI.Size = new System.Drawing.Size(128, 16); this.lblFRI.TabIndex = 1; this.lblFRI.Text = "EP"; this.lblFRI.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.lblFRI.Click += new System.EventHandler(this.lblFRI_Click); // // txtFriday // this.txtFriday.BackColor = System.Drawing.Color.PowderBlue; this.txtFriday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtFriday.Location = new System.Drawing.Point(0, 16); this.txtFriday.Name = "txtFriday"; this.txtFriday.Size = new System.Drawing.Size(128, 16); this.txtFriday.TabIndex = 2; this.txtFriday.Text = "17/6/2005"; this.txtFriday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelFri // this.panelFri.BackColor = System.Drawing.Color.Transparent; this.panelFri.Location = new System.Drawing.Point(648, 56); this.panelFri.Name = "panelFri"; this.panelFri.Size = new System.Drawing.Size(128, 480); this.panelFri.TabIndex = 37; // // panelThu // this.panelThu.BackColor = System.Drawing.Color.Transparent; this.panelThu.Location = new System.Drawing.Point(520, 56); this.panelThu.Name = "panelThu"; this.panelThu.Size = new System.Drawing.Size(128, 480); this.panelThu.TabIndex = 36; // // panelWed // this.panelWed.BackColor = System.Drawing.Color.Transparent; this.panelWed.Location = new System.Drawing.Point(392, 56); this.panelWed.Name = "panelWed"; this.panelWed.Size = new System.Drawing.Size(128, 480); this.panelWed.TabIndex = 35; // // panelTue // this.panelTue.BackColor = System.Drawing.Color.Transparent; this.panelTue.Location = new System.Drawing.Point(264, 56); this.panelTue.Name = "panelTue"; this.panelTue.Size = new System.Drawing.Size(128, 480); this.panelTue.TabIndex = 34; // // panelMon // this.panelMon.BackColor = System.Drawing.Color.Transparent; this.panelMon.Location = new System.Drawing.Point(136, 56); this.panelMon.Name = "panelMon"; this.panelMon.Size = new System.Drawing.Size(128, 480); this.panelMon.TabIndex = 33; // // panelWednesday // this.panelWednesday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelWednesday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelWednesday.Controls.Add(this.lblWED); this.panelWednesday.Controls.Add(this.txtWED); this.panelWednesday.Location = new System.Drawing.Point(392, 24); this.panelWednesday.Name = "panelWednesday"; this.panelWednesday.Size = new System.Drawing.Size(128, 32); this.panelWednesday.TabIndex = 51; // // lblWED // this.lblWED.BackColor = System.Drawing.Color.PowderBlue; this.lblWED.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblWED.Location = new System.Drawing.Point(0, 0); this.lblWED.Name = "lblWED"; this.lblWED.Size = new System.Drawing.Size(128, 16); this.lblWED.TabIndex = 1; this.lblWED.Text = "HM"; this.lblWED.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtWED // this.txtWED.BackColor = System.Drawing.Color.PowderBlue; this.txtWED.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtWED.Location = new System.Drawing.Point(0, 16); this.txtWED.Name = "txtWED"; this.txtWED.Size = new System.Drawing.Size(128, 16); this.txtWED.TabIndex = 2; this.txtWED.Text = "17/6/2005"; this.txtWED.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelThursday // this.panelThursday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelThursday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelThursday.Controls.Add(this.lblThu); this.panelThursday.Controls.Add(this.txtThur); this.panelThursday.Location = new System.Drawing.Point(520, 24); this.panelThursday.Name = "panelThursday"; this.panelThursday.Size = new System.Drawing.Size(128, 32); this.panelThursday.TabIndex = 51; // // lblThu // this.lblThu.BackColor = System.Drawing.Color.PowderBlue; this.lblThu.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblThu.Location = new System.Drawing.Point(-1, 0); this.lblThu.Name = "lblThu"; this.lblThu.Size = new System.Drawing.Size(128, 16); this.lblThu.TabIndex = 1; this.lblThu.Text = "JP"; this.lblThu.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtThur // this.txtThur.BackColor = System.Drawing.Color.PowderBlue; this.txtThur.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtThur.Location = new System.Drawing.Point(0, 16); this.txtThur.Name = "txtThur"; this.txtThur.Size = new System.Drawing.Size(128, 16); this.txtThur.TabIndex = 2; this.txtThur.Text = "17/6/2005"; this.txtThur.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelSunday // this.panelSunday.BackColor = System.Drawing.Color.WhiteSmoke; this.panelSunday.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panelSunday.Controls.Add(this.lblSUN); this.panelSunday.Controls.Add(this.txtSunday); this.panelSunday.Location = new System.Drawing.Point(8, 24); this.panelSunday.Name = "panelSunday"; this.panelSunday.Size = new System.Drawing.Size(128, 32); this.panelSunday.TabIndex = 52; // // lblSUN // this.lblSUN.BackColor = System.Drawing.Color.PowderBlue; this.lblSUN.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblSUN.Location = new System.Drawing.Point(0, 0); this.lblSUN.Name = "lblSUN"; this.lblSUN.Size = new System.Drawing.Size(128, 16); this.lblSUN.TabIndex = 1; this.lblSUN.Text = "BJ"; this.lblSUN.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // txtSunday // this.txtSunday.BackColor = System.Drawing.Color.PowderBlue; this.txtSunday.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSunday.Location = new System.Drawing.Point(0, 16); this.txtSunday.Name = "txtSunday"; this.txtSunday.Size = new System.Drawing.Size(128, 16); this.txtSunday.TabIndex = 2; this.txtSunday.Text = "17/6/2005"; this.txtSunday.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // groupBox1 // this.groupBox1.Controls.Add(this.dtDate); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(917, 136); this.groupBox1.TabIndex = 59; this.groupBox1.TabStop = false; // // dtDate // this.dtDate.Location = new System.Drawing.Point(72, 0); this.dtDate.Name = "dtDate"; this.dtDate.TabIndex = 56; this.dtDate.DateChanged += new System.Windows.Forms.DateRangeEventHandler(this.monthCalendar1_DateChanged); // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label2.Location = new System.Drawing.Point(8, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(56, 40); this.label2.TabIndex = 52; this.label2.Text = "Date"; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.BackColor = System.Drawing.Color.PowderBlue; this.label1.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(-325, -253); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(128, 16); this.label1.TabIndex = 38; this.label1.Text = "EP"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.BackColor = System.Drawing.Color.PowderBlue; this.label3.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label3.Location = new System.Drawing.Point(-325, -237); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(128, 16); this.label3.TabIndex = 39; this.label3.Text = "17/6/2005"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; this.panel1.Location = new System.Drawing.Point(323, -197); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(128, 480); this.panel1.TabIndex = 40; // // label4 // this.label4.BackColor = System.Drawing.Color.PowderBlue; this.label4.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label4.Location = new System.Drawing.Point(0, 0); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(128, 16); this.label4.TabIndex = 56; this.label4.Text = "TS"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panelSat // this.panelSat.BackColor = System.Drawing.Color.Transparent; this.panelSat.Location = new System.Drawing.Point(776, 54); this.panelSat.Name = "panelSat"; this.panelSat.Size = new System.Drawing.Size(128, 480); this.panelSat.TabIndex = 58; // // panel3 // this.panel3.BackColor = System.Drawing.Color.WhiteSmoke; this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.panel3.Controls.Add(this.label6); this.panel3.Controls.Add(this.label4); this.panel3.Controls.Add(this.label7); this.panel3.Controls.Add(this.panel5); this.panel3.Controls.Add(this.label8); this.panel3.Location = new System.Drawing.Point(776, 24); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(128, 32); this.panel3.TabIndex = 59; // // label6 // this.label6.BackColor = System.Drawing.Color.PowderBlue; this.label6.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label6.Location = new System.Drawing.Point(-325, -253); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(128, 16); this.label6.TabIndex = 38; this.label6.Text = "EP"; this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label7 // this.label7.BackColor = System.Drawing.Color.PowderBlue; this.label7.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label7.Location = new System.Drawing.Point(-325, -237); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(128, 16); this.label7.TabIndex = 39; this.label7.Text = "17/6/2005"; this.label7.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // panel5 // this.panel5.BackColor = System.Drawing.Color.Transparent; this.panel5.Location = new System.Drawing.Point(323, -197); this.panel5.Name = "panel5"; this.panel5.Size = new System.Drawing.Size(128, 480); this.panel5.TabIndex = 40; // // label8 // this.label8.BackColor = System.Drawing.Color.PowderBlue; this.label8.Font = new System.Drawing.Font("Tahoma", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label8.Location = new System.Drawing.Point(0, 16); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(128, 16); this.label8.TabIndex = 2; this.label8.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // RPDayClassAnalysis // this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(945, 592); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Name = "RPDayClassAnalysis"; this.Text = "Class Analysis"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.RPDayClassAnalysis_Load); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.panelMonday.ResumeLayout(false); this.panel4.ResumeLayout(false); this.panelFriday.ResumeLayout(false); this.panelWednesday.ResumeLayout(false); this.panelThursday.ResumeLayout(false); this.panelSunday.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.panel3.ResumeLayout(false); this.ResumeLayout(false); }