private void FormatLabel(Tibia.Features.Model.Graphics.Sqm sqm, LabelControl label) { if (!sqm.Walkeable()) { label.Appearance.BackColor = Color.Silver; label.Appearance.BorderColor = Color.Gray; label.Appearance.ForeColor = Color.WhiteSmoke; //label.Cursor = Cursors.Help; } else if (sqm.GoUP()) { label.Appearance.BackColor = Color.LightGreen; label.Appearance.BorderColor = Color.LimeGreen; label.Appearance.ForeColor = Color.ForestGreen; //label.Cursor = Cursors.PanNorth; } else if (sqm.GoDown()) { label.Appearance.BackColor = Color.DarkSeaGreen; label.Appearance.BorderColor = Color.DarkOliveGreen; label.Appearance.ForeColor = Color.DarkGreen; //label.Cursor = Cursors.PanSouth; } else if (sqm.HasPlayer()) { label.Appearance.BackColor = Color.PaleTurquoise; label.Appearance.BorderColor = Color.LightSeaGreen; label.Appearance.ForeColor = Color.DarkSlateGray; //label.Cursor = Cursors.Hand; } else { label.Appearance.BackColor = Color.White; label.Appearance.BorderColor = Color.Black; label.Appearance.ForeColor = Color.LightGray; //label.Cursor = Cursors.No; } }
public void ShowAlert() { try { DataTable dtTB=GetThongBao(); foreach (DataRow rowtb in dtTB.Rows) { AlertForm alert = new AlertForm(controlBroadCast); alert.Name = "lert " + rowtb["ID"].ToString(); alert.Text = rowtb["CHU_DE"].ToString(); alert.MouseDown += new MouseEventHandler(control_MouseDown); lblthongbao = new LabelControl(); lblthongbao.Location = new System.Drawing.Point(10, 23); lblthongbao.AutoSizeMode = LabelAutoSizeMode.None; lblthongbao.Size = new System.Drawing.Size(230, 52); lblthongbao.ImageAlignToText = ImageAlignToText.LeftCenter; lblthongbao.AllowHtmlString = true; lblthongbao.Appearance.TextOptions.WordWrap = WordWrap.Wrap; lblthongbao.Appearance.Image = HelpImage.getImage4848("broadcast.png"); lblthongbao.ForeColor = Color.Blue; lblthongbao.Cursor = Cursors.Hand; lblthongbao.Text = rowtb["CHU_DE"].ToString(); lblthongbao.MouseDown += new MouseEventHandler(control_MouseDown); lblthongbao.Tag = rowtb; alert.Controls.Add(lblthongbao); alert.Tag = rowtb; alert.ShowForm(formMain); } } catch { } }
/// <summary> /// Required method for user interface initialization - /// do modify the contents of this method with the code editor. /// </summary> private void InitializeComponent() { _helloWorldLabel = new LabelControl(); _okButton = new ButtonControl(); _cancelButton = new ButtonControl(); // // helloWorldLabel // _helloWorldLabel.Text = "Hello World! This is a label."; _helloWorldLabel.Bounds = new UniRectangle(10.0f, 15.0f, 110.0f, 30.0f); // // okButton // _okButton.Bounds = new UniRectangle( new UniScalar(1.0f, -180.0f), new UniScalar(1.0f, -40.0f), 80, 24 ); // // cancelButton // _cancelButton.Bounds = new UniRectangle( new UniScalar(1.0f, -90.0f), new UniScalar(1.0f, -40.0f), 80, 24 ); // // DemoDialog // Bounds = new UniRectangle(0.0f, 0.0f, 250.0f, 125.0f); Children.Add(_helloWorldLabel); Children.Add(_okButton); Children.Add(_cancelButton); }
private void lbWanning_Click(object sender, EventArgs e) { LabelControl l = sender as LabelControl; DataRow dr = l.Tag as DataRow; BindingSource _bindingSource = new BindingSource(); string maCT;//= gridViewReport.GetFocusedRowCellValue("MACT").ToString(); maCT = dr["MaCT"].ToString(); CDTData data1 = GetDataForVoucher(maCT, dr["PkID"].ToString()); FormDesigner _frmDesigner = new FormDesigner(data1); _bindingSource = new BindingSource(); _bindingSource.DataSource = data1.DsData; _bindingSource.DataMember = data1.DsData.Tables[0].TableName; _frmDesigner = new FormDesigner(data1, _bindingSource); _frmDesigner.formAction = FormAction.Edit; FrmMasterDetailDt frmMtDtCt = new FrmMasterDetailDt(_frmDesigner); frmMtDtCt.ShowDialog(); string sql = "update sysNotify set sStatus=0 where stt=" + dr["Stt"].ToString(); _structdb.UpdateByNonQuery(sql); this.Visible = false; timer1_Tick(timer1, new EventArgs()); //} }
}//end void public static void LlenaGridViewDataReader( System.Data.SqlClient.SqlDataReader sqldr , GridView gv, Label lblTitulo, String DescripcionTitulo, Label lblMsj ) { try { if (sqldr.HasRows) { gv.DataSource = sqldr; gv.DataBind(); gv.Caption = gv.Rows.Count + " registros "; lblTitulo.Text = DescripcionTitulo; LabelControl.LimpiaLabel(lblMsj); } else { GridViewControl.LimpiaGridview(gv); LabelControl.LimpiaLabel(lblTitulo); lblMsj.Text = FmkCartera.Generales.Mensaje.DevuelveMsj(2); }//end if } catch (Exception ex) { lblMsj.Text = ex.Message; } }//end void
private void AddResult(MetaDataPluginDescriptor plugin, object value, string defaultPlugin) { LabelControl lblPlugin = new LabelControl(); lblPlugin.Text = plugin.DataProviderName; if (defaultPlugin == plugin.DataProviderName) lblPlugin.Font = new Font(lblPlugin.Font, FontStyle.Bold); // Add context menu of other search results ContextMenu menu = new ContextMenu(); menu.Tag = plugin; Title[] matches = OMLSDK.SDKUtilities.ConvertOMLSDKTitlesToTitles(plugin.PluginDLL.GetAvailableTitles()); for (int i = 0; i < matches.Length; i++) { MenuItem item = new MenuItem(matches[i].Name, new EventHandler(otherTitle_Click)); item.Tag = i; menu.MenuItems.Add(item); } lblPlugin.ContextMenu = menu; Control ctrl = CreateValueControl(plugin.DataProviderName, value); if (ctrl != null) { tblData.Controls.Add(lblPlugin); tblData.Controls.Add(ctrl); } Application.DoEvents(); }
private void genComment() { int y = 10; panel1.Controls.Clear(); for (int i = 0; i < tb.Rows.Count; i++) { DataRow dr = tb.Rows[i]; LabelControl l = new LabelControl(); l.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); l.Appearance.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192))))); l.Appearance.Options.UseFont = true; l.Appearance.Options.UseForeColor = true; l.Text = dr["UserName"].ToString() + ": "; l.Location = new Point(3, y); panel1.Controls.Add(l); RichTextBox rt = new RichTextBox(); rt.BorderStyle = System.Windows.Forms.BorderStyle.None; rt.BackColor = Color.White; rt.Location = new System.Drawing.Point(l.Width + 6, y); rt.ReadOnly = true; rt.Text = dr["content"].ToString().Replace("~!", "'"); rt.Width = 330; using (Graphics g = CreateGraphics()) { rt.Height = (int)g.MeasureString(rt.Text, rt.Font, rt.Width).Height + 20; y += rt.Height; } panel1.Controls.Add(rt); } panel1.Height = y + 1000; }
/// <summary> /// Create hour value at top and bottom of period pannel /// </summary> private void CreatePointNumber() { try { for (int i = 0; i <= 24; i += 3) { LabelControl label = new LabelControl(); label.Text = i.ToString(); Point point1 = new Point(panelMonday.Location.X + (i * 30), 20); label.Location = point1; panelPeriod.Controls.Add(label); } for (int i = 0; i <= 24; i += 3) { LabelControl label = new LabelControl(); label.Text = i.ToString(); Point point1 = new Point(panelMonday.Location.X + (i * 30), 302); label.Location = point1; panelPeriod.Controls.Add(label); } } catch (Exception ex) { MessageBox.Show(ex.ToString()); return; } }
private void InitializeComponent() { // file number _number = new LabelControl(); _number.Bounds = new UniRectangle(10, 10, 50, 35); Children.Add(_number); // name _name = new LabelControl(); _name.Bounds = new UniRectangle(60, 10, 300, 35); Children.Add(_name); // elapsed game time _gameTime = new LabelControl(); _gameTime.Bounds = new UniRectangle(10, 55, 300, 35); Children.Add(_gameTime); // load button _loadButton = new ButtonControl(); _loadButton.Text = "Overwrite"; _loadButton.Bounds = new UniRectangle( new UniScalar(1.0f, -160), new UniScalar(10), new UniScalar(150), new UniScalar(35) ); Children.Add(_loadButton); }
public PassingParametersToCommandsUserControl() { InitializeComponent(); #region SetUp MVVMContext mvvmContext = new MVVMContext(); mvvmContext.ContainerControl = this; PanelControl panel = new PanelControl(); panel.Dock = DockStyle.Top; panel.Parent = this; LabelControl label = new LabelControl(); label.Text = "Click to Execute Command"; label.Dock = DockStyle.Fill; label.AutoSizeMode = LabelAutoSizeMode.None; label.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; label.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; label.Parent = panel; #endregion SetUp #region #passingParametersToCommands mvvmContext.ViewModelType = typeof(MouseDownAwareViewModel); // UI binding for the EventToCommand behavior mvvmContext.OfType <MouseDownAwareViewModel>() .WithEvent <MouseEventArgs>(label, "MouseDown") .EventToCommand(x => x.Report((string)null), x => x.Message); #endregion #passingParametersToCommands }
private static ParamRow AddSliderComponent(string ParameterName, object value, string fieldName, ParameterAttribute attrib, SpriteFont customFont) { LabelControl label = new LabelControl() { Text = ParameterName, CustomFont = customFont }; LabelControl labelInfo = new LabelControl() { Text = "???", CustomFont = customFont, Suffix = attrib.InfoSuffix }; HorizontalSliderControl input = new HorizontalSliderControl() { ThumbSize = 0.1f,//1 / (float)(attrib.MaxSliderValue - attrib.MinSliderValue), ThumbSmoothMovement = true }; input.ThumbMinValue = (int)attrib.MinSliderValue; input.ThumbMaxValue = (int)attrib.MaxSliderValue; input.Value = (int)value; input.Tag = labelInfo; ParamRow row = new ParamRow() { LabelName = label, InputingComp = input, LabelInfo = labelInfo, ParamInputMethod = ParamInputMethod.Slider, FieldData = new ParamValue() { Value = value, Name = fieldName } }; input.Tag2 = row; return(row); }
private static ParamRow AddInputComponent(string ParameterName, object value, string fieldName, bool isNumeric, SpriteFont customFont, SpriteTexture customInputBackgroundTexture) { LabelControl label = new LabelControl() { Text = ParameterName, CustomFont = customFont }; InputControl input = new InputControl() { Text = value.ToString(), IsNumeric = isNumeric, CustomBackground = customInputBackgroundTexture, CustomFont = customFont, Color = SharpDX.Color.White }; ParamRow row = new ParamRow() { LabelName = label, InputingComp = input, ParamInputMethod = ParamInputMethod.InputBox, FieldData = new ParamValue() { Value = value, Name = fieldName } }; input.Tag2 = row; return(row); }
private static ParamRow AddListComponent(string ParameterName, object value, string fieldName, ParameterAttribute attrib, SpriteFont customFont, SpriteTexture customButton, SpriteTexture customButtonDown, SpriteTexture customButtonHover) { LabelControl label = new LabelControl() { Text = ParameterName, CustomFont = customFont }; ButtonControl buttonList = new ButtonControl() { CustomImage = customButton, CustomImageDown = customButtonDown, CustomImageHover = customButtonHover, Text = value.ToString(), TextFontId = 1, Color = new ByteColor(200, 200, 200, 255) }; buttonList.Tag = attrib.ListValues; ParamRow row = new ParamRow() { LabelName = label, InputingComp = buttonList, ParamInputMethod = ParamInputMethod.ButtonList, FieldData = new ParamValue() { Value = value, Name = fieldName } }; buttonList.Tag2 = row; return(row); }
/// <summary> /// Constructs the interface of resolution selection /// @Author Steven /// </summary> /// <param name="mainScreen"></param> private void createWindowState(Screen mainScreen) { LabelControl winTitleLabel = GuiHelper.CreateLabel("Display Mode", UIConstants.OPTION_WINDOW_LABEL.X, UIConstants.OPTION_WINDOW_LABEL.Y, UIConstants.OPTION_WINDOW_LABEL.Width, UIConstants.OPTION_WINDOW_LABEL.Height); mainScreen.Desktop.Children.Add(winTitleLabel); ButtonControl leftWinToggle = GuiHelper.CreateButton("<", UIConstants.OPTION_LEFT_BTN.X, UIConstants.OPTION_LEFT_BTN.Y, UIConstants.OPTION_LEFT_BTN.Width, UIConstants.OPTION_LEFT_BTN.Height); leftWinToggle.Pressed += delegate(object sender, EventArgs arugments) { toggleWindowState(-1); }; mainScreen.Desktop.Children.Add(leftWinToggle); currentWinLabel = GuiHelper.CreateLabel(game.windowState, UIConstants.OPTION_CURWIN_LABEL.X, UIConstants.OPTION_CURWIN_LABEL.Y, UIConstants.OPTION_CURWIN_LABEL.Width, UIConstants.OPTION_CURWIN_LABEL.Height); mainScreen.Desktop.Children.Add(currentWinLabel); ButtonControl rightWinToggle = GuiHelper.CreateButton(">", UIConstants.OPTION_RIGHT_BTN.X, UIConstants.OPTION_RIGHT_BTN.Y, UIConstants.OPTION_RIGHT_BTN.Width, UIConstants.OPTION_RIGHT_BTN.Height); rightWinToggle.Pressed += delegate(object sender, EventArgs arugments) { toggleWindowState(1); }; mainScreen.Desktop.Children.Add(rightWinToggle); }
public ILabelControl AddLabelControl() { var item = new LabelControl(); InnerList.Add(item); return(item); }
public static void ResizeLables(System.Windows.Forms.Control.ControlCollection controls) { int max = 0; List <LabelControl> labels = new List <LabelControl>(); foreach (Control item in controls) { if (item.GetType() == typeof(LabelControl)) { LabelControl lb = ((LabelControl)item); labels.Add(lb); lb.AutoSizeMode = LabelAutoSizeMode.Horizontal; if (lb.Width > max) { max = lb.Width; } lb.AutoSizeMode = LabelAutoSizeMode.None; lb.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; } } foreach (LabelControl item in labels) { item.Width = max + 5; } }
public void AddResultItem(string text) { Form formMain = ClientEnvironment.MainForm; if(formMain.InvokeRequired) { formMain.BeginInvoke(new AddStringResultDelegate(AddResultItem), text); return; } if (text == null) { throw new ArgumentNullException("text"); } layoutControlWarnings.BeginUpdate(); LabelControl label = new LabelControl(); label.Text = text; label.Appearance.ImageList = imageCollection32; label.Appearance.ImageIndex = 0; label.Appearance.ImageAlign = ContentAlignment.MiddleLeft; label.Appearance.Options.UseImage = true; label.ImageAlignToText = ImageAlignToText.LeftCenter; LayoutControlItem item = new LayoutControlItem(layoutControlWarnings, label); item.TextVisible = false; item.SizeConstraintsType = SizeConstraintsType.Custom; item.MinSize = new Size(layoutControlWarnings.Width - 32, 40); item.MaxSize = new Size(layoutControlWarnings.Width, 40); layoutControlWarnings.AddItem(item); layoutControlWarnings.EndUpdate(); }
private void InitializeComponent() { _label = new LabelControl(); _yesButton = new ButtonControl(); _noButton = new ButtonControl(); Children.Add(_label); Children.Add(_yesButton); Children.Add(_noButton); // // label // _label.Bounds = new UniRectangle(25, 15, 500, 45); _label.Text = ""; // // yesButton // _yesButton.Bounds = new UniRectangle(new UniScalar(1.0F, -85), new UniScalar(1.0F, -45), 70, 30); _yesButton.Text = "Yes"; // // noButton // _noButton.Bounds = new UniRectangle(new UniScalar(1.0F, -160), new UniScalar(1.0F, -45), 70, 30); _noButton.Text = "No"; Bounds = new UniRectangle(0, 0, 550, 120); }
private void AddResult(MetaDataPluginDescriptor plugin, object value, string defaultPlugin) { LabelControl lblPlugin = new LabelControl(); lblPlugin.Text = plugin.DataProviderName; if (defaultPlugin == plugin.DataProviderName) { lblPlugin.Font = new Font(lblPlugin.Font, FontStyle.Bold); } // Add context menu of other search results ContextMenu menu = new ContextMenu(); menu.Tag = plugin; Title[] matches = OMLSDK.SDKUtilities.ConvertOMLSDKTitlesToTitles(plugin.PluginDLL.GetAvailableTitles()); for (int i = 0; i < matches.Length; i++) { MenuItem item = new MenuItem(matches[i].Name, new EventHandler(otherTitle_Click)); item.Tag = i; menu.MenuItems.Add(item); } lblPlugin.ContextMenu = menu; Control ctrl = CreateValueControl(plugin.DataProviderName, value); if (ctrl != null) { tblData.Controls.Add(lblPlugin); tblData.Controls.Add(ctrl); } Application.DoEvents(); }
public ParameterIdentificationResultsView() { InitializeComponent(); _lblInfo = new LabelControl { Parent = this }; }
private void InitializeComponent() { EnableDragging = false; _dialogText = new LabelControl(); _dialogText.Bounds = new UniRectangle( new UniScalar(0.0f, 15.0f), new UniScalar(0.0f, 15.0f), new UniScalar(1.0f, -30.0f), new UniScalar(1.0f, -85.0f) ); Children.Add(_dialogText); _optionsList = new ListControl(); _optionsList.Bounds = new UniRectangle(10, 10, new UniScalar(1, -20), 150); _optionsList.SelectionMode = ListSelectionMode.Single; _nextButton = new ButtonControl(); _nextButton.Text = "Continue"; _nextButton.Bounds = new UniRectangle( new UniScalar(1.0f, -110), new UniScalar(1.0f, -55f), new UniScalar(100), new UniScalar(45) ); Children.Add(_nextButton); Bounds = new UniRectangle( new UniScalar(0.0f, 0.0f), new UniScalar(1.0f, -225.0f), new UniScalar(1.0f, 0.0f), new UniScalar(0.0f, 225.0f) ); }
public ILabelControlId AddLabelControl() { var item = new LabelControl(); items.Add(item); return(item); }
private void InitializeComponent() { Bounds = new UniRectangle( 10, 10, new UniScalar(1.0f, -20), 35 ); var label = new LabelControl(); label.Text = _ability.Name; label.Bounds = new UniRectangle(10, 5, 180, 30); Children.Add(label); label = new LabelControl(); label.Text = ((int)(_exp / 100)).ToString(); label.Bounds = new UniRectangle(190, 5, 30, 30); Children.Add(label); var progress = new ProgressControl(); progress.Progress = (_exp % 100) / 100.0f; progress.Bounds = new UniRectangle(225, 5, new UniScalar(1.0f, -270), new UniScalar(1.0f, -5.0f)); Children.Add(progress); label = new LabelControl(); label.Text = ((int)(_exp % 100)).ToString(); label.Bounds = new UniRectangle(new UniScalar(1.0f, -35), 5, 30, 30); Children.Add(label); }
private void InitializeComponent() { this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.lblMessage = new DevExpress.XtraEditors.LabelControl(); this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); this.tableLayoutPanel1.SuspendLayout(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.lblMessage, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Top; this.tableLayoutPanel1.ForeColor = System.Drawing.Color.Red; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(527, 216); this.tableLayoutPanel1.TabIndex = 0; // // lblMessage // this.lblMessage.Anchor = System.Windows.Forms.AnchorStyles.None; this.lblMessage.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblMessage.Appearance.ForeColor = System.Drawing.Color.Red; this.lblMessage.Location = new System.Drawing.Point(263, 100); this.lblMessage.Name = "lblMessage"; this.lblMessage.Size = new System.Drawing.Size(0, 16); this.lblMessage.TabIndex = 0; // // simpleButton1 // this.simpleButton1.DialogResult = System.Windows.Forms.DialogResult.OK; this.simpleButton1.Location = new System.Drawing.Point(216, 226); this.simpleButton1.Name = "simpleButton1"; this.simpleButton1.Size = new System.Drawing.Size(75, 23); this.simpleButton1.TabIndex = 1; this.simpleButton1.Text = "确定"; this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click); // // MyMessageBox // this.Appearance.ForeColor = System.Drawing.Color.Red; this.Appearance.Options.UseForeColor = true; this.ClientSize = new System.Drawing.Size(527, 261); this.Controls.Add(this.simpleButton1); this.Controls.Add(this.tableLayoutPanel1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "MyMessageBox"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "购票成功"; this.TopMost = true; this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.ResumeLayout(false); }
private void SetHardware() { // 연결 표기 부분 초기화 //pnlDeviceConnect.Controls.Clear(); // 연결할 H/W 갯수만큼 돌린다. (연동시 변경) for (int i = 0; i < 5; i++) { LabelControl lc = new LabelControl(); lc.Name = "lc_" + i.ToString(); lc.Font = new Font("Tahoma", 9, FontStyle.Bold); // Font 설정 lc.Text = "프린터" + i.ToString(); lc.Padding = new Padding(10, 0, 10, 0); lc.Margin = new Padding(0); lc.Appearance.Image = global::CoFAS_MES.POP.Properties.Resources.plug_Gray; lc.ImageAlignToText = ImageAlignToText.LeftCenter; lc.Dock = DockStyle.Right; pnlDeviceConnect.Controls.Add(lc); DisplayMessage(lc.Text + " OK"); } DisplayMessage("POP Start Complete"); }
/// <summary> /// 根据餐台控件获得餐台信息 /// </summary> /// <param name="paramModelCMS_Buffets">The param model CM s_ buffets.</param> /// <param name="paramDislayControls">The param dislay controls.</param> public static void ShowBuffetInfo(ModelCMS_Buffets paramModelCMS_Buffets, Control[] paramDislayControls) { if (paramModelCMS_Buffets == null) { return; } try { LabelControl ID = (LabelControl)paramDislayControls[0]; LabelControl Name = (LabelControl)paramDislayControls[1]; LabelControl AvaNum = (LabelControl)paramDislayControls[2]; LabelControl Status = (LabelControl)paramDislayControls[3]; LabelControl InfoNote = (LabelControl)paramDislayControls[4]; ID.Text = paramModelCMS_Buffets.ID.ToString(); Name.Text = paramModelCMS_Buffets.Name; AvaNum.Text = paramModelCMS_Buffets.AccommodateNum.ToString(); VariedEnum.BuffetStatus CurrentBuffetStatus = (VariedEnum.BuffetStatus)paramModelCMS_Buffets.StateID; Status.Text = CurrentBuffetStatus.ToString(); InfoNote.Text = paramModelCMS_Buffets.InfoNote; } catch (Exception ex) { XtraMessageBox.Show(ex.Message, "InitedBuffetDate"); } }
public SensitivityAnalysisFeedbackView() { InitializeComponent(); _lblInfo = new LabelControl { Parent = this }; }
public void Arrange() { if (this.Controls.Count <= 0) { return; } this.SuspendLayout(); int cw = this.Width - (cols + 1) * space; int ch = Math.Abs(this.Height - (buttonTrackVisible ? flowPanel.Height : 0) - (rows + 1) * space); int bw = cw / cols; int bh = ch / rows; for (int r = 1; r <= rows; r++) { for (int c = 1; c <= cols; c++) { int x = c * space + (c - 1) * bw; int y = r * space + (r - 1) * bh + (buttonTrackVisible ? flowPanel.Height : 0); string key = string.Format("btnR{0}C{1}", r, c); LabelControl btnKey = (LabelControl)this.Controls[key]; if (btnKey != null) { btnKey.Location = new Point(x, y); btnKey.Width = bw; btnKey.Height = bh; } } } this.ResumeLayout(); }
private void SaveLabelEditorText() { try { if (_currentLabelControl != null) { string text = _currentLabelEditor.Text; if (_originalLabelText != text) { _labelStrings.SetLabel(_parentControl, _currentLabelControl, text); _currentLabelControl.Text = text; SaveLabels(); } } } catch (Exception) { } finally { if (_currentLabelControl != null) { _currentLabelControl.Visible = true; _currentLabelControl = null; } if (_currentLabelEditor != null) { _currentLabelEditor.Visible = false; _currentLabelEditor.Parent = null; _currentLabelEditor = null; } } }
public SimpleUITriggerFluentAPIUserControl() { InitializeComponent(); #region SetUp MVVMContext mvvmContext = new MVVMContext(); mvvmContext.ContainerControl = this; CheckEdit checkEdit = new CheckEdit(); checkEdit.Dock = DockStyle.Top; checkEdit.Text = "IsActive"; LabelControl label = new LabelControl(); label.Dock = DockStyle.Top; label.AutoSizeMode = LabelAutoSizeMode.Vertical; label.Text = "Inactive"; label.Parent = this; checkEdit.Parent = this; #endregion SetUp #region #simpleUITriggerFluentAPI // Set type of POCO-ViewModel mvvmContext.ViewModelType = typeof(UIViewModel); // Data binding for the IsActive property var fluentAPI = mvvmContext.OfType <UIViewModel>(); fluentAPI.SetBinding(checkEdit, c => c.Checked, x => x.IsActive); // Property-change Trigger for the IsActive property fluentAPI.SetTrigger(x => x.IsActive, (active) => { label.Text = active ? "Active" : "Inactive"; }); #endregion #simpleUITriggerFluentAPI }
private void CreateComponents() { _panelLabel = ToDispose(new LabelControl() { Text = "New Game", Color = new ByteColor(255, 255, 255), CustomFont = _commonResources.FontBebasNeue25 }); _inputWorldName = ToDispose(new InputControl() { //CustomFont = _commonResources.FontBebasNeue17, Color = SharpDX.Color.Black }); _inputSeedName = ToDispose(new InputControl() { //CustomFont = _commonResources.FontBebasNeue17, Color = SharpDX.Color.Black }); _inputWorldNameLabel = ToDispose(new LabelControl() { Text = "World Name : ", Color = new ByteColor(255, 255, 255), CustomFont = _commonResources.FontBebasNeue17 }); _inputSeedNameLabel = ToDispose(new LabelControl() { Text = "Seed Name : ", Color = new ByteColor(255, 255, 255), CustomFont = _commonResources.FontBebasNeue17 }); _configurationsFilesLabel = ToDispose(new LabelControl() { Text = "Configurations : ", Color = new ByteColor(255, 255, 255), CustomFont = _commonResources.FontBebasNeue17 }); _configurationsFiles = ToDispose(new ListControl()); _configurationsFiles.IsClickTransparent = false; _configurationsFiles.SelectionMode = ListSelectionMode.Single; _configurationsFiles.SelectionChanged += _configurationsFiles_SelectionChanged; foreach (var configurationFile in GetConfigurationsList()) { _configurationsFiles.Items.Add(configurationFile); } _configurationsFiles.SelectItem(0); _btCreate = ToDispose(new ButtonControl() { Text = "Create", TextFontId = 1 }); BtCreate.Pressed += BtCreate_Pressed; }
private void ExcuteCalculate(TextEdit textEdit, string preParamName, string calParamName) { TextEdit prevBox = null; TextEdit calcBox = null; LabelControl lblParamCtrl = null; int columnIndex = Convert.ToInt32(textEdit.Name.ToString().Substring(7, 1)); for (int i = 1; i < tablePanel.RowCount; i++) { lblParamCtrl = (LabelControl)tablePanel.Controls.Find("lblParam" + i.ToString("00"), true)[0]; if (lblParamCtrl.Text.IndexOf(preParamName) != -1) { prevBox = this.tablePanel.Controls.Find("txtBox" + i.ToString() + columnIndex.ToString(), true)[0] as TextEdit; } if (lblParamCtrl.Text.IndexOf(calParamName) != -1) { calcBox = this.tablePanel.Controls.Find("txtBox" + i.ToString() + columnIndex.ToString(), true)[0] as TextEdit; } } if (prevBox.Text != string.Empty) { calcBox.Text = (float.Parse(prevBox.Text.Trim()) - float.Parse(textEdit.Text.Trim())).ToString(); CheckValidate(calcBox); } }
public MessageSidebarControl(string messageText) { labelControl = new LabelControl(); labelControl.BackColor = Color.Transparent; labelControl.Text = messageText; Controls.Add(labelControl); }
private void btnSave_Click(object sender, EventArgs e) { OMLEngine.Settings.SettingsManager.MetaDataMap_Clear(); Control[] controls; int i = 0; while ((controls = tableLayoutPanel1.Controls.Find("lblProperty" + i, false)).Length != 0) { LabelControl lblProperty = controls[0] as LabelControl; ComboBoxEdit cbeMapping = tableLayoutPanel1.Controls.Find("cbeMapping" + i, false)[0] as ComboBoxEdit; if (cbeMapping.Text != "") { OMLEngine.Dao.MataDataMapping map = new OMLEngine.Dao.MataDataMapping(); map.MatadataProperty = lblProperty.Text; map.MetadataProvider = cbeMapping.Text; OMLEngine.Settings.SettingsManager.MetaDataMap_Add(map); } i++; } //SettingsManager.Save(); }
public ItemInfoWindow(IconFactory iconFactory, InputsManager inputManager) { _iconFactory = iconFactory; Title = "Information"; Bounds = new UniRectangle(700, 120, 200, 240); _cell = new InventoryCell(null, _iconFactory, new Vector2I(), inputManager) { DrawCellBackground = false, Bounds = new UniRectangle(10, 30, 64, 64) }; _nameLabel = new LabelControl { Bounds = new UniRectangle(80, 50, 100, 20), Autosizing = true }; _descriptionLabel = new LabelControl { Bounds = new UniRectangle(10, 80, 180, 100), Autosizing = true }; Children.Add(_descriptionLabel); Children.Add(_nameLabel); Children.Add(_cell); }
private void simpleButton2_Click(object sender, EventArgs e) //新建标签 { if (mtItem.Text != string.Empty) { LabelControl lctemp = new LabelControl(); lc.Add(lctemp); int index = lc.Count - 1; lc[index].Text = mtItem.Text; lc[index].BringToFront(); lc[index].Visible = true; this.pictureBox2.Controls.Add(lctemp); lc[index].MouseDown += new MouseEventHandler(control_MouseDown); lc[index].MouseMove += new MouseEventHandler(control_MouseMove); lc[index].Location = new Point(this.pictureBox2.Width / 2, this.pictureBox2.Height / 2); LogisticCompanyTemplateItem temp = new LogisticCompanyTemplateItem(); temp.LogisticCompanyItemCode = System.Guid.NewGuid().ToString(); temp.LogisticCompanyTemplateCode = templateCode; temp.ItemName = mtItem.Text; temp.ItemValue = mtItem.Text; temp.ItemX = pictureBox2.Width / 2; temp.ItemY = pictureBox2.Height / 2; LogisticCompanyTemplateItemService.AddLogisticCompanyTemplateItem(temp); lcti.Clear(); lcti = LogisticCompanyTemplateItemService.GetLogisticTemplateItems(templateCode); mtItem.Text = string.Empty; } }
private void dashboardViewer1_DashboardItemDoubleClick(object sender, DashboardItemMouseActionEventArgs e) { XtraForm form = new XtraForm { Text = "Underlying Data" }; DashboardUnderlyingDataSet underlyingData = e.GetUnderlyingData(); if (underlyingData != null && underlyingData.RowCount > 0) { DevExpress.XtraGrid.GridControl grid = new DevExpress.XtraGrid.GridControl { Parent = form, Dock = DockStyle.Fill, DataSource = underlyingData, }; } else { LabelControl lbl = new LabelControl { Text = "No Data", Parent = form, }; lbl.AutoSizeMode = LabelAutoSizeMode.None; lbl.Appearance.TextOptions.HAlignment = HorzAlignment.Center; lbl.Appearance.TextOptions.VAlignment = VertAlignment.Center; lbl.Dock = DockStyle.Fill; } form.ShowDialog(); form.Dispose(); }
private LabelControl CreateLabel(int x, int y, string cn_name, string en_name) { var lbl = new LabelControl(); lbl.Name = "lbl" + en_name; lbl.Text = cn_name + ":"; lbl.Size = new System.Drawing.Size(60, 15); lbl.Location = new System.Drawing.Point(x, y); return lbl; }
public PagingManager(GridControl gridControl, LabelControl displayPageNumber, ComboBoxEdit cmbPageSize, RandomDataSourceGenerator randomDataSourceGenerator) { _gridControl = gridControl; _displayPageNumber = displayPageNumber; _cmbPageSize = cmbPageSize; _randomDataSourceGenerator = randomDataSourceGenerator; _dataTable = _randomDataSourceGenerator.Generate(300); Init(); LoadPage(); }
//private static void SetTextStatus(string text) //{ // // InvokeRequired required compares the thread ID of the // // calling thread to the thread ID of the creating thread. // // If these threads are different, it returns true. // if (this.textBox1.InvokeRequired) // { // SetTextCallback d = new SetTextCallback(SetText); // this.Invoke(d, new object[] { text }); // } // else // { // this.textBox1.Text = text; // } //} /// <summary> /// /// </summary> /// <param name="visible"></param> /// <param name="status"></param> /// <param name="messageInfo"></param> /// <param name="lblStatus"></param> /// <param name="lblMessage"></param> public static void SetDefaultStatus(bool visible, string status, string messageInfo, LabelControl lblStatus, LabelControl lblMessage) { lblStatus.Visible = visible; lblMessage.Visible = visible; lblStatus.Appearance.ForeColor = Color.DarkOrange; lblStatus.Appearance.BackColor = Color.DarkGray; lblMessage.Appearance.ForeColor = Color.DarkOrange; lblMessage.Appearance.BackColor = Color.DarkGray; lblStatus.Text = status; lblMessage.Text = messageInfo; }
public override void LoadContent() { panelTexture = ScreenManager.Content.Load<Texture2D>("Textures/panel"); Controls.Add(panel = new PanelControl(ScreenManager)); // panel.Background = new SolidColorBrush(ScreenManager) { Color = new Color(211, 191, 143) }; panel.Background = NineTileBrush.FromFullTexture(panelTexture, 30, 30); panel.Position = new Index2( (ScreenManager.ScreenSize.X - 600) / 2, (ScreenManager.ScreenSize.Y - 400) / 2); panel.Size = new Index2(600, 400); headline = new LabelControl(ScreenManager) { Font = ScreenManager.NormalText, Text = "Inventory", Color = Color.Black, Position = new Index2( ((ScreenManager.ScreenSize.X - 600) / 2) + 100, ((ScreenManager.ScreenSize.Y - 400) / 2) + 40), }; Controls.Add(headline); counter = new LabelControl(ScreenManager) { Font = ScreenManager.NormalText, Color = Color.Black, Position = new Index2(((ScreenManager.ScreenSize.X - 600) / 2) + 100, ((ScreenManager.ScreenSize.Y - 400) / 2) + 140), }; Controls.Add(counter); closeButton = new ButtonControl(ScreenManager) { Background = new SolidColorBrush(ScreenManager) { Color = Color.DarkBlue }, Hovered = new SolidColorBrush(ScreenManager) { Color = Color.Blue }, Font = ScreenManager.NormalText, Text = "Close", Color = Color.White, Position = new Index2( ((ScreenManager.ScreenSize.X - 600) / 2) + 100, ((ScreenManager.ScreenSize.Y - 400) / 2) + 170), Size = new Index2(200, 50), }; closeButton.MouseUp += closeButton_MouseUp; Controls.Add(closeButton); foreach (var control in Controls) control.LoadContent(); }
/// <summary> /// /// </summary> /// <param name="visible"></param> /// <param name="status"></param> /// <param name="messageInfo"></param> /// <param name="lblStatus"></param> /// <param name="lblMessage"></param> public static void SetErrorStatus(bool visible, string status, string messageInfo, LabelControl lblStatus, LabelControl lblMessage) { lblStatus.Visible = visible; lblMessage.Visible = visible; lblStatus.Appearance.ForeColor = Color.Yellow; lblStatus.Appearance.BackColor = Color.DarkRed; lblMessage.Appearance.ForeColor = Color.White; lblMessage.Appearance.BackColor = Color.DarkRed; lblStatus.Text = status; lblMessage.Text = messageInfo; }
private void InitializeComponent() { // full screen label var label = new LabelControl(); label.Text = "Full Screen"; label.Bounds = new UniRectangle(10, 12, 100, 20); Children.Add(label); // full screen checkbox _fullScreenButton = new ButtonControl(); _fullScreenButton.Bounds = new UniRectangle(150, 10, 150, 30); _fullScreenButton.Text = "No"; Children.Add(_fullScreenButton); // resolution label label = new LabelControl(); label.Text = "Resolution"; label.Bounds = new UniRectangle(10, 52, 100, 20); Children.Add(label); // resolution selection _resolutionButton = new ButtonControl(); _resolutionButton.Bounds = new UniRectangle(150, 50, 150, 30); _resolutionButton.Text = "1024x768"; Children.Add(_resolutionButton); // save button _saveButton = new ButtonControl(); _saveButton.Bounds = new UniRectangle( new UniScalar(0.5f, 10), new UniScalar(1, -40), new UniScalar(0.5f, -20), new UniScalar(30) ); _saveButton.Text = "Save"; Children.Add(_saveButton); // cancel button _cancelButton = new ButtonControl(); _cancelButton.Bounds = new UniRectangle( new UniScalar(0, 10), new UniScalar(1, -40), new UniScalar(0.5f, -20), new UniScalar(30) ); _cancelButton.Text = "Cancel"; Children.Add(_cancelButton); }
private void InitializeComponent() { EnableDragging = false; var label = new LabelControl(); label.Text = _item.Name; label.Bounds = new Nuclex.UserInterface.UniRectangle(10, 5, 80, 30); Children.Add(label); label = new LabelControl(); label.Text = _item.ItemType.ToString(); label.Bounds = new Nuclex.UserInterface.UniRectangle(210, 5, 80, 30); Children.Add(label); label = new LabelControl(); label.Text = _item.Ability.Name; label.Bounds = new Nuclex.UserInterface.UniRectangle(410, 5, 80, 30); Children.Add(label); }
private void InitializeComponent() { EnableDragging = false; _picture = new PictureControl(); _picture.Frame = "avatar.icon.anon"; _picture.Bounds = new UniRectangle( new UniScalar(1, -165), new UniScalar(15), new UniScalar(150), new UniScalar(150) ); Children.Add(_picture); // name (top left) _nameText = new LabelControl(); _nameText.Bounds = new UniRectangle(15, 10, 150, 25); Children.Add(_nameText); // class (top left) _classText = new LabelControl(); _classText.Bounds = new UniRectangle(15, 45, 150, 25); Children.Add(_classText); // health _healthLabel = new LabelControl(); _healthLabel.Bounds = new UniRectangle(15, 105, 150, 25); _healthLabel.Text = "Health"; Children.Add(_healthLabel); _healthText = new LabelControl(); _healthText.Bounds = new UniRectangle(170, 105, 150, 25); Children.Add(_healthText); // mana _manaLabel = new LabelControl(); _manaLabel.Bounds = new UniRectangle(15, 140, 150, 25); _manaLabel.Text = "Mana"; Children.Add(_manaLabel); _manaText = new LabelControl(); _manaText.Bounds = new UniRectangle(170, 140, 150, 25); Children.Add(_manaText); }
private void InitializeComponent() { EnableDragging = false; Bounds = new UniRectangle( new UniScalar(0.0f, 0.0f), new UniScalar(0.0f, 0.0f), new UniScalar(0.0f, 170.0f), new UniScalar(0.0f, 125.0f) ); _roundLabel = new LabelControl(); _roundNumber = new LabelControl(); _faction = new LabelControl(); _endTurn = new ButtonControl(); Children.Add(_roundLabel); Children.Add(_roundNumber); Children.Add(_faction); Children.Add(_endTurn); _faction.Bounds = new UniRectangle( new UniScalar(0.0f, 15.0f), new UniScalar(0.0f, 10.0f), new UniScalar(1.0f, -20.0f), new UniScalar(0.0f, 30.0f) ); _roundLabel.Bounds = new UniRectangle( new UniScalar(0.0f, 15.0f), new UniScalar(0.0f, 40.0f), new UniScalar(0.5f, -10.0f), new UniScalar(0.0f, 30.0f) ); _roundLabel.Text = "Round: "; _roundNumber.Bounds = new UniRectangle( new UniScalar(0.5f, 10.0f), new UniScalar(0.0f, 40.0f), new UniScalar(0.5f, -10.0f), new UniScalar(0.0f, 30.0f) ); _endTurn.Bounds = new UniRectangle( new UniScalar(0.0f, 10.0f), new UniScalar(0.0f, 70.0f), new UniScalar(1.0f, -20.0f), new UniScalar(0.0f, 45.0f) ); _endTurn.Text = "End Turn"; }
private void InitializeComponent() { EnableDragging = false; Bounds = new UniRectangle( new UniScalar(1.0f, -210.0f), new UniScalar(1.0f, -48.0f), new UniScalar(0.0f, 210.0f), new UniScalar(0.0f, 48.0f) ); _name = new LabelControl(); _name.Bounds = new UniRectangle( new UniScalar(0.0f, 10.0f), new UniScalar(0.0f, 10.0f), new UniScalar(1.0f, -35.0f), new UniScalar(0.0f, 20.0f) ); Children.Add(_name); _mana = new LabelControl(); _mana.Bounds = new UniRectangle( new UniScalar(1.0f, -30.0f), new UniScalar(0.0f, 10.0f), new UniScalar(0.0f, 25.0f), new UniScalar(0.0f, 20.0f) ); Children.Add(_mana); }
/*Load Tên Nhân Viên Lại*/ public void LoadTenNV(LabelControl lblTenNV) { string mnv = frmDangNhap.MaNhanVien; DataTable dt = DA.TbView(@"Select TenNhanVien From NhanVien Where MaNhanVien='" + mnv + "'"); lblTenNV.Text = dt.Rows[0]["TenNhanVien"].ToString().Trim(); }
/*load hình ảnh vào label*/ public void LoadDuLieu(LabelControl lblMNV, LabelControl lblTNV, LabelControl lblDC, LabelControl lblSDT, LabelControl lblCV, LabelControl lblTenDN, string strSite, string strMK, PictureEdit ptB) { #region ko ổn //lblMNV.Text = frmDangNhap.MaNhanVien; //lblTNV.Text = frmDangNhap.TenNhanVien; //lblDC.Text = frmDangNhap.DiaChi; //lblSDT.Text = frmDangNhap.SoDienThoai; //lblCV.Text = frmDangNhap.ChucVu; //lblTenDN.Text = frmDangNhap.TenDangNhap; //strSite = frmDangNhap.Site; //strMK = frmDangNhap.MatKhau; //Image myImage = frmDangNhap.myImage; //ptB.Image = myImage; #endregion string mnv = frmDangNhap.MaNhanVien; DataTable dt = DA.TbView(@"Select MaNhanVien,TenNhanVien,DiaChi, SoDienThoai,ChucVu,TenDangNhap,MatKhau,AnhDaiDien,Site From NhanVien Where MaNhanVien='" + mnv + "'"); lblMNV.Text = dt.Rows[0]["MaNhanVien"].ToString().Trim(); lblTNV.Text = dt.Rows[0]["TenNhanVien"].ToString().Trim(); lblDC.Text = dt.Rows[0]["DiaChi"].ToString().Trim(); lblSDT.Text = dt.Rows[0]["SoDienThoai"].ToString().Trim(); lblCV.Text = dt.Rows[0]["ChucVu"].ToString().Trim(); lblTenDN.Text = dt.Rows[0]["TenDangNhap"].ToString().Trim(); strSite = dt.Rows[0]["Site"].ToString().Trim(); strMK = dt.Rows[0]["MatKhau"].ToString().Trim(); Image myImage = ByteArrayToImage((byte[])dt.Rows[0]["AnhDaiDien"]); ptB.Image = myImage; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmClipboardMan)); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.addButton = new System.Windows.Forms.ToolStripButton(); this.removeButton = new System.Windows.Forms.ToolStripButton(); this.LuuSep = new System.Windows.Forms.ToolStripSeparator(); this.closeButton = new System.Windows.Forms.ToolStripButton(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.lbl_doituongClipboard = new DevExpress.XtraEditors.LabelControl(); this.lblCat = new System.Windows.Forms.Label(); this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components); this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel(); this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.panelControl3 = new DevExpress.XtraEditors.PanelControl(); this.navBarControl3 = new DevExpress.XtraNavBar.NavBarControl(); this.groupClipboard = new DevExpress.XtraNavBar.NavBarGroup(); this.navBarItem10 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl2 = new DevExpress.XtraNavBar.NavBarControl(); this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem3 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem4 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem5 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem6 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem7 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem8 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarItem9 = new DevExpress.XtraNavBar.NavBarItem(); this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl(); this.panel1 = new System.Windows.Forms.Panel(); this.dgc_details = new DevExpress.XtraGrid.GridControl(); this.dgv_details = new DevExpress.XtraGrid.Views.Grid.GridView(); this.label1 = new System.Windows.Forms.Label(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit(); this.dockPanel1.SuspendLayout(); this.dockPanel1_Container.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit(); this.panelControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).BeginInit(); this.SuspendLayout(); // // toolStrip1 // this.toolStrip1.BackColor = System.Drawing.Color.Transparent; this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden; this.toolStrip1.ImageScalingSize = new System.Drawing.Size(23, 23); this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.addButton, this.removeButton, this.LuuSep, this.closeButton}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; this.toolStrip1.Size = new System.Drawing.Size(580, 25); this.toolStrip1.TabIndex = 1; this.toolStrip1.Text = "toolStrip1"; // // addButton // this.addButton.Name = "addButton"; this.addButton.Size = new System.Drawing.Size(98, 22); this.addButton.Tag = ""; this.addButton.Text = " &Xóa tất cả dữ liệu"; this.addButton.Click += new System.EventHandler(this.addButton_Click); // // removeButton // this.removeButton.Name = "removeButton"; this.removeButton.Size = new System.Drawing.Size(101, 22); this.removeButton.Tag = ""; this.removeButton.Text = "Xóa các &dòng chọn"; this.removeButton.Click += new System.EventHandler(this.removeButton_Click); // // LuuSep // this.LuuSep.Name = "LuuSep"; this.LuuSep.Size = new System.Drawing.Size(6, 25); this.LuuSep.Visible = false; // // closeButton // this.closeButton.Name = "closeButton"; this.closeButton.Size = new System.Drawing.Size(43, 22); this.closeButton.Text = " Đón&g "; this.closeButton.Click += new System.EventHandler(this.closeButton_Click); // // panelControl1 // this.panelControl1.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl1.Controls.Add(this.lbl_doituongClipboard); this.panelControl1.Controls.Add(this.lblCat); this.panelControl1.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl1.Location = new System.Drawing.Point(176, 3); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(580, 37); this.panelControl1.TabIndex = 3; // // lbl_doituongClipboard // this.lbl_doituongClipboard.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lbl_doituongClipboard.Appearance.ForeColor = System.Drawing.Color.Black; this.lbl_doituongClipboard.Appearance.Options.UseFont = true; this.lbl_doituongClipboard.Appearance.Options.UseForeColor = true; this.lbl_doituongClipboard.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.Horizontal; this.lbl_doituongClipboard.Location = new System.Drawing.Point(6, 8); this.lbl_doituongClipboard.Name = "lbl_doituongClipboard"; this.lbl_doituongClipboard.Size = new System.Drawing.Size(168, 23); this.lbl_doituongClipboard.TabIndex = 1; this.lbl_doituongClipboard.Text = "Đối tượng Clipboard"; // // lblCat // this.lblCat.AutoSize = true; this.lblCat.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblCat.Location = new System.Drawing.Point(7, 5); this.lblCat.Name = "lblCat"; this.lblCat.Size = new System.Drawing.Size(0, 25); this.lblCat.TabIndex = 0; // // dockManager1 // this.dockManager1.Form = this; this.dockManager1.RootPanels.AddRange(new DevExpress.XtraBars.Docking.DockPanel[] { this.dockPanel1}); this.dockManager1.TopZIndexControls.AddRange(new string[] { "DevExpress.XtraBars.BarDockControl", "System.Windows.Forms.StatusBar"}); // // dockPanel1 // this.dockPanel1.Controls.Add(this.dockPanel1_Container); this.dockPanel1.Dock = DevExpress.XtraBars.Docking.DockingStyle.Left; this.dockPanel1.ID = new System.Guid("47482ff7-7f88-4274-9ba9-35bc499857c9"); this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Options.AllowDockBottom = false; this.dockPanel1.Options.AllowDockFill = false; this.dockPanel1.Options.AllowDockRight = false; this.dockPanel1.Options.AllowDockTop = false; this.dockPanel1.Options.AllowFloating = false; this.dockPanel1.Options.FloatOnDblClick = false; this.dockPanel1.Options.ShowCloseButton = false; this.dockPanel1.Size = new System.Drawing.Size(173, 485); this.dockPanel1.Text = "Clipboard"; // // dockPanel1_Container // this.dockPanel1_Container.Controls.Add(this.panelControl2); this.dockPanel1_Container.Controls.Add(this.navBarControl1); this.dockPanel1_Container.Location = new System.Drawing.Point(3, 25); this.dockPanel1_Container.Name = "dockPanel1_Container"; this.dockPanel1_Container.Size = new System.Drawing.Size(167, 457); this.dockPanel1_Container.TabIndex = 0; // // panelControl2 // this.panelControl2.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl2.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl2.Controls.Add(this.panelControl3); this.panelControl2.Controls.Add(this.navBarControl2); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl2.Location = new System.Drawing.Point(0, 0); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(167, 285); this.panelControl2.TabIndex = 2; // // panelControl3 // this.panelControl3.AutoSizeMode = System.Windows.Forms.AutoSizeMode.GrowOnly; this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.panelControl3.Controls.Add(this.navBarControl3); this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top; this.panelControl3.Location = new System.Drawing.Point(0, 0); this.panelControl3.Name = "panelControl3"; this.panelControl3.Size = new System.Drawing.Size(167, 387); this.panelControl3.TabIndex = 1; // // navBarControl3 // this.navBarControl3.ActiveGroup = this.groupClipboard; this.navBarControl3.ContentButtonHint = null; this.navBarControl3.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl3.Groups.AddRange(new DevExpress.XtraNavBar.NavBarGroup[] { this.groupClipboard}); this.navBarControl3.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem10}); this.navBarControl3.Location = new System.Drawing.Point(0, 0); this.navBarControl3.Name = "navBarControl3"; this.navBarControl3.OptionsNavPane.ExpandedWidth = 194; this.navBarControl3.Size = new System.Drawing.Size(167, 387); this.navBarControl3.TabIndex = 0; this.navBarControl3.Text = "navBarControl3"; // // groupClipboard // this.groupClipboard.Caption = "Đối tượng"; this.groupClipboard.Expanded = true; this.groupClipboard.LargeImage = ((System.Drawing.Image)(resources.GetObject("groupClipboard.LargeImage"))); this.groupClipboard.Name = "groupClipboard"; // // navBarItem10 // this.navBarItem10.Caption = "navBarItem10"; this.navBarItem10.LargeImage = ((System.Drawing.Image)(resources.GetObject("navBarItem10.LargeImage"))); this.navBarItem10.Name = "navBarItem10"; // // navBarControl2 // this.navBarControl2.ActiveGroup = null; this.navBarControl2.ContentButtonHint = null; this.navBarControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl2.Items.AddRange(new DevExpress.XtraNavBar.NavBarItem[] { this.navBarItem1, this.navBarItem2, this.navBarItem3, this.navBarItem4, this.navBarItem5, this.navBarItem6, this.navBarItem7, this.navBarItem8, this.navBarItem9}); this.navBarControl2.Location = new System.Drawing.Point(0, 0); this.navBarControl2.Name = "navBarControl2"; this.navBarControl2.OptionsNavPane.ExpandedWidth = 194; this.navBarControl2.Size = new System.Drawing.Size(167, 285); this.navBarControl2.TabIndex = 0; this.navBarControl2.Text = "navBarControl2"; // // navBarItem1 // this.navBarItem1.Caption = "navBarItem1"; this.navBarItem1.Name = "navBarItem1"; // // navBarItem2 // this.navBarItem2.Caption = "navBarItem2"; this.navBarItem2.Name = "navBarItem2"; // // navBarItem3 // this.navBarItem3.Caption = "navBarItem3"; this.navBarItem3.Name = "navBarItem3"; // // navBarItem4 // this.navBarItem4.Caption = "navBarItem4"; this.navBarItem4.Name = "navBarItem4"; // // navBarItem5 // this.navBarItem5.Caption = "navBarItem5"; this.navBarItem5.Name = "navBarItem5"; // // navBarItem6 // this.navBarItem6.Caption = "navBarItem6"; this.navBarItem6.Name = "navBarItem6"; // // navBarItem7 // this.navBarItem7.Caption = "navBarItem7"; this.navBarItem7.Name = "navBarItem7"; // // navBarItem8 // this.navBarItem8.Caption = "navBarItem8"; this.navBarItem8.Name = "navBarItem8"; // // navBarItem9 // this.navBarItem9.Caption = "navBarItem9"; this.navBarItem9.Name = "navBarItem9"; // // navBarControl1 // this.navBarControl1.ActiveGroup = null; this.navBarControl1.Appearance.Background.Options.UseTextOptions = true; this.navBarControl1.Appearance.Background.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.navBarControl1.ContentButtonHint = null; this.navBarControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.navBarControl1.Location = new System.Drawing.Point(0, 0); this.navBarControl1.Name = "navBarControl1"; this.navBarControl1.OptionsNavPane.ExpandedWidth = 194; this.navBarControl1.Size = new System.Drawing.Size(167, 457); this.navBarControl1.TabIndex = 1; this.navBarControl1.Text = "navBarControl1"; // // panel1 // this.panel1.Controls.Add(this.dgc_details); this.panel1.Controls.Add(this.toolStrip1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(176, 40); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(580, 442); this.panel1.TabIndex = 7; // // dgc_details // this.dgc_details.Dock = System.Windows.Forms.DockStyle.Fill; this.dgc_details.EmbeddedNavigator.Name = ""; this.dgc_details.FormsUseDefaultLookAndFeel = false; this.dgc_details.Location = new System.Drawing.Point(0, 25); this.dgc_details.MainView = this.dgv_details; this.dgc_details.Name = "dgc_details"; this.dgc_details.Size = new System.Drawing.Size(580, 417); this.dgc_details.TabIndex = 2; this.dgc_details.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.dgv_details}); // // dgv_details // this.dgv_details.GridControl = this.dgc_details; this.dgv_details.Name = "dgv_details"; this.dgv_details.OptionsBehavior.Editable = false; this.dgv_details.OptionsSelection.EnableAppearanceFocusedCell = false; this.dgv_details.OptionsSelection.MultiSelect = true; this.dgv_details.OptionsView.ShowGroupPanel = false; this.dgv_details.RowCountChanged += new System.EventHandler(this.dgv_details_RowCountChanged); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(7, 5); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(0, 25); this.label1.TabIndex = 0; // // TrialfrmClipboardMan // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(759, 485); this.Controls.Add(this.panel1); this.Controls.Add(this.panelControl1); this.Controls.Add(this.dockPanel1); this.Name = "TrialfrmClipboardMan"; this.Padding = new System.Windows.Forms.Padding(3); this.ShowInTaskbar = false; this.Text = "Quản lý Clipboard"; this.Load += new System.EventHandler(this.frmClipboardMan_Load); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dockManager1)).EndInit(); this.dockPanel1.ResumeLayout(false); this.dockPanel1_Container.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl3)).EndInit(); this.panelControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgc_details)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dgv_details)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 自定义扩展列 /// </summary> private void extendPropertyGen() { // 自动加载扩展的列 try { document_type doctype = WcfServiceLocator.Create<IDocPropertyBuild>().getDocumentProperty(document); docPropertyList = doctype.DocProperty; int Location_y = 10; int actlocation = 0; for (int i = 0; i < docPropertyList.Count; i++) { doc_attached_property docp = docPropertyList[i]; if (!docp.is_display) continue; if (actlocation % 2 == 0) { // 为第一列 LabelControl lbk1 = new LabelControl(); lbk1.Name = "lbk1" + i; lbk1.Text = docp.cn_name + ":"; lbk1.Size = new System.Drawing.Size(60, 15); lbk1.Location = new System.Drawing.Point(25, Location_y); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(lbk1); if (docp.input_type == "SEL") { ComboBoxEdit cbx1 = new ComboBoxEdit(); // 添加下拉框的值 foreach (doc_combobox_value boxvalue in docp.ComboxValue) { cbx1.Properties.Items.Add(boxvalue.value); } cbx1.Name = docp.en_name; cbx1.Size = new System.Drawing.Size(280, 20); cbx1.Location = new System.Drawing.Point(108, Location_y - 4); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(cbx1); } else { TextEdit txtk1 = new TextEdit(); txtk1.Name = docp.en_name; txtk1.Size = new System.Drawing.Size(280, 20); txtk1.Location = new System.Drawing.Point(108, Location_y - 4); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(txtk1); } } else { // 为第二列 LabelControl lbk2 = new LabelControl(); lbk2.Name = "lbk2" + i; lbk2.Text = docp.cn_name + ":"; lbk2.Size = new System.Drawing.Size(60, 15); lbk2.Location = new System.Drawing.Point(412, Location_y); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(lbk2); if (docp.input_type == "SEL") { ComboBoxEdit cbx1 = new ComboBoxEdit(); // 添加下拉框的值 foreach (doc_combobox_value boxvalue in docp.ComboxValue) { cbx1.Properties.Items.Add(boxvalue.value); } cbx1.Name = docp.en_name; cbx1.Size = new System.Drawing.Size(280, 20); cbx1.Location = new System.Drawing.Point(108, Location_y - 4); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(cbx1); } else { TextEdit txtk2 = new TextEdit(); txtk2.Name = docp.en_name; txtk2.Size = new System.Drawing.Size(264, 20); txtk2.Location = new System.Drawing.Point(500, Location_y - 4); this.DocManagement_DocModify_tabContr_AdditionalInfor.Controls.Add(txtk2); } Location_y = Location_y + 30; } actlocation++; } } catch (Exception ex) { Console.WriteLine(ex.Message); } }
private void RenderGenreMapping() { int i = 0; foreach (GenreMapping map in _genreMapping) { LabelControl lblSource = new LabelControl(); lblSource.Name = "lblSource" + i; lblSource.Text = map.SourceGenre; lblSource.Dock = DockStyle.Fill; tableLayoutPanel1.Controls.Add(lblSource); ComboBoxEdit cbeGenre = new ComboBoxEdit(); cbeGenre.Name = "cbeGenre" + i; cbeGenre.Text = map.DestinationGenre; cbeGenre.Properties.Items.AddRange(_genreList); // Add the genre from the plugin into the combo box if not allready there. if (!_genreList.Contains(map.SourceGenre)) { cbeGenre.Properties.Items.Add(map.SourceGenre); } cbeGenre.Dock = DockStyle.Fill; tableLayoutPanel1.Controls.Add(cbeGenre); RadioGroup grpActions = new RadioGroup(); grpActions.Name = "grpActions" + i; grpActions.Properties.Items.Add(new DevExpress.XtraEditors.Controls.RadioGroupItem(MapActionEnum.Ignore, "Ignore")); grpActions.Properties.Items.Add(new DevExpress.XtraEditors.Controls.RadioGroupItem(MapActionEnum.Map, "Map")); grpActions.SelectedIndex = map.Action == MapActionEnum.Ignore ? 0 : 1; grpActions.Properties.Columns = 2; grpActions.Height = 25; grpActions.Dock = DockStyle.Fill; tableLayoutPanel1.Controls.Add(grpActions); i++; } }
private void CreateDetail(Type EntityType, String Name = null, object Value = null) { #region ==================================== Labels + textboxs ==================================== splitContainerControl.Panel2.Controls.Clear(); var EntityProperties = EntityType.GetProperties(); int index = 0; for (int i = 0; i < EntityProperties.Count(); i++) { var Pro = EntityProperties[i]; var DisplayName = Pro.GetName(); if (Pro.PropertyType.IsGenericType || Pro.Name.Substring(0, 2) == "FK") { } else { var DataBindingsType = "Text"; var label = new LabelControl(); label.Location = new Point(20, 50 + 30 * index + 3); label.Text = DisplayName; label.Font = new Font(label.Font, CurrentMDI.IsKey(Pro.Name) ? FontStyle.Underline | FontStyle.Bold : FontStyle.Regular); BaseEdit textbox = new TextEdit(); if(EntityType.IsForeignKey(Pro.Name)) { var ForeignInfo = Pro.GetForeignKeyTargetName(); var TableName = ForeignInfo.Substring(0, ForeignInfo.IndexOf("_")); var KeyName = ForeignInfo.Substring(ForeignInfo.IndexOf("_") + 1); var x = Global.GetType(TableName); var aList = x.Equals(typeof(DataContext.Menu)) ? GetMenuList() : (x.Equals(typeof(Quyen)) ? GetQuyenList() : Table.GetList(x, null, null, false)); if (aList != null) { var Ri = new LookUpEdit(); Ri.Properties.NullText = "Không có giá trị"; Ri.Properties.DataSource = aList; Ri.Properties.ValueMember = KeyName; Ri.Properties.BestFitMode = BestFitMode.BestFitResizePopup; Ri.BindingContextChanged += new EventHandler(delegate(object sender, EventArgs e) { var Lookup = (sender as LookUpEdit); Lookup.Properties.PopulateColumns(); Lookup.Properties.BestFit(); Lookup.Properties.AllowNullInput = DefaultBoolean.True; if (Lookup.Properties.Columns.Count == 0) return; var ci = 0; foreach (var Column in x.GetProperties()) { if (Column.PropertyType.IsGenericType) { Lookup.Properties.Columns[ci].Visible = false; } else { Lookup.Properties.Columns[ci].Caption = Column.GetName(); if (Column.PropertyType == typeof(DateTime)) { if (Column.Name.Substring(0, 3) == "Gio") Lookup.Properties.Columns[ci].FormatString = "HH:mm tt"; else Lookup.Properties.Columns[ci].FormatString = "dd/MM/yyy"; } } ci++; } }); textbox = Ri; DataBindingsType = "EditValue"; } } else if (Pro.PropertyType == typeof(DateTime)) { var rDate = new DateEdit(); var rTime = new TimeEdit(); rDate.Properties.MinValue = new DateTime(1753, 1, 1); // SQL min value if (Pro.Name.Substring(0, 3) == "Gio") textbox = rTime; else textbox = rDate; DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(bool)) { textbox = new CheckEdit(); DataBindingsType = "EditValue"; } else if (Pro.PropertyType == typeof(int) || Pro.PropertyType == typeof(decimal) || Pro.PropertyType == typeof(double)) { textbox = new CalcEdit(); DataBindingsType = "EditValue"; } textbox.Location = new Point(120, 50 + 30 * index); textbox.Width = 200; textbox.TabIndex = index; textbox.DataBindings.Add(DataBindingsType, gridView.DataSource, Pro.Name); textbox.Properties.ReadOnly = true; textbox.Name = Pro.Name; splitContainerControl.Panel2.Controls.AddRange(new Control[] { label, textbox }); index++; } } #endregion #region ==================================== Buttons ==================================== int bWidth = 60; int bX = 0; var btnEdit = new SimpleButton() { Text = "Chỉnh sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = CurrentMDI.EnabledModify() && CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0 }; var btnCancelEdit = new SimpleButton() { Text = "Dừng sửa", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnUpdate = new SimpleButton() { Text = "Cập nhật", Location = new Point(5 + 5*bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnCreateNew = new SimpleButton() { Text = "Tạo mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() }; var btnCancelNew = new SimpleButton() { Text = "Dừng thêm", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Visible = false }; bX++; var btnAddNew = new SimpleButton() { Text = "Thêm mới", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = false }; bX++; var btnDelete = new SimpleButton() { Text = "Xoá", Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = 60, Enabled = CurrentMDI.EnabledModify() && gridView.SelectedRowsCount > 0 }; index++; #endregion #region ==================================== Functions ==================================== var Element = EntityType.CreateNew(); Func<string, Control> GetControlByName = delegate(string ControlName) { foreach(Control c in splitContainerControl.Panel2.Controls) if(c.Name == ControlName) return c; return null; }; Func<Exception, bool> ValidateEntity = delegate(Exception e) { dxErrorProvider.ClearErrors(); bool isOk = false; if (e is SqlException) { var dbEx = e as SqlException; foreach (SqlError validationError in dbEx.Errors) { if (validationError.Message.IndexOf("]") > 0) { var PropertyName = validationError.Message.Substring(validationError.Message.IndexOf("[") + 1, validationError.Message.IndexOf("]")-1); var ErrorMessage = validationError.Message.Substring(validationError.Message.IndexOf("]") + 1); if (PropertyName.Equals("_Msg")) { MessageBox.Show(ErrorMessage); isOk = true; } else { dxErrorProvider.SetError(GetControlByName(PropertyName), ErrorMessage, ErrorType.Default); } } } } else { ShowError(e); } return isOk; }; Action<bool> SetReadOnly = delegate(bool IsReadOnly) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).Properties.ReadOnly = IsReadOnly; if (CurrentMDI.IsKey(control.Name) && !IsReadOnly && !btnAddNew.Enabled) { (control as BaseEdit).Properties.ReadOnly = true; } if (control.Tag != null) { (control.Tag as Control).Enabled = !IsReadOnly; } if (control.Name == Name) { (control as BaseEdit).Properties.ReadOnly = true; } if (control is LookUpEdit && (control as BaseEdit).Properties.ReadOnly == false) { if (EntityType.IsFKContained(control.Name)) { var A = EntityType.Name; var MDI = (MasterDetailInfo)(control as LookUpEdit).Properties.DataSource.GetType().GenericTypeArguments[0].CreateNew(); var V = (GetControlByName(CurrentMDI.GetKeyName()) as BaseEdit).EditValue; var aList = Table.GetList(MDI.GetType(), A, V, false); (control as LookUpEdit).Properties.DataSource = aList; } } } } }; Action DefaultButtonDisplay = delegate() { btnEdit.Enabled = CurrentMDI.EnabledEdit() && gridView.SelectedRowsCount > 0; btnEdit.Visible = true; btnCancelEdit.Visible = false; btnUpdate.Enabled = false; btnCreateNew.Enabled = btnCreateNew.Visible = true; btnCancelNew.Visible = false; btnAddNew.Enabled = false; btnDelete.Enabled = gridView.SelectedRowsCount > 0; }; Func<MasterDetailInfo> GetCurrentRecord = delegate() { var AElement = EntityType.CreateNew(); foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { AElement.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } return (AElement as MasterDetailInfo); }; #endregion #region ==================================== Button Events ==================================== btnEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { Element.SetPropertyValue(control.Name, (control as BaseEdit).EditValue); } } DefaultButtonDisplay(); btnCancelEdit.Visible = btnUpdate.Enabled = true; btnEdit.Visible = btnCreateNew.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelEdit.Click += new EventHandler(delegate(object sender, EventArgs e) { foreach (Control control in splitContainerControl.Panel2.Controls) { if (control is BaseEdit) { (control as BaseEdit).EditValue = Element.GetPropertyValue(control.Name); } } DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnUpdate.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = false; try { Table.Update(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnCreateNew.Click += new EventHandler(delegate(object sender, EventArgs e) { gridView.AddNewRow(); if (!string.IsNullOrEmpty(Name)) { var txt = (GetControlByName(Name) as BaseEdit); txt.EditValue = Value; txt.BindingManager.EndCurrentEdit(); } DefaultButtonDisplay(); btnCancelNew.Visible = btnAddNew.Enabled = true; btnCreateNew.Visible = btnEdit.Enabled = btnDelete.Enabled = false; SetReadOnly(false); DataGridView.Enabled = false; }); btnCancelNew.Click += new EventHandler(delegate(object sender, EventArgs e){ gridView.DeleteSelectedRows(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; dxErrorProvider.ClearErrors(); }); btnAddNew.Click += new EventHandler(delegate(object sender, EventArgs e) { var NewElement = GetCurrentRecord(); bool isOk = true; try { Table.Insert(NewElement); } catch (Exception ex) { isOk = ValidateEntity(ex); } finally { if (isOk) { dxErrorProvider.ClearErrors(); DefaultButtonDisplay(); SetReadOnly(true); DataGridView.Enabled = true; } } }); btnDelete.Click += new EventHandler(delegate(object sender, EventArgs e) { var AElement = GetCurrentRecord(); try { gridView.DeleteSelectedRows(); Table.Delete(AElement); } catch (System.Exception ex) { ValidateEntity(ex); } }); #endregion splitContainerControl.Panel2.Controls.AddRange(new Control[] { btnEdit, btnCancelEdit, btnUpdate, btnCreateNew, btnCancelNew, btnAddNew, btnDelete }); #region ==================================== Relation ==================================== var Count = CurrentMDI.GetRelationCount(); bX = 0; bWidth = 160; for (int i = 0; i < Count; i++) { var MDI = (MasterDetailInfo)CurrentMDI.GetRelationType(i).CreateNew(); var aName = MDI.GetType().Name; var aButton = new SimpleButton() { Name = "btnRelation_"+ aName, Text = MDI.GetName(), Location = new Point(5 + 5 * bX + bWidth * bX, 50 + 30 * index), Width = bWidth, Enabled = DSQuyen.Where(m => m.Quyen > 1 && m.Menu.Contains(aName)).Count() > 0 || Username == "admin" }; aButton.Click += new EventHandler(delegate(object sender, EventArgs e) { var TableName = CurrentMDI.GetType().Name; var ColumnName = MDI.GetForeignKeyColumn(TableName); var KeyValue = GetCurrentRecord().GetKeyValue(); UpdateGridView(MDI, ColumnName, KeyValue); //gridView.Columns[0].FilterInfo = new ColumnFilterInfo(gridView.Columns[ColumnName], KeyValue); }); splitContainerControl.Panel2.Controls.Add(aButton); index = bX > 0 ? index + 1 : index; bX = bX > 0 ? 0 : bX + 1; } #endregion }
private void ViewQuestionPaper() { panel1.Controls.Clear(); int x = 15; int y = 15; LabelControl pdlab = new LabelControl(); pdlab.Font = labMB.Font; pdlab.Text = "一、判断题( " + PdDic.Count + "道,每题" + ESet.JudgeScore + "分, 共计" + PdDic.Count * ESet.JudgeScore + "分 )"; pdlab.AutoSize = true; panel1.Controls.Add(pdlab); pdlab.Location = new Point(x, y); y = y + pdlab.Height + 5; int pdjs = 1; foreach (string key in PdDic.Keys) { UcViewTroQuestonPD pd = new UcViewTroQuestonPD(pdjs, PdDic[key]); panel1.Controls.Add(pd); pd.Location = new Point(x, y); y = y + pd.Height + 5; pdjs++; } LabelControl selectlab = new LabelControl(); selectlab.Font = labMB.Font; selectlab.Text = "二、单项选择题( " + SelectDic.Count + "道,每题" + ESet.SelectScore + "分, 共计" + SelectDic.Count * ESet.SelectScore + "分 )"; selectlab.AutoSize = true; panel1.Controls.Add(selectlab); selectlab.Location = new Point(x, y); y = y + selectlab.Height + 5; int selectjs = 1; foreach (string key in SelectDic.Keys) { UcViewTroQuestonSlect select = new UcViewTroQuestonSlect(selectjs, SelectDic[key]); panel1.Controls.Add(select); select.Location = new Point(x, y); y = y + select.GetHeight + 5; selectjs++; } Label muselectlab = new Label(); muselectlab.Font = labMB.Font; muselectlab.Text = "三、多项选择题( " + MuSelectDic.Count + "道,每题" + ESet.MuSelectScore + "分, 共计" + MuSelectDic.Count * ESet.MuSelectScore + "分 )"; muselectlab.AutoSize = true; panel1.Controls.Add(muselectlab); muselectlab.Location = new Point(x, y); y = y + muselectlab.Height + 5; int muselectjs = 1; foreach (string key in MuSelectDic.Keys) { UcViewTroQuestonMuSlect muselect = new UcViewTroQuestonMuSlect(muselectjs, MuSelectDic[key]); panel1.Controls.Add(muselect); muselect.Location = new Point(x, y); y = y + muselect.GetHeight + 5; muselectjs++; } }
protected void InitializeComponents() { this.callsignLabel = new LabelControl(); this.tagLabel = new LabelControl(); this.hostLabel = new LabelControl(); this.teamLabel = new LabelControl(); this.callsignInput = new InputControl(); this.tagInput = new InputControl(); this.hostInput = new InputControl(); this.joinButton = new ButtonControl(); this.backButton = new ButtonControl(); this.teamChoice = new Control(); this.redTeam = new ChoiceControl(); this.blueTeam = new ChoiceControl(); this.greenTeam = new ChoiceControl(); this.callsignLabel.Text = "Callsign: "; this.callsignLabel.Bounds = new UniRectangle(new UniScalar(.7f, 0f), new UniScalar(.2f, 0f), 50, 24); this.callsignInput.Bounds = new UniRectangle(new UniScalar(.7f, 80f), new UniScalar(0.2f, 0f), 150, 24); this.callsignInput.Enabled = true; this.tagLabel.Text = "Tag: "; this.tagLabel.Bounds = new UniRectangle(new UniScalar(0.7f, 0f), new UniScalar(0.3f, 0f), 50, 24); this.tagInput.Bounds = new UniRectangle(new UniScalar(0.7f, 80f), new UniScalar(0.3f, 0f), 150, 24); this.tagInput.Enabled = true; this.hostLabel.Text = "Host: "; this.hostLabel.Bounds = new UniRectangle(new UniScalar(0.7f, 0f), new UniScalar(0.4f, 0f), 50, 24); this.hostInput.Bounds = new UniRectangle(new UniScalar(0.7f, 80f), new UniScalar(0.4f, 0f), 150, 24); this.hostInput.Enabled = true; this.teamLabel.Text = "Team: "; this.teamLabel.Bounds = new UniRectangle(new UniScalar(0.7f, 0f), new UniScalar(0.5f, 0f), 50, 24); this.teamChoice.Bounds = new UniRectangle(new UniScalar(0.7f, 0f), new UniScalar(0.5f, 0f), 150, 94); this.redTeam.Text = "Red Team"; this.redTeam.Bounds = new UniRectangle(new UniScalar(0.0f, 80f), new UniScalar(0.0f, 10f), 10, 10); this.redTeam.Enabled = true; this.blueTeam.Text = "Blue Team"; this.blueTeam.Bounds = new UniRectangle(new UniScalar(0.0f, 80f), new UniScalar(0.0f, 30f), 10, 10); this.blueTeam.Enabled = true; this.greenTeam.Text = "Green Team"; this.greenTeam.Bounds = new UniRectangle(new UniScalar(0.0f, 80f), new UniScalar(0.0f, 50f), 10, 10); this.greenTeam.Enabled = true; this.joinButton.Text = "Join!"; this.joinButton.Bounds = new UniRectangle(new UniScalar(.7f, 80f), new UniScalar(0.7f, 0f), 150, 72); // 80, 24 for regular button this.backButton.Text = "Back"; this.backButton.Bounds = new UniRectangle(new UniScalar(0.1f, 0.0f), new UniScalar(0.9f, 0f), 80, 24); joinScreen.Desktop.Children.Add(callsignLabel); joinScreen.Desktop.Children.Add(callsignInput); joinScreen.Desktop.Children.Add(tagLabel); joinScreen.Desktop.Children.Add(tagInput); joinScreen.Desktop.Children.Add(hostLabel); joinScreen.Desktop.Children.Add(hostInput); joinScreen.Desktop.Children.Add(teamLabel); joinScreen.Desktop.Children.Add(teamChoice); joinScreen.Desktop.Children.Add(joinButton); joinScreen.Desktop.Children.Add(backButton); teamChoice.Children.Add(redTeam); teamChoice.Children.Add(blueTeam); teamChoice.Children.Add(greenTeam); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.txtReceiverNo = new DevExpress.XtraEditors.TextEdit(); this.txtReceiverName = new DevExpress.XtraEditors.TextEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.txtReceiverMobile = new DevExpress.XtraEditors.TextEdit(); this.chk = new DevExpress.XtraEditors.CheckEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.txtReceiverAddress = new DevExpress.XtraEditors.TextEdit(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.txtRemark = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverMobile.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chk.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); this.SuspendLayout(); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(330, 217); // // pnlFill // this.pnlFill.Controls.Add(this.txtRemark); this.pnlFill.Controls.Add(this.labelControl9); this.pnlFill.Controls.Add(this.labelControl5); this.pnlFill.Controls.Add(this.txtReceiverMobile); this.pnlFill.Controls.Add(this.txtReceiverAddress); this.pnlFill.Controls.Add(this.labelControl3); this.pnlFill.Controls.Add(this.labelControl2); this.pnlFill.Controls.Add(this.labelControl1); this.pnlFill.Controls.Add(this.chk); this.pnlFill.Controls.Add(this.txtReceiverNo); this.pnlFill.Controls.Add(this.txtReceiverName); this.pnlFill.Size = new System.Drawing.Size(330, 171); // // pnlBottom // this.pnlBottom.Controls.Add(this.btnOK); this.pnlBottom.Controls.Add(this.btnClose); this.pnlBottom.Location = new System.Drawing.Point(0, 171); this.pnlBottom.Size = new System.Drawing.Size(330, 46); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(243, 6); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 35); this.btnClose.TabIndex = 14; this.btnClose.Text = "关闭(&C)"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.Location = new System.Drawing.Point(150, 6); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 35); this.btnOK.TabIndex = 13; this.btnOK.Text = "确定(&E)"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // txtReceiverNo // this.txtReceiverNo.Location = new System.Drawing.Point(67, 7); this.txtReceiverNo.Name = "txtReceiverNo"; this.txtReceiverNo.Size = new System.Drawing.Size(242, 20); this.txtReceiverNo.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "不能为空"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.txtReceiverNo, conditionValidationRule2); // // txtReceiverName // this.txtReceiverName.Location = new System.Drawing.Point(67, 33); this.txtReceiverName.Name = "txtReceiverName"; this.txtReceiverName.Size = new System.Drawing.Size(242, 20); this.txtReceiverName.TabIndex = 2; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "不能为空"; this.dxValidationProvider1.SetValidationRule(this.txtReceiverName, conditionValidationRule3); // // txtReceiverMobile // this.txtReceiverMobile.Location = new System.Drawing.Point(67, 59); this.txtReceiverMobile.Name = "txtReceiverMobile"; this.txtReceiverMobile.Size = new System.Drawing.Size(242, 20); this.txtReceiverMobile.TabIndex = 31; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "不能为空"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.txtReceiverMobile, conditionValidationRule1); // // chk // this.chk.EditValue = true; this.chk.Location = new System.Drawing.Point(65, 135); this.chk.Name = "chk"; this.chk.Properties.Caption = "启用"; this.chk.Size = new System.Drawing.Size(51, 19); this.chk.TabIndex = 12; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(37, 10); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(24, 14); this.labelControl1.TabIndex = 8; this.labelControl1.Text = "编号"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(37, 36); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(24, 14); this.labelControl2.TabIndex = 9; this.labelControl2.Text = "姓名"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(37, 63); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(24, 14); this.labelControl3.TabIndex = 10; this.labelControl3.Text = "电话"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(37, 88); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(24, 14); this.labelControl5.TabIndex = 36; this.labelControl5.Text = "地址"; // // txtReceiverAddress // this.txtReceiverAddress.Location = new System.Drawing.Point(67, 85); this.txtReceiverAddress.Name = "txtReceiverAddress"; this.txtReceiverAddress.Size = new System.Drawing.Size(242, 20); this.txtReceiverAddress.TabIndex = 32; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(37, 115); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(24, 14); this.labelControl9.TabIndex = 40; this.labelControl9.Text = "备注"; // // txtRemark // this.txtRemark.Location = new System.Drawing.Point(67, 109); this.txtRemark.Name = "txtRemark"; this.txtRemark.Size = new System.Drawing.Size(242, 20); this.txtRemark.TabIndex = 41; // // NewView // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(330, 217); this.Name = "NewView"; this.ShowIcon = false; this.Text = "添加顾客"; this.Load += new System.EventHandler(this.NewView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); this.pnlFill.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverMobile.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chk.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); this.ResumeLayout(false); }
internal static void ShowErrorMsg(LabelControl labelControl1, string message) { labelControl1.Appearance.ForeColor = Color.Red; labelControl1.Text = message; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraCharts.XYDiagram xyDiagram1 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series1 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel1 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.PointOptions pointOptions1 = new DevExpress.XtraCharts.PointOptions(); DevExpress.XtraCharts.Series series2 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel2 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel3 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.XYDiagram xyDiagram2 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series3 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel4 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.Series series4 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel5 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel6 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.XYDiagram xyDiagram3 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series5 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel7 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.Series series6 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel8 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel9 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.XYDiagram xyDiagram4 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series7 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel10 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.Series series8 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel11 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel12 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.XYDiagram xyDiagram5 = new DevExpress.XtraCharts.XYDiagram(); DevExpress.XtraCharts.Series series9 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel13 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.Series series10 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel14 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel15 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); DevExpress.XtraCharts.SimpleDiagram3D simpleDiagram3D1 = new DevExpress.XtraCharts.SimpleDiagram3D(); DevExpress.XtraCharts.Series series11 = new DevExpress.XtraCharts.Series(); DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel1 = new DevExpress.XtraCharts.Pie3DSeriesLabel(); DevExpress.XtraCharts.PiePointOptions piePointOptions1 = new DevExpress.XtraCharts.PiePointOptions(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView1 = new DevExpress.XtraCharts.Pie3DSeriesView(); DevExpress.XtraCharts.Pie3DSeriesLabel pie3DSeriesLabel2 = new DevExpress.XtraCharts.Pie3DSeriesLabel(); DevExpress.XtraCharts.Pie3DSeriesView pie3DSeriesView2 = new DevExpress.XtraCharts.Pie3DSeriesView(); DevExpress.XtraCharts.SideBySideBarSeriesLabel sideBySideBarSeriesLabel16 = new DevExpress.XtraCharts.SideBySideBarSeriesLabel(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemDetailReport)); this.txtItemName = new DevExpress.XtraEditors.TextEdit(); this.label1 = new System.Windows.Forms.Label(); this.chartBar = new DevExpress.XtraCharts.ChartControl(); this.tabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.tbSummary = new DevExpress.XtraTab.XtraTabPage(); this.lblLastIssue = new System.Windows.Forms.Label(); this.txtSOH = new System.Windows.Forms.Label(); this.txtAMC = new System.Windows.Forms.Label(); this.txtMOS = new System.Windows.Forms.Label(); this.txtMin = new System.Windows.Forms.Label(); this.txtMax = new System.Windows.Forms.Label(); this.txtReorderAmount = new System.Windows.Forms.Label(); this.txtExpiredAmount = new System.Windows.Forms.Label(); this.txtNearExp = new System.Windows.Forms.Label(); this.lblLastRec = new System.Windows.Forms.Label(); this.label31 = new System.Windows.Forms.Label(); this.label32 = new System.Windows.Forms.Label(); this.lblstat = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label(); this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label6 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.tbBinCard = new DevExpress.XtraTab.XtraTabPage(); this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl(); this.printBinCard = new DevExpress.XtraPrinting.Control.PrintControl(); this.label24 = new System.Windows.Forms.Label(); this.lkBinCardWarehouse = new DevExpress.XtraEditors.LookUpEdit(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.tbClassicBinCard = new DevExpress.XtraTab.XtraTabPage(); this.lkWarehouses = new DevExpress.XtraEditors.LookUpEdit(); this.lkYear = new DevExpress.XtraEditors.LookUpEdit(); this.lkProgramFilter = new DevExpress.XtraEditors.LookUpEdit(); this.transactionGrid = new DevExpress.XtraGrid.GridControl(); this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components); this.tpDelete = new System.Windows.Forms.ToolStripMenuItem(); this.gridViewBinCard = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colGRNF = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDocType = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn15 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colManuf = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn16 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn17 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn18 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn19 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn20 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn21 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colUnitCost = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTotalCost = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn24 = new DevExpress.XtraGrid.Columns.GridColumn(); this.label28 = new System.Windows.Forms.Label(); this.tbSOHTrend = new DevExpress.XtraTab.XtraTabPage(); this.groupSohDetail = new System.Windows.Forms.GroupBox(); this.lkShowTable = new System.Windows.Forms.LinkLabel(); this.label29 = new System.Windows.Forms.Label(); this.tbAMCTrend = new DevExpress.XtraTab.XtraTabPage(); this.lkDetailAmc = new System.Windows.Forms.LinkLabel(); this.label34 = new System.Windows.Forms.Label(); this.chartAmc = new DevExpress.XtraCharts.ChartControl(); this.tbMOSTrend = new DevExpress.XtraTab.XtraTabPage(); this.lkDetailMos = new System.Windows.Forms.LinkLabel(); this.label35 = new System.Windows.Forms.Label(); this.chartMOS = new DevExpress.XtraCharts.ChartControl(); this.tbActivityTrend = new DevExpress.XtraTab.XtraTabPage(); this.label36 = new System.Windows.Forms.Label(); this.chartComp = new DevExpress.XtraCharts.ChartControl(); this.tbSSTrend = new DevExpress.XtraTab.XtraTabPage(); this.label20 = new System.Windows.Forms.Label(); this.lblTime = new System.Windows.Forms.Label(); this.lblCurStatus = new System.Windows.Forms.Label(); this.label19 = new System.Windows.Forms.Label(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.label10 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); this.label15 = new System.Windows.Forms.Label(); this.label16 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label(); this.lblThreeStockout = new System.Windows.Forms.Label(); this.lblSixStockOut = new System.Windows.Forms.Label(); this.lblTwelveStockOut = new System.Windows.Forms.Label(); this.lblThreeNearStock = new System.Windows.Forms.Label(); this.lblSixNearStock = new System.Windows.Forms.Label(); this.lblTwelveNear = new System.Windows.Forms.Label(); this.lblThreeBelowMin = new System.Windows.Forms.Label(); this.lblSixBelowMin = new System.Windows.Forms.Label(); this.lblTwelveBelowMin = new System.Windows.Forms.Label(); this.lblTwelveOverStock = new System.Windows.Forms.Label(); this.lblSixOverStock = new System.Windows.Forms.Label(); this.lblThreeOverStock = new System.Windows.Forms.Label(); this.tbTransactions = new DevExpress.XtraTab.XtraTabPage(); this.lblAvgIssues = new System.Windows.Forms.Label(); this.lblAvgReceives = new System.Windows.Forms.Label(); this.lblLastIssues = new System.Windows.Forms.Label(); this.lblLastReceive = new System.Windows.Forms.Label(); this.label23 = new System.Windows.Forms.Label(); this.label22 = new System.Windows.Forms.Label(); this.label21 = new System.Windows.Forms.Label(); this.label17 = new System.Windows.Forms.Label(); this.tbConsumptionTrend = new DevExpress.XtraTab.XtraTabPage(); this.lkDetailCons = new System.Windows.Forms.LinkLabel(); this.label33 = new System.Windows.Forms.Label(); this.consuTrend = new DevExpress.XtraCharts.ChartControl(); this.tbStockExpiryStatus = new DevExpress.XtraTab.XtraTabPage(); this.chartPie = new DevExpress.XtraCharts.ChartControl(); this.tbLogisticsSummary = new DevExpress.XtraTab.XtraTabPage(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.lookUpEdit1 = new DevExpress.XtraEditors.LookUpEdit(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.tbSOHLocation = new DevExpress.XtraTab.XtraTabPage(); this.gridLocations = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPalletNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPalletLocation = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tbSOHPriceSummary = new DevExpress.XtraTab.XtraTabPage(); this.gridSOHSummary = new DevExpress.XtraGrid.GridControl(); this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn14 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn(); this.lblItemID = new System.Windows.Forms.Label(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.dtDate = new CalendarLib.DateTimePickerEx(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.chartControl1 = new DevExpress.XtraCharts.ChartControl(); this.printDoc = new System.Drawing.Printing.PrintDocument(); this.printDialog1 = new System.Windows.Forms.PrintDialog(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.txtitmName = new System.Windows.Forms.Label(); this.label38 = new System.Windows.Forms.Label(); this.lblBUnit = new System.Windows.Forms.Label(); this.xpButton1 = new DevExpress.XtraEditors.SimpleButton(); this.btnExport = new DevExpress.XtraEditors.SimpleButton(); this.lblItemSerialNumber = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartBar)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tbSummary.SuspendLayout(); this.tbBinCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit(); this.layoutControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lkBinCardWarehouse.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); this.tbClassicBinCard.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lkWarehouses.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkYear.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkProgramFilter.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.transactionGrid)).BeginInit(); this.contextMenuStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridViewBinCard)).BeginInit(); this.tbSOHTrend.SuspendLayout(); this.tbAMCTrend.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).BeginInit(); this.tbMOSTrend.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).BeginInit(); this.tbActivityTrend.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartComp)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).BeginInit(); this.tbSSTrend.SuspendLayout(); this.tableLayoutPanel1.SuspendLayout(); this.tbTransactions.SuspendLayout(); this.tbConsumptionTrend.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).BeginInit(); this.tbStockExpiryStatus.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(series11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).BeginInit(); this.tbLogisticsSummary.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); this.tbSOHLocation.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridLocations)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.tbSOHPriceSummary.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridSOHSummary)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).BeginInit(); this.SuspendLayout(); // // txtItemName // this.txtItemName.Enabled = false; this.txtItemName.Location = new System.Drawing.Point(269, 21); this.txtItemName.Name = "txtItemName"; this.txtItemName.Properties.Appearance.ForeColor = System.Drawing.Color.Black; this.txtItemName.Properties.Appearance.Options.UseForeColor = true; this.txtItemName.Size = new System.Drawing.Size(522, 20); this.txtItemName.TabIndex = 0; // // label1 // this.label1.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label1.Location = new System.Drawing.Point(122, 25); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(117, 13); this.label1.TabIndex = 1; this.label1.Text = "Item Name"; this.label1.TextAlign = System.Drawing.ContentAlignment.TopRight; // // chartBar // this.chartBar.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.chartBar.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); xyDiagram1.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram1.AxisX.Range.SideMarginsEnabled = true; xyDiagram1.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram1.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram1.AxisY.Range.SideMarginsEnabled = true; xyDiagram1.AxisY.VisibleInPanesSerializable = "-1"; this.chartBar.Diagram = xyDiagram1; this.chartBar.Location = new System.Drawing.Point(6, 42); this.chartBar.Name = "chartBar"; sideBySideBarSeriesLabel1.LineVisible = true; pointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Number; pointOptions1.ValueNumericOptions.Precision = 3; sideBySideBarSeriesLabel1.PointOptions = pointOptions1; series1.Label = sideBySideBarSeriesLabel1; series1.Name = "Series 1"; sideBySideBarSeriesLabel2.LineVisible = true; series2.Label = sideBySideBarSeriesLabel2; series2.Name = "Series 2"; this.chartBar.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series1, series2}; sideBySideBarSeriesLabel3.LineVisible = true; this.chartBar.SeriesTemplate.Label = sideBySideBarSeriesLabel3; this.chartBar.Size = new System.Drawing.Size(960, 475); this.chartBar.TabIndex = 2; // // tabControl1 // this.tabControl1.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.tabControl1.Location = new System.Drawing.Point(1, 63); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedTabPage = this.tbSummary; this.tabControl1.Size = new System.Drawing.Size(1046, 549); this.tabControl1.TabIndex = 3; this.tabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tbSummary, this.tbBinCard, this.tbClassicBinCard, this.tbSOHTrend, this.tbAMCTrend, this.tbMOSTrend, this.tbActivityTrend, this.tbSSTrend, this.tbTransactions, this.tbConsumptionTrend, this.tbStockExpiryStatus, this.tbLogisticsSummary, this.tbSOHLocation, this.tbSOHPriceSummary}); this.tabControl1.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.tabControl1_SelectedPageChanged); // // tbSummary // this.tbSummary.Controls.Add(this.lblLastIssue); this.tbSummary.Controls.Add(this.txtSOH); this.tbSummary.Controls.Add(this.txtAMC); this.tbSummary.Controls.Add(this.txtMOS); this.tbSummary.Controls.Add(this.txtMin); this.tbSummary.Controls.Add(this.txtMax); this.tbSummary.Controls.Add(this.txtReorderAmount); this.tbSummary.Controls.Add(this.txtExpiredAmount); this.tbSummary.Controls.Add(this.txtNearExp); this.tbSummary.Controls.Add(this.lblLastRec); this.tbSummary.Controls.Add(this.label31); this.tbSummary.Controls.Add(this.label32); this.tbSummary.Controls.Add(this.lblstat); this.tbSummary.Controls.Add(this.label30); this.tbSummary.Controls.Add(this.label9); this.tbSummary.Controls.Add(this.label8); this.tbSummary.Controls.Add(this.label7); this.tbSummary.Controls.Add(this.label1); this.tbSummary.Controls.Add(this.label6); this.tbSummary.Controls.Add(this.txtItemName); this.tbSummary.Controls.Add(this.label5); this.tbSummary.Controls.Add(this.label4); this.tbSummary.Controls.Add(this.label3); this.tbSummary.Controls.Add(this.label2); this.tbSummary.Name = "tbSummary"; this.tbSummary.PageVisible = false; this.tbSummary.Size = new System.Drawing.Size(1040, 521); this.tbSummary.Text = "Summary"; // // lblLastIssue // this.lblLastIssue.AutoSize = true; this.lblLastIssue.Enabled = false; this.lblLastIssue.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLastIssue.ForeColor = System.Drawing.Color.Black; this.lblLastIssue.Location = new System.Drawing.Point(266, 355); this.lblLastIssue.Name = "lblLastIssue"; this.lblLastIssue.Size = new System.Drawing.Size(14, 13); this.lblLastIssue.TabIndex = 24; this.lblLastIssue.Text = "0"; // // txtSOH // this.txtSOH.AutoSize = true; this.txtSOH.Enabled = false; this.txtSOH.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtSOH.ForeColor = System.Drawing.Color.Black; this.txtSOH.Location = new System.Drawing.Point(266, 85); this.txtSOH.Name = "txtSOH"; this.txtSOH.Size = new System.Drawing.Size(14, 13); this.txtSOH.TabIndex = 25; this.txtSOH.Text = "0"; // // txtAMC // this.txtAMC.AutoSize = true; this.txtAMC.Enabled = false; this.txtAMC.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtAMC.ForeColor = System.Drawing.Color.Black; this.txtAMC.Location = new System.Drawing.Point(266, 115); this.txtAMC.Name = "txtAMC"; this.txtAMC.Size = new System.Drawing.Size(14, 13); this.txtAMC.TabIndex = 25; this.txtAMC.Text = "0"; // // txtMOS // this.txtMOS.AutoSize = true; this.txtMOS.Enabled = false; this.txtMOS.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMOS.ForeColor = System.Drawing.Color.Black; this.txtMOS.Location = new System.Drawing.Point(266, 145); this.txtMOS.Name = "txtMOS"; this.txtMOS.Size = new System.Drawing.Size(14, 13); this.txtMOS.TabIndex = 25; this.txtMOS.Text = "0"; // // txtMin // this.txtMin.AutoSize = true; this.txtMin.Enabled = false; this.txtMin.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMin.ForeColor = System.Drawing.Color.Black; this.txtMin.Location = new System.Drawing.Point(266, 175); this.txtMin.Name = "txtMin"; this.txtMin.Size = new System.Drawing.Size(14, 13); this.txtMin.TabIndex = 25; this.txtMin.Text = "0"; // // txtMax // this.txtMax.AutoSize = true; this.txtMax.Enabled = false; this.txtMax.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtMax.ForeColor = System.Drawing.Color.Black; this.txtMax.Location = new System.Drawing.Point(266, 205); this.txtMax.Name = "txtMax"; this.txtMax.Size = new System.Drawing.Size(14, 13); this.txtMax.TabIndex = 25; this.txtMax.Text = "0"; // // txtReorderAmount // this.txtReorderAmount.AutoSize = true; this.txtReorderAmount.Enabled = false; this.txtReorderAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtReorderAmount.ForeColor = System.Drawing.Color.Black; this.txtReorderAmount.Location = new System.Drawing.Point(266, 235); this.txtReorderAmount.Name = "txtReorderAmount"; this.txtReorderAmount.Size = new System.Drawing.Size(14, 13); this.txtReorderAmount.TabIndex = 25; this.txtReorderAmount.Text = "0"; // // txtExpiredAmount // this.txtExpiredAmount.AutoSize = true; this.txtExpiredAmount.Enabled = false; this.txtExpiredAmount.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtExpiredAmount.ForeColor = System.Drawing.Color.Black; this.txtExpiredAmount.Location = new System.Drawing.Point(266, 265); this.txtExpiredAmount.Name = "txtExpiredAmount"; this.txtExpiredAmount.Size = new System.Drawing.Size(14, 13); this.txtExpiredAmount.TabIndex = 25; this.txtExpiredAmount.Text = "0"; // // txtNearExp // this.txtNearExp.AutoSize = true; this.txtNearExp.Enabled = false; this.txtNearExp.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtNearExp.ForeColor = System.Drawing.Color.Black; this.txtNearExp.Location = new System.Drawing.Point(266, 295); this.txtNearExp.Name = "txtNearExp"; this.txtNearExp.Size = new System.Drawing.Size(14, 13); this.txtNearExp.TabIndex = 25; this.txtNearExp.Text = "0"; // // lblLastRec // this.lblLastRec.AutoSize = true; this.lblLastRec.Enabled = false; this.lblLastRec.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLastRec.ForeColor = System.Drawing.Color.Black; this.lblLastRec.Location = new System.Drawing.Point(266, 325); this.lblLastRec.Name = "lblLastRec"; this.lblLastRec.Size = new System.Drawing.Size(14, 13); this.lblLastRec.TabIndex = 25; this.lblLastRec.Text = "0"; // // label31 // this.label31.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label31.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label31.Location = new System.Drawing.Point(136, 355); this.label31.Name = "label31"; this.label31.Size = new System.Drawing.Size(103, 13); this.label31.TabIndex = 22; this.label31.Text = "Last Issued Date"; this.label31.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label32 // this.label32.AutoSize = true; this.label32.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label32.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label32.Location = new System.Drawing.Point(122, 325); this.label32.Name = "label32"; this.label32.Size = new System.Drawing.Size(117, 13); this.label32.TabIndex = 23; this.label32.Text = "Last Received Date"; this.label32.TextAlign = System.Drawing.ContentAlignment.TopRight; // // lblstat // this.lblstat.AutoSize = true; this.lblstat.Enabled = false; this.lblstat.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblstat.ForeColor = System.Drawing.Color.Black; this.lblstat.Location = new System.Drawing.Point(266, 55); this.lblstat.Name = "lblstat"; this.lblstat.Size = new System.Drawing.Size(14, 13); this.lblstat.TabIndex = 21; this.lblstat.Text = "0"; // // label30 // this.label30.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label30.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label30.Location = new System.Drawing.Point(109, 55); this.label30.Name = "label30"; this.label30.Size = new System.Drawing.Size(130, 13); this.label30.TabIndex = 20; this.label30.Text = "Current Status"; this.label30.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label9 // this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label9.Location = new System.Drawing.Point(136, 295); this.label9.Name = "label9"; this.label9.Size = new System.Drawing.Size(103, 13); this.label9.TabIndex = 17; this.label9.Text = "Near Expiry Amount"; this.label9.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label8 // this.label8.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label8.Location = new System.Drawing.Point(141, 265); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(98, 13); this.label8.TabIndex = 17; this.label8.Text = "Expired"; this.label8.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label7 // this.label7.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label7.Location = new System.Drawing.Point(79, 235); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(160, 13); this.label7.TabIndex = 17; this.label7.Text = "Reorder Amount"; this.label7.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label6 // this.label6.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label6.Location = new System.Drawing.Point(79, 145); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(160, 13); this.label6.TabIndex = 17; this.label6.Text = "Months Of Stock"; this.label6.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label5 // this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label5.Location = new System.Drawing.Point(112, 205); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(127, 13); this.label5.TabIndex = 17; this.label5.Text = "Maximum Value"; this.label5.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label4 // this.label4.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label4.Location = new System.Drawing.Point(91, 175); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(148, 13); this.label4.TabIndex = 16; this.label4.Text = "Minimum Value"; this.label4.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label3 // this.label3.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label3.Location = new System.Drawing.Point(0, 115); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(239, 13); this.label3.TabIndex = 19; this.label3.Text = "Average Monthly Consumption"; this.label3.TextAlign = System.Drawing.ContentAlignment.TopRight; // // label2 // this.label2.ForeColor = System.Drawing.SystemColors.ControlDarkDark; this.label2.Location = new System.Drawing.Point(114, 85); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(125, 13); this.label2.TabIndex = 18; this.label2.Text = "Stock On Hand"; this.label2.TextAlign = System.Drawing.ContentAlignment.TopRight; // // tbBinCard // this.tbBinCard.Controls.Add(this.layoutControl2); this.tbBinCard.Name = "tbBinCard"; this.tbBinCard.Size = new System.Drawing.Size(1040, 521); this.tbBinCard.Text = "Bin Card"; // // layoutControl2 // this.layoutControl2.Controls.Add(this.printBinCard); this.layoutControl2.Controls.Add(this.label24); this.layoutControl2.Controls.Add(this.lkBinCardWarehouse); this.layoutControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl2.Location = new System.Drawing.Point(0, 0); this.layoutControl2.Name = "layoutControl2"; this.layoutControl2.Root = this.layoutControlGroup2; this.layoutControl2.Size = new System.Drawing.Size(1040, 521); this.layoutControl2.TabIndex = 107; this.layoutControl2.Text = "layoutControl2"; // // printBinCard // this.printBinCard.BackColor = System.Drawing.Color.Empty; this.printBinCard.ForeColor = System.Drawing.Color.Empty; this.printBinCard.IsMetric = false; this.printBinCard.Location = new System.Drawing.Point(12, 60); this.printBinCard.Name = "printBinCard"; this.printBinCard.Size = new System.Drawing.Size(1016, 449); this.printBinCard.TabIndex = 104; this.printBinCard.TooltipFont = new System.Drawing.Font("Tahoma", 8.25F); // // label24 // this.label24.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label24.Location = new System.Drawing.Point(12, 12); this.label24.Name = "label24"; this.label24.Size = new System.Drawing.Size(224, 20); this.label24.TabIndex = 104; this.label24.Text = "Electronic Bin Card "; // // lkBinCardWarehouse // this.lkBinCardWarehouse.Location = new System.Drawing.Point(298, 36); this.lkBinCardWarehouse.Name = "lkBinCardWarehouse"; this.lkBinCardWarehouse.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkBinCardWarehouse.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkBinCardWarehouse.Properties.DisplayMember = "Name"; this.lkBinCardWarehouse.Properties.NullText = "Select Warehouse"; this.lkBinCardWarehouse.Properties.ValueMember = "ID"; this.lkBinCardWarehouse.Size = new System.Drawing.Size(129, 20); this.lkBinCardWarehouse.StyleController = this.layoutControl2; this.lkBinCardWarehouse.TabIndex = 106; this.lkBinCardWarehouse.EditValueChanged += new System.EventHandler(this.lkBinCardWarehouse_EditValueChanged); // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2"; this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem4, this.emptySpaceItem2, this.layoutControlItem3, this.emptySpaceItem3, this.emptySpaceItem5, this.layoutControlItem5}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(1040, 521); this.layoutControlGroup2.Text = "layoutControlGroup2"; this.layoutControlGroup2.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.label24; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 0); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(228, 24); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(228, 0); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(792, 24); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.Control = this.lkBinCardWarehouse; this.layoutControlItem3.CustomizationFormText = "Warehouse"; this.layoutControlItem3.Location = new System.Drawing.Point(228, 24); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(191, 24); this.layoutControlItem3.Text = "Warehouse"; this.layoutControlItem3.TextSize = new System.Drawing.Size(55, 13); // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 24); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(228, 24); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(419, 24); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(601, 24); this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem5 // this.layoutControlItem5.Control = this.printBinCard; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 48); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(1020, 453); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // tbClassicBinCard // this.tbClassicBinCard.Controls.Add(this.lkWarehouses); this.tbClassicBinCard.Controls.Add(this.lkYear); this.tbClassicBinCard.Controls.Add(this.lkProgramFilter); this.tbClassicBinCard.Controls.Add(this.btnExport); this.tbClassicBinCard.Controls.Add(this.transactionGrid); this.tbClassicBinCard.Controls.Add(this.label28); this.tbClassicBinCard.Controls.Add(this.xpButton1); this.tbClassicBinCard.Name = "tbClassicBinCard"; this.tbClassicBinCard.Size = new System.Drawing.Size(1040, 521); this.tbClassicBinCard.Text = "Classic Bin Card"; // // lkWarehouses // this.lkWarehouses.Location = new System.Drawing.Point(208, 41); this.lkWarehouses.Name = "lkWarehouses"; this.lkWarehouses.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkWarehouses.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkWarehouses.Properties.DisplayMember = "Name"; this.lkWarehouses.Properties.NullText = "Select Warehouse"; this.lkWarehouses.Properties.ValueMember = "ID"; this.lkWarehouses.Size = new System.Drawing.Size(209, 20); this.lkWarehouses.TabIndex = 105; this.lkWarehouses.EditValueChanged += new System.EventHandler(this.lkWarehouses_EditValueChanged); // // lkYear // this.lkYear.Location = new System.Drawing.Point(423, 42); this.lkYear.Name = "lkYear"; this.lkYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkYear.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Year", "Year")}); this.lkYear.Properties.DisplayMember = "Year"; this.lkYear.Properties.ValueMember = "Year"; this.lkYear.Size = new System.Drawing.Size(100, 20); this.lkYear.TabIndex = 104; this.lkYear.EditValueChanged += new System.EventHandler(this.lkYear_EditValueChanged); // // lkProgramFilter // this.lkProgramFilter.Location = new System.Drawing.Point(529, 42); this.lkProgramFilter.Name = "lkProgramFilter"; this.lkProgramFilter.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkProgramFilter.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CompanyName", "Name")}); this.lkProgramFilter.Properties.DisplayMember = "CompanyName"; this.lkProgramFilter.Properties.NullText = "Select Program"; this.lkProgramFilter.Properties.ValueMember = "ID"; this.lkProgramFilter.Size = new System.Drawing.Size(209, 20); this.lkProgramFilter.TabIndex = 13; this.lkProgramFilter.Visible = false; this.lkProgramFilter.EditValueChanged += new System.EventHandler(this.LkProgramFilterEditValueChanged); // // transactionGrid // this.transactionGrid.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.transactionGrid.ContextMenuStrip = this.contextMenuStrip1; this.transactionGrid.Location = new System.Drawing.Point(7, 68); this.transactionGrid.MainView = this.gridViewBinCard; this.transactionGrid.Name = "transactionGrid"; this.transactionGrid.Size = new System.Drawing.Size(1032, 449); this.transactionGrid.TabIndex = 12; this.transactionGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewBinCard}); // // contextMenuStrip1 // this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tpDelete}); this.contextMenuStrip1.Name = "contextMenuStrip1"; this.contextMenuStrip1.Size = new System.Drawing.Size(108, 26); // // tpDelete // this.tpDelete.Name = "tpDelete"; this.tpDelete.Size = new System.Drawing.Size(107, 22); this.tpDelete.Text = "Delete"; this.tpDelete.Click += new System.EventHandler(this.tpDelete_Click); // // gridViewBinCard // this.gridViewBinCard.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colGRNF, this.colDocType, this.gridColumn15, this.colManuf, this.gridColumn16, this.gridColumn17, this.gridColumn18, this.gridColumn19, this.gridColumn20, this.gridColumn21, this.colUnitCost, this.colTotalCost, this.gridColumn24}); this.gridViewBinCard.GridControl = this.transactionGrid; this.gridViewBinCard.Name = "gridViewBinCard"; this.gridViewBinCard.OptionsBehavior.Editable = false; this.gridViewBinCard.OptionsCustomization.AllowSort = false; this.gridViewBinCard.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridViewBinCard.OptionsView.ShowGroupPanel = false; // // colGRNF // this.colGRNF.Caption = "GRNF"; this.colGRNF.FieldName = "GRNF"; this.colGRNF.Name = "colGRNF"; this.colGRNF.Visible = true; this.colGRNF.VisibleIndex = 0; // // colDocType // this.colDocType.Caption = "Type"; this.colDocType.FieldName = "DocType"; this.colDocType.Name = "colDocType"; this.colDocType.Visible = true; this.colDocType.VisibleIndex = 1; // // gridColumn15 // this.gridColumn15.Caption = "Reference No"; this.gridColumn15.FieldName = "RefNo"; this.gridColumn15.Name = "gridColumn15"; this.gridColumn15.Visible = true; this.gridColumn15.VisibleIndex = 2; // // colManuf // this.colManuf.Caption = "Manufacturer"; this.colManuf.FieldName = "Manufacturer"; this.colManuf.Name = "colManuf"; this.colManuf.Visible = true; this.colManuf.VisibleIndex = 3; // // gridColumn16 // this.gridColumn16.Caption = "Date"; this.gridColumn16.DisplayFormat.FormatString = "dd/MM/yyyy"; this.gridColumn16.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn16.FieldName = "Date"; this.gridColumn16.Name = "gridColumn16"; this.gridColumn16.Visible = true; this.gridColumn16.VisibleIndex = 4; // // gridColumn17 // this.gridColumn17.Caption = "Batch No"; this.gridColumn17.FieldName = "BatchNo"; this.gridColumn17.Name = "gridColumn17"; this.gridColumn17.Visible = true; this.gridColumn17.VisibleIndex = 5; // // gridColumn18 // this.gridColumn18.Caption = "Expiry Date"; this.gridColumn18.DisplayFormat.FormatString = "MM/yyyy"; this.gridColumn18.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.gridColumn18.FieldName = "ExpDate"; this.gridColumn18.Name = "gridColumn18"; this.gridColumn18.Visible = true; this.gridColumn18.VisibleIndex = 6; // // gridColumn19 // this.gridColumn19.Caption = "Received"; this.gridColumn19.DisplayFormat.FormatString = "#,##0"; this.gridColumn19.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn19.FieldName = "Received"; this.gridColumn19.Name = "gridColumn19"; this.gridColumn19.Visible = true; this.gridColumn19.VisibleIndex = 7; // // gridColumn20 // this.gridColumn20.Caption = "Issued"; this.gridColumn20.DisplayFormat.FormatString = "#,##0"; this.gridColumn20.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn20.FieldName = "Issued"; this.gridColumn20.Name = "gridColumn20"; this.gridColumn20.Visible = true; this.gridColumn20.VisibleIndex = 8; // // gridColumn21 // this.gridColumn21.Caption = "Balance"; this.gridColumn21.DisplayFormat.FormatString = "#,##0"; this.gridColumn21.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.gridColumn21.FieldName = "Balance"; this.gridColumn21.Name = "gridColumn21"; this.gridColumn21.Visible = true; this.gridColumn21.VisibleIndex = 9; // // colUnitCost // this.colUnitCost.Caption = "Unit Cost"; this.colUnitCost.DisplayFormat.FormatString = "#,##0.#0"; this.colUnitCost.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colUnitCost.FieldName = "UnitPrice"; this.colUnitCost.Name = "colUnitCost"; this.colUnitCost.Visible = true; this.colUnitCost.VisibleIndex = 10; // // colTotalCost // this.colTotalCost.Caption = "Total Cost"; this.colTotalCost.DisplayFormat.FormatString = "#,##0.#0"; this.colTotalCost.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colTotalCost.FieldName = "TotalPrice"; this.colTotalCost.Name = "colTotalCost"; this.colTotalCost.Visible = true; this.colTotalCost.VisibleIndex = 11; // // gridColumn24 // this.gridColumn24.Caption = "To/From"; this.gridColumn24.FieldName = "ToFrom"; this.gridColumn24.Name = "gridColumn24"; this.gridColumn24.Visible = true; this.gridColumn24.VisibleIndex = 12; // // label28 // this.label28.AutoSize = true; this.label28.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label28.Location = new System.Drawing.Point(7, 15); this.label28.Name = "label28"; this.label28.Size = new System.Drawing.Size(200, 23); this.label28.TabIndex = 10; this.label28.Text = "Electronic Bin Card "; // // tbSOHTrend // this.tbSOHTrend.Controls.Add(this.groupSohDetail); this.tbSOHTrend.Controls.Add(this.lkShowTable); this.tbSOHTrend.Controls.Add(this.label29); this.tbSOHTrend.Controls.Add(this.chartBar); this.tbSOHTrend.Name = "tbSOHTrend"; this.tbSOHTrend.Padding = new System.Windows.Forms.Padding(3); this.tbSOHTrend.PageVisible = false; this.tbSOHTrend.Size = new System.Drawing.Size(1040, 521); this.tbSOHTrend.Text = "SOH Trend"; // // groupSohDetail // this.groupSohDetail.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.groupSohDetail.Location = new System.Drawing.Point(-1, 37); this.groupSohDetail.Name = "groupSohDetail"; this.groupSohDetail.Size = new System.Drawing.Size(968, 496); this.groupSohDetail.TabIndex = 13; this.groupSohDetail.TabStop = false; this.groupSohDetail.Text = "Show trend by month"; this.groupSohDetail.Visible = false; // // lkShowTable // this.lkShowTable.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lkShowTable.AutoSize = true; this.lkShowTable.Location = new System.Drawing.Point(1094, 12); this.lkShowTable.Name = "lkShowTable"; this.lkShowTable.Size = new System.Drawing.Size(72, 13); this.lkShowTable.TabIndex = 12; this.lkShowTable.TabStop = true; this.lkShowTable.Text = "Show Table"; this.lkShowTable.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LkShowTableLinkClicked); // // label29 // this.label29.AutoSize = true; this.label29.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label29.Location = new System.Drawing.Point(7, 15); this.label29.Name = "label29"; this.label29.Size = new System.Drawing.Size(229, 23); this.label29.TabIndex = 11; this.label29.Text = "Trend - Stock On Hand"; // // tbAMCTrend // this.tbAMCTrend.Controls.Add(this.lkDetailAmc); this.tbAMCTrend.Controls.Add(this.label34); this.tbAMCTrend.Controls.Add(this.chartAmc); this.tbAMCTrend.Name = "tbAMCTrend"; this.tbAMCTrend.Padding = new System.Windows.Forms.Padding(3); this.tbAMCTrend.PageVisible = false; this.tbAMCTrend.Size = new System.Drawing.Size(1040, 521); this.tbAMCTrend.Text = "AMC Trend"; // // lkDetailAmc // this.lkDetailAmc.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lkDetailAmc.AutoSize = true; this.lkDetailAmc.Location = new System.Drawing.Point(1101, 22); this.lkDetailAmc.Name = "lkDetailAmc"; this.lkDetailAmc.Size = new System.Drawing.Size(72, 13); this.lkDetailAmc.TabIndex = 14; this.lkDetailAmc.TabStop = true; this.lkDetailAmc.Text = "Show Table"; // // label34 // this.label34.AutoSize = true; this.label34.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label34.Location = new System.Drawing.Point(7, 15); this.label34.Name = "label34"; this.label34.Size = new System.Drawing.Size(453, 23); this.label34.TabIndex = 12; this.label34.Text = "Trend - Average Monthly Consumption (AMC) "; // // chartAmc // this.chartAmc.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.chartAmc.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); xyDiagram2.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram2.AxisX.Range.SideMarginsEnabled = true; xyDiagram2.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram2.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram2.AxisY.Range.SideMarginsEnabled = true; xyDiagram2.AxisY.VisibleInPanesSerializable = "-1"; this.chartAmc.Diagram = xyDiagram2; this.chartAmc.Location = new System.Drawing.Point(4, 58); this.chartAmc.Name = "chartAmc"; this.chartAmc.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); this.chartAmc.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); sideBySideBarSeriesLabel4.LineVisible = true; series3.Label = sideBySideBarSeriesLabel4; series3.Name = "Series 1"; sideBySideBarSeriesLabel5.LineVisible = true; series4.Label = sideBySideBarSeriesLabel5; series4.Name = "Series 2"; this.chartAmc.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series3, series4}; sideBySideBarSeriesLabel6.LineVisible = true; this.chartAmc.SeriesTemplate.Label = sideBySideBarSeriesLabel6; this.chartAmc.Size = new System.Drawing.Size(963, 452); this.chartAmc.TabIndex = 3; // // tbMOSTrend // this.tbMOSTrend.Controls.Add(this.lkDetailMos); this.tbMOSTrend.Controls.Add(this.label35); this.tbMOSTrend.Controls.Add(this.chartMOS); this.tbMOSTrend.Name = "tbMOSTrend"; this.tbMOSTrend.Padding = new System.Windows.Forms.Padding(3); this.tbMOSTrend.PageVisible = false; this.tbMOSTrend.Size = new System.Drawing.Size(1040, 521); this.tbMOSTrend.Text = "MOS Trend"; // // lkDetailMos // this.lkDetailMos.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lkDetailMos.AutoSize = true; this.lkDetailMos.Location = new System.Drawing.Point(1100, 24); this.lkDetailMos.Name = "lkDetailMos"; this.lkDetailMos.Size = new System.Drawing.Size(72, 13); this.lkDetailMos.TabIndex = 16; this.lkDetailMos.TabStop = true; this.lkDetailMos.Text = "Show Table"; // // label35 // this.label35.AutoSize = true; this.label35.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label35.Location = new System.Drawing.Point(7, 15); this.label35.Name = "label35"; this.label35.Size = new System.Drawing.Size(248, 23); this.label35.TabIndex = 12; this.label35.Text = "Trend - Months of Stock "; // // chartMOS // this.chartMOS.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.chartMOS.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); xyDiagram3.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram3.AxisX.Range.SideMarginsEnabled = true; xyDiagram3.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram3.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram3.AxisY.Range.SideMarginsEnabled = true; xyDiagram3.AxisY.VisibleInPanesSerializable = "-1"; this.chartMOS.Diagram = xyDiagram3; this.chartMOS.Location = new System.Drawing.Point(7, 48); this.chartMOS.Name = "chartMOS"; this.chartMOS.PaletteName = "Palette 2"; this.chartMOS.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(163)))), ((int)(((byte)(54))))), System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(163)))), ((int)(((byte)(54)))))), new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(73)))), ((int)(((byte)(51))))), System.Drawing.Color.FromArgb(((int)(((byte)(200)))), ((int)(((byte)(73)))), ((int)(((byte)(51))))))})); this.chartMOS.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(168)))), ((int)(((byte)(39))))), System.Drawing.Color.FromArgb(((int)(((byte)(17)))), ((int)(((byte)(168)))), ((int)(((byte)(39)))))), new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(44)))), ((int)(((byte)(35))))), System.Drawing.Color.FromArgb(((int)(((byte)(214)))), ((int)(((byte)(44)))), ((int)(((byte)(35))))))})); sideBySideBarSeriesLabel7.LineVisible = true; series5.Label = sideBySideBarSeriesLabel7; series5.Name = "Series 1"; sideBySideBarSeriesLabel8.LineVisible = true; series6.Label = sideBySideBarSeriesLabel8; series6.Name = "Series 2"; this.chartMOS.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series5, series6}; sideBySideBarSeriesLabel9.LineVisible = true; this.chartMOS.SeriesTemplate.Label = sideBySideBarSeriesLabel9; this.chartMOS.Size = new System.Drawing.Size(1160, 452); this.chartMOS.TabIndex = 4; // // tbActivityTrend // this.tbActivityTrend.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.tbActivityTrend.Appearance.PageClient.Options.UseBackColor = true; this.tbActivityTrend.Controls.Add(this.label36); this.tbActivityTrend.Controls.Add(this.chartComp); this.tbActivityTrend.Name = "tbActivityTrend"; this.tbActivityTrend.Padding = new System.Windows.Forms.Padding(3); this.tbActivityTrend.PageVisible = false; this.tbActivityTrend.Size = new System.Drawing.Size(1040, 521); this.tbActivityTrend.Text = "Activity Trend"; // // label36 // this.label36.AutoSize = true; this.label36.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label36.Location = new System.Drawing.Point(7, 15); this.label36.Name = "label36"; this.label36.Size = new System.Drawing.Size(164, 23); this.label36.TabIndex = 12; this.label36.Text = "Trend - Activity "; // // chartComp // this.chartComp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); xyDiagram4.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram4.AxisX.Range.SideMarginsEnabled = true; xyDiagram4.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram4.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram4.AxisY.Range.SideMarginsEnabled = true; xyDiagram4.AxisY.VisibleInPanesSerializable = "-1"; this.chartComp.Diagram = xyDiagram4; this.chartComp.Location = new System.Drawing.Point(7, 48); this.chartComp.Name = "chartComp"; this.chartComp.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); this.chartComp.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); sideBySideBarSeriesLabel10.LineVisible = true; series7.Label = sideBySideBarSeriesLabel10; series7.Name = "Series 1"; sideBySideBarSeriesLabel11.LineVisible = true; series8.Label = sideBySideBarSeriesLabel11; series8.Name = "Series 2"; this.chartComp.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series7, series8}; sideBySideBarSeriesLabel12.LineVisible = true; this.chartComp.SeriesTemplate.Label = sideBySideBarSeriesLabel12; this.chartComp.Size = new System.Drawing.Size(967, 476); this.chartComp.TabIndex = 3; // // tbSSTrend // this.tbSSTrend.Controls.Add(this.label20); this.tbSSTrend.Controls.Add(this.lblTime); this.tbSSTrend.Controls.Add(this.lblCurStatus); this.tbSSTrend.Controls.Add(this.label19); this.tbSSTrend.Controls.Add(this.tableLayoutPanel1); this.tbSSTrend.Name = "tbSSTrend"; this.tbSSTrend.PageVisible = false; this.tbSSTrend.Size = new System.Drawing.Size(1040, 521); this.tbSSTrend.Text = "Stock Status Trend"; // // label20 // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label20.Location = new System.Drawing.Point(35, 106); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(142, 16); this.label20.TabIndex = 1; this.label20.Text = "Trend (No. of times)"; // // lblTime // this.lblTime.AutoSize = true; this.lblTime.Location = new System.Drawing.Point(257, 68); this.lblTime.Name = "lblTime"; this.lblTime.Size = new System.Drawing.Size(0, 13); this.lblTime.TabIndex = 1; // // lblCurStatus // this.lblCurStatus.AutoSize = true; this.lblCurStatus.Location = new System.Drawing.Point(150, 68); this.lblCurStatus.Name = "lblCurStatus"; this.lblCurStatus.Size = new System.Drawing.Size(0, 13); this.lblCurStatus.TabIndex = 1; // // label19 // this.label19.AutoSize = true; this.label19.Location = new System.Drawing.Point(45, 68); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(104, 13); this.label19.TabIndex = 1; this.label19.Text = "Current Status : "; // // tableLayoutPanel1 // this.tableLayoutPanel1.CellBorderStyle = System.Windows.Forms.TableLayoutPanelCellBorderStyle.Single; this.tableLayoutPanel1.ColumnCount = 4; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 182F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 277F)); this.tableLayoutPanel1.Controls.Add(this.label10, 0, 0); this.tableLayoutPanel1.Controls.Add(this.label11, 1, 0); this.tableLayoutPanel1.Controls.Add(this.label12, 2, 0); this.tableLayoutPanel1.Controls.Add(this.label13, 3, 0); this.tableLayoutPanel1.Controls.Add(this.label14, 0, 1); this.tableLayoutPanel1.Controls.Add(this.label15, 0, 2); this.tableLayoutPanel1.Controls.Add(this.label16, 0, 3); this.tableLayoutPanel1.Controls.Add(this.label18, 0, 4); this.tableLayoutPanel1.Controls.Add(this.lblThreeStockout, 1, 1); this.tableLayoutPanel1.Controls.Add(this.lblSixStockOut, 2, 1); this.tableLayoutPanel1.Controls.Add(this.lblTwelveStockOut, 3, 1); this.tableLayoutPanel1.Controls.Add(this.lblThreeNearStock, 1, 2); this.tableLayoutPanel1.Controls.Add(this.lblSixNearStock, 2, 2); this.tableLayoutPanel1.Controls.Add(this.lblTwelveNear, 3, 2); this.tableLayoutPanel1.Controls.Add(this.lblThreeBelowMin, 1, 3); this.tableLayoutPanel1.Controls.Add(this.lblSixBelowMin, 2, 3); this.tableLayoutPanel1.Controls.Add(this.lblTwelveBelowMin, 3, 3); this.tableLayoutPanel1.Controls.Add(this.lblTwelveOverStock, 3, 4); this.tableLayoutPanel1.Controls.Add(this.lblSixOverStock, 2, 4); this.tableLayoutPanel1.Controls.Add(this.lblThreeOverStock, 1, 4); this.tableLayoutPanel1.Location = new System.Drawing.Point(38, 134); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 5; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(419, 109); this.tableLayoutPanel1.TabIndex = 0; // // label10 // this.label10.AutoSize = true; this.label10.Location = new System.Drawing.Point(4, 1); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(0, 13); this.label10.TabIndex = 0; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(187, 1); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(52, 13); this.label11.TabIndex = 1; this.label11.Text = "3 Month"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(263, 1); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(52, 13); this.label12.TabIndex = 1; this.label12.Text = "6 Month"; // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(349, 1); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(59, 13); this.label13.TabIndex = 1; this.label13.Text = "12 Month"; // // label14 // this.label14.AutoSize = true; this.label14.Location = new System.Drawing.Point(4, 22); this.label14.Name = "label14"; this.label14.Size = new System.Drawing.Size(63, 13); this.label14.TabIndex = 1; this.label14.Text = "Stock Out"; // // label15 // this.label15.AutoSize = true; this.label15.Location = new System.Drawing.Point(4, 43); this.label15.Name = "label15"; this.label15.Size = new System.Drawing.Size(94, 13); this.label15.TabIndex = 1; this.label15.Text = "Near Stock Out"; // // label16 // this.label16.AutoSize = true; this.label16.Location = new System.Drawing.Point(4, 64); this.label16.Name = "label16"; this.label16.Size = new System.Drawing.Size(64, 13); this.label16.TabIndex = 1; this.label16.Text = "Below Min"; // // label18 // this.label18.AutoSize = true; this.label18.Location = new System.Drawing.Point(4, 85); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(71, 13); this.label18.TabIndex = 1; this.label18.Text = "Over Stock"; // // lblThreeStockout // this.lblThreeStockout.AutoSize = true; this.lblThreeStockout.Location = new System.Drawing.Point(187, 22); this.lblThreeStockout.Name = "lblThreeStockout"; this.lblThreeStockout.Size = new System.Drawing.Size(14, 13); this.lblThreeStockout.TabIndex = 1; this.lblThreeStockout.Text = "0"; // // lblSixStockOut // this.lblSixStockOut.AutoSize = true; this.lblSixStockOut.Location = new System.Drawing.Point(263, 22); this.lblSixStockOut.Name = "lblSixStockOut"; this.lblSixStockOut.Size = new System.Drawing.Size(14, 13); this.lblSixStockOut.TabIndex = 1; this.lblSixStockOut.Text = "0"; // // lblTwelveStockOut // this.lblTwelveStockOut.AutoSize = true; this.lblTwelveStockOut.Location = new System.Drawing.Point(349, 22); this.lblTwelveStockOut.Name = "lblTwelveStockOut"; this.lblTwelveStockOut.Size = new System.Drawing.Size(14, 13); this.lblTwelveStockOut.TabIndex = 1; this.lblTwelveStockOut.Text = "0"; // // lblThreeNearStock // this.lblThreeNearStock.AutoSize = true; this.lblThreeNearStock.Location = new System.Drawing.Point(187, 43); this.lblThreeNearStock.Name = "lblThreeNearStock"; this.lblThreeNearStock.Size = new System.Drawing.Size(14, 13); this.lblThreeNearStock.TabIndex = 1; this.lblThreeNearStock.Text = "0"; // // lblSixNearStock // this.lblSixNearStock.AutoSize = true; this.lblSixNearStock.Location = new System.Drawing.Point(263, 43); this.lblSixNearStock.Name = "lblSixNearStock"; this.lblSixNearStock.Size = new System.Drawing.Size(14, 13); this.lblSixNearStock.TabIndex = 1; this.lblSixNearStock.Text = "0"; // // lblTwelveNear // this.lblTwelveNear.AutoSize = true; this.lblTwelveNear.Location = new System.Drawing.Point(349, 43); this.lblTwelveNear.Name = "lblTwelveNear"; this.lblTwelveNear.Size = new System.Drawing.Size(14, 13); this.lblTwelveNear.TabIndex = 1; this.lblTwelveNear.Text = "0"; // // lblThreeBelowMin // this.lblThreeBelowMin.AutoSize = true; this.lblThreeBelowMin.Location = new System.Drawing.Point(187, 64); this.lblThreeBelowMin.Name = "lblThreeBelowMin"; this.lblThreeBelowMin.Size = new System.Drawing.Size(14, 13); this.lblThreeBelowMin.TabIndex = 1; this.lblThreeBelowMin.Text = "0"; // // lblSixBelowMin // this.lblSixBelowMin.AutoSize = true; this.lblSixBelowMin.Location = new System.Drawing.Point(263, 64); this.lblSixBelowMin.Name = "lblSixBelowMin"; this.lblSixBelowMin.Size = new System.Drawing.Size(14, 13); this.lblSixBelowMin.TabIndex = 1; this.lblSixBelowMin.Text = "0"; // // lblTwelveBelowMin // this.lblTwelveBelowMin.AutoSize = true; this.lblTwelveBelowMin.Location = new System.Drawing.Point(349, 64); this.lblTwelveBelowMin.Name = "lblTwelveBelowMin"; this.lblTwelveBelowMin.Size = new System.Drawing.Size(14, 13); this.lblTwelveBelowMin.TabIndex = 1; this.lblTwelveBelowMin.Text = "0"; // // lblTwelveOverStock // this.lblTwelveOverStock.AutoSize = true; this.lblTwelveOverStock.Location = new System.Drawing.Point(349, 85); this.lblTwelveOverStock.Name = "lblTwelveOverStock"; this.lblTwelveOverStock.Size = new System.Drawing.Size(14, 13); this.lblTwelveOverStock.TabIndex = 1; this.lblTwelveOverStock.Text = "0"; // // lblSixOverStock // this.lblSixOverStock.AutoSize = true; this.lblSixOverStock.Location = new System.Drawing.Point(263, 85); this.lblSixOverStock.Name = "lblSixOverStock"; this.lblSixOverStock.Size = new System.Drawing.Size(14, 13); this.lblSixOverStock.TabIndex = 1; this.lblSixOverStock.Text = "0"; // // lblThreeOverStock // this.lblThreeOverStock.AutoSize = true; this.lblThreeOverStock.Location = new System.Drawing.Point(187, 85); this.lblThreeOverStock.Name = "lblThreeOverStock"; this.lblThreeOverStock.Size = new System.Drawing.Size(14, 13); this.lblThreeOverStock.TabIndex = 1; this.lblThreeOverStock.Text = "0"; // // tbTransactions // this.tbTransactions.Controls.Add(this.lblAvgIssues); this.tbTransactions.Controls.Add(this.lblAvgReceives); this.tbTransactions.Controls.Add(this.lblLastIssues); this.tbTransactions.Controls.Add(this.lblLastReceive); this.tbTransactions.Controls.Add(this.label23); this.tbTransactions.Controls.Add(this.label22); this.tbTransactions.Controls.Add(this.label21); this.tbTransactions.Controls.Add(this.label17); this.tbTransactions.Name = "tbTransactions"; this.tbTransactions.PageVisible = false; this.tbTransactions.Size = new System.Drawing.Size(1040, 521); this.tbTransactions.Text = "Transaction"; // // lblAvgIssues // this.lblAvgIssues.AutoSize = true; this.lblAvgIssues.Location = new System.Drawing.Point(357, 184); this.lblAvgIssues.Name = "lblAvgIssues"; this.lblAvgIssues.Size = new System.Drawing.Size(14, 13); this.lblAvgIssues.TabIndex = 1; this.lblAvgIssues.Text = "0"; this.lblAvgIssues.Visible = false; // // lblAvgReceives // this.lblAvgReceives.AutoSize = true; this.lblAvgReceives.Location = new System.Drawing.Point(357, 153); this.lblAvgReceives.Name = "lblAvgReceives"; this.lblAvgReceives.Size = new System.Drawing.Size(14, 13); this.lblAvgReceives.TabIndex = 1; this.lblAvgReceives.Text = "0"; this.lblAvgReceives.Visible = false; // // lblLastIssues // this.lblLastIssues.AutoSize = true; this.lblLastIssues.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLastIssues.Location = new System.Drawing.Point(353, 105); this.lblLastIssues.Name = "lblLastIssues"; this.lblLastIssues.Size = new System.Drawing.Size(22, 23); this.lblLastIssues.TabIndex = 1; this.lblLastIssues.Text = "0"; // // lblLastReceive // this.lblLastReceive.AutoSize = true; this.lblLastReceive.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblLastReceive.Location = new System.Drawing.Point(353, 67); this.lblLastReceive.Name = "lblLastReceive"; this.lblLastReceive.Size = new System.Drawing.Size(22, 23); this.lblLastReceive.TabIndex = 1; this.lblLastReceive.Text = "0"; // // label23 // this.label23.AutoSize = true; this.label23.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label23.Location = new System.Drawing.Point(141, 182); this.label23.Name = "label23"; this.label23.Size = new System.Drawing.Size(210, 16); this.label23.TabIndex = 0; this.label23.Text = "AVG. no. of days b/n Issues : "; this.label23.Visible = false; // // label22 // this.label22.AutoSize = true; this.label22.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label22.Location = new System.Drawing.Point(125, 151); this.label22.Name = "label22"; this.label22.Size = new System.Drawing.Size(226, 16); this.label22.TabIndex = 0; this.label22.Text = "AVG. no. of days b/n Receives : "; this.label22.Visible = false; // // label21 // this.label21.AutoSize = true; this.label21.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label21.Location = new System.Drawing.Point(141, 105); this.label21.Name = "label21"; this.label21.Size = new System.Drawing.Size(214, 23); this.label21.TabIndex = 0; this.label21.Text = "Last Issued Date : "; // // label17 // this.label17.AutoSize = true; this.label17.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label17.Location = new System.Drawing.Point(116, 67); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(239, 23); this.label17.TabIndex = 0; this.label17.Text = "Last Received Date : "; // // tbConsumptionTrend // this.tbConsumptionTrend.Controls.Add(this.lkDetailCons); this.tbConsumptionTrend.Controls.Add(this.label33); this.tbConsumptionTrend.Controls.Add(this.consuTrend); this.tbConsumptionTrend.Name = "tbConsumptionTrend"; this.tbConsumptionTrend.Padding = new System.Windows.Forms.Padding(3); this.tbConsumptionTrend.PageVisible = false; this.tbConsumptionTrend.Size = new System.Drawing.Size(1040, 521); this.tbConsumptionTrend.Text = "Consumption Trend"; // // lkDetailCons // this.lkDetailCons.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lkDetailCons.AutoSize = true; this.lkDetailCons.Location = new System.Drawing.Point(1100, 17); this.lkDetailCons.Name = "lkDetailCons"; this.lkDetailCons.Size = new System.Drawing.Size(72, 13); this.lkDetailCons.TabIndex = 16; this.lkDetailCons.TabStop = true; this.lkDetailCons.Text = "Show Table"; // // label33 // this.label33.AutoSize = true; this.label33.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label33.Location = new System.Drawing.Point(7, 15); this.label33.Name = "label33"; this.label33.Size = new System.Drawing.Size(212, 23); this.label33.TabIndex = 12; this.label33.Text = "Trend - Consumption"; // // consuTrend // this.consuTrend.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.consuTrend.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); xyDiagram5.AxisX.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram5.AxisX.Range.SideMarginsEnabled = true; xyDiagram5.AxisX.VisibleInPanesSerializable = "-1"; xyDiagram5.AxisY.Range.ScrollingRange.SideMarginsEnabled = true; xyDiagram5.AxisY.Range.SideMarginsEnabled = true; xyDiagram5.AxisY.VisibleInPanesSerializable = "-1"; this.consuTrend.Diagram = xyDiagram5; this.consuTrend.Location = new System.Drawing.Point(10, 41); this.consuTrend.Name = "consuTrend"; sideBySideBarSeriesLabel13.LineVisible = true; series9.Label = sideBySideBarSeriesLabel13; series9.Name = "Series 1"; sideBySideBarSeriesLabel14.LineVisible = true; series10.Label = sideBySideBarSeriesLabel14; series10.Name = "Series 2"; this.consuTrend.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series9, series10}; sideBySideBarSeriesLabel15.LineVisible = true; this.consuTrend.SeriesTemplate.Label = sideBySideBarSeriesLabel15; this.consuTrend.Size = new System.Drawing.Size(955, 476); this.consuTrend.TabIndex = 3; // // tbStockExpiryStatus // this.tbStockExpiryStatus.Appearance.PageClient.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.tbStockExpiryStatus.Appearance.PageClient.Options.UseBackColor = true; this.tbStockExpiryStatus.Controls.Add(this.chartPie); this.tbStockExpiryStatus.Name = "tbStockExpiryStatus"; this.tbStockExpiryStatus.Padding = new System.Windows.Forms.Padding(3); this.tbStockExpiryStatus.PageVisible = false; this.tbStockExpiryStatus.Size = new System.Drawing.Size(1040, 521); this.tbStockExpiryStatus.Text = "Stock Expiry Status"; // // chartPie // this.chartPie.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.chartPie.BorderOptions.Visible = false; simpleDiagram3D1.RotationMatrixSerializable = "1;0;0;0;0;0.5;-0.866025403784439;0;0;0.866025403784439;0.5;0;0;0;0;1"; this.chartPie.Diagram = simpleDiagram3D1; this.chartPie.Dock = System.Windows.Forms.DockStyle.Fill; this.chartPie.Location = new System.Drawing.Point(3, 3); this.chartPie.Name = "chartPie"; this.chartPie.PaletteName = "Palette 2"; this.chartPie.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(187)))), ((int)(((byte)(47))))), System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(187)))), ((int)(((byte)(47)))))), new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))), System.Drawing.Color.FromArgb(((int)(((byte)(236)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))))})); this.chartPie.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[] { new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(151)))), ((int)(((byte)(73))))), System.Drawing.Color.FromArgb(((int)(((byte)(40)))), ((int)(((byte)(151)))), ((int)(((byte)(73)))))), new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(23)))), ((int)(((byte)(23))))), System.Drawing.Color.FromArgb(((int)(((byte)(198)))), ((int)(((byte)(23)))), ((int)(((byte)(23)))))), new DevExpress.XtraCharts.PaletteEntry(System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(242)))), ((int)(((byte)(6))))), System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(242)))), ((int)(((byte)(6))))))})); pie3DSeriesLabel1.LineVisible = true; piePointOptions1.PointView = DevExpress.XtraCharts.PointView.SeriesName; piePointOptions1.ValueNumericOptions.Format = DevExpress.XtraCharts.NumericFormat.Percent; pie3DSeriesLabel1.PointOptions = piePointOptions1; series11.Label = pie3DSeriesLabel1; series11.Name = "Series 1"; series11.View = pie3DSeriesView1; this.chartPie.SeriesSerializable = new DevExpress.XtraCharts.Series[] { series11}; pie3DSeriesLabel2.LineVisible = true; this.chartPie.SeriesTemplate.Label = pie3DSeriesLabel2; this.chartPie.SeriesTemplate.View = pie3DSeriesView2; this.chartPie.Size = new System.Drawing.Size(1034, 515); this.chartPie.TabIndex = 21; // // tbLogisticsSummary // this.tbLogisticsSummary.Controls.Add(this.layoutControl1); this.tbLogisticsSummary.Name = "tbLogisticsSummary"; this.tbLogisticsSummary.Padding = new System.Windows.Forms.Padding(3); this.tbLogisticsSummary.PageVisible = false; this.tbLogisticsSummary.Size = new System.Drawing.Size(1040, 521); this.tbLogisticsSummary.Text = "Logistics Summary"; // // layoutControl1 // this.layoutControl1.Controls.Add(this.lookUpEdit1); this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(3, 3); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(1034, 515); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // lookUpEdit1 // this.lookUpEdit1.Location = new System.Drawing.Point(45, 12); this.lookUpEdit1.Name = "lookUpEdit1"; this.lookUpEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpEdit1.Size = new System.Drawing.Size(168, 20); this.lookUpEdit1.StyleController = this.layoutControl1; this.lookUpEdit1.TabIndex = 5; // // gridControl1 // this.gridControl1.Location = new System.Drawing.Point(12, 52); this.gridControl1.MainView = this.gridView3; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(1010, 451); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView3}); // // gridView3 // this.gridView3.GridControl = this.gridControl1; this.gridView3.Name = "gridView3"; this.gridView3.OptionsView.ShowGroupPanel = false; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.emptySpaceItem1}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(1034, 515); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gridControl1; this.layoutControlItem1.CustomizationFormText = "Text"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(1014, 471); this.layoutControlItem1.Text = "Text"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem1.TextSize = new System.Drawing.Size(30, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.lookUpEdit1; this.layoutControlItem2.CustomizationFormText = "Month"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(205, 24); this.layoutControlItem2.Text = "Month"; this.layoutControlItem2.TextSize = new System.Drawing.Size(30, 13); // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(205, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(809, 24); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // tbSOHLocation // this.tbSOHLocation.Controls.Add(this.gridLocations); this.tbSOHLocation.Name = "tbSOHLocation"; this.tbSOHLocation.Padding = new System.Windows.Forms.Padding(3); this.tbSOHLocation.Size = new System.Drawing.Size(1040, 521); this.tbSOHLocation.Text = "SOH Locations"; // // gridLocations // this.gridLocations.Dock = System.Windows.Forms.DockStyle.Fill; this.gridLocations.Location = new System.Drawing.Point(3, 3); this.gridLocations.MainView = this.gridView1; this.gridLocations.Name = "gridLocations"; this.gridLocations.Size = new System.Drawing.Size(1034, 515); this.gridLocations.TabIndex = 0; this.gridLocations.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1}); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn3, this.gridColumn5, this.gridColumn2, this.colPalletNumber, this.colPalletLocation, this.gridColumn4}); this.gridView1.GridControl = this.gridLocations; this.gridView1.GroupCount = 1; this.gridView1.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Balance", null, "")}); this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsBehavior.SummariesIgnoreNullValues = true; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowFooter = true; this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colPalletLocation, DevExpress.Data.ColumnSortOrder.Ascending)}); // // gridColumn1 // this.gridColumn1.Caption = "Receive Date"; this.gridColumn1.FieldName = "EurDate"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.OptionsColumn.AllowEdit = false; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 100; // // gridColumn3 // this.gridColumn3.Caption = "Batch No"; this.gridColumn3.FieldName = "BatchNo"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.OptionsColumn.AllowEdit = false; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 4; this.gridColumn3.Width = 113; // // gridColumn5 // this.gridColumn5.Caption = "Expiry Date"; this.gridColumn5.FieldName = "ExpiryDate"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.OptionsColumn.AllowEdit = false; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 1; this.gridColumn5.Width = 227; // // gridColumn2 // this.gridColumn2.Caption = "Balance"; this.gridColumn2.FieldName = "Balance"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.OptionsColumn.AllowEdit = false; this.gridColumn2.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)}); this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 2; this.gridColumn2.Width = 184; // // colPalletNumber // this.colPalletNumber.Caption = "PalletNumber"; this.colPalletNumber.FieldName = "PalletNo"; this.colPalletNumber.Name = "colPalletNumber"; this.colPalletNumber.Visible = true; this.colPalletNumber.VisibleIndex = 5; this.colPalletNumber.Width = 147; // // colPalletLocation // this.colPalletLocation.Caption = "Pallet Location"; this.colPalletLocation.FieldName = "PalletLocation"; this.colPalletLocation.Name = "colPalletLocation"; this.colPalletLocation.OptionsColumn.AllowEdit = false; this.colPalletLocation.Visible = true; this.colPalletLocation.VisibleIndex = 6; this.colPalletLocation.Width = 182; // // gridColumn4 // this.gridColumn4.Caption = "Manufacturer"; this.gridColumn4.FieldName = "ManufacturerName"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.OptionsColumn.AllowEdit = false; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 3; this.gridColumn4.Width = 199; // // tbSOHPriceSummary // this.tbSOHPriceSummary.Controls.Add(this.gridSOHSummary); this.tbSOHPriceSummary.Name = "tbSOHPriceSummary"; this.tbSOHPriceSummary.Size = new System.Drawing.Size(1040, 521); this.tbSOHPriceSummary.Text = "SOH Price Summary"; // // gridSOHSummary // this.gridSOHSummary.Dock = System.Windows.Forms.DockStyle.Fill; this.gridSOHSummary.Location = new System.Drawing.Point(0, 0); this.gridSOHSummary.MainView = this.gridView4; this.gridSOHSummary.Name = "gridSOHSummary"; this.gridSOHSummary.Size = new System.Drawing.Size(1040, 521); this.gridSOHSummary.TabIndex = 1; this.gridSOHSummary.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView4}); // // gridView4 // this.gridView4.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn14, this.gridColumn13, this.gridColumn6, this.gridColumn7, this.gridColumn8, this.gridColumn9, this.gridColumn10, this.gridColumn11, this.gridColumn12}); this.gridView4.GridControl = this.gridSOHSummary; this.gridView4.GroupSummary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridGroupSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Balance", null, "")}); this.gridView4.Name = "gridView4"; this.gridView4.OptionsBehavior.Editable = false; this.gridView4.OptionsBehavior.SummariesIgnoreNullValues = true; this.gridView4.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView4.OptionsView.ShowFooter = true; // // gridColumn14 // this.gridColumn14.Caption = "Unit Cost"; this.gridColumn14.FieldName = "Cost"; this.gridColumn14.Name = "gridColumn14"; this.gridColumn14.Visible = true; this.gridColumn14.VisibleIndex = 4; this.gridColumn14.Width = 97; // // gridColumn13 // this.gridColumn13.Caption = "Supplier"; this.gridColumn13.FieldName = "Supplier"; this.gridColumn13.Name = "gridColumn13"; this.gridColumn13.Visible = true; this.gridColumn13.VisibleIndex = 2; this.gridColumn13.Width = 166; // // gridColumn6 // this.gridColumn6.Caption = "Receive Date"; this.gridColumn6.FieldName = "EurDate"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.OptionsColumn.AllowEdit = false; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 0; this.gridColumn6.Width = 90; // // gridColumn7 // this.gridColumn7.Caption = "Batch No"; this.gridColumn7.FieldName = "BatchNo"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.OptionsColumn.AllowEdit = false; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 6; this.gridColumn7.Width = 128; // // gridColumn8 // this.gridColumn8.Caption = "Expiry Date"; this.gridColumn8.FieldName = "ExpiryDate"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.OptionsColumn.AllowEdit = false; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 1; this.gridColumn8.Width = 161; // // gridColumn9 // this.gridColumn9.Caption = "Balance"; this.gridColumn9.FieldName = "Balance"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.OptionsColumn.AllowEdit = false; this.gridColumn9.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum)}); this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 3; this.gridColumn9.Width = 102; // // gridColumn10 // this.gridColumn10.Caption = "PalletNumber"; this.gridColumn10.FieldName = "PalletNo"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 7; this.gridColumn10.Width = 106; // // gridColumn11 // this.gridColumn11.Caption = "Pallet Location"; this.gridColumn11.FieldName = "PalletLocation"; this.gridColumn11.Name = "gridColumn11"; this.gridColumn11.OptionsColumn.AllowEdit = false; this.gridColumn11.Visible = true; this.gridColumn11.VisibleIndex = 8; this.gridColumn11.Width = 157; // // gridColumn12 // this.gridColumn12.Caption = "Manufacturer"; this.gridColumn12.FieldName = "ManufacturerName"; this.gridColumn12.Name = "gridColumn12"; this.gridColumn12.OptionsColumn.AllowEdit = false; this.gridColumn12.Visible = true; this.gridColumn12.VisibleIndex = 5; this.gridColumn12.Width = 167; // // lblItemID // this.lblItemID.AutoSize = true; this.lblItemID.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.lblItemID.ForeColor = System.Drawing.SystemColors.AppWorkspace; this.lblItemID.Location = new System.Drawing.Point(12, 36); this.lblItemID.Name = "lblItemID"; this.lblItemID.Size = new System.Drawing.Size(0, 18); this.lblItemID.TabIndex = 26; // // xtraTabPage1 // this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(973, 520); this.xtraTabPage1.Text = "xtraTabPage1"; // // dtDate // this.dtDate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.dtDate.CalendarFont = new System.Drawing.Font("Nyala", 10.75F); this.dtDate.CalendarForeColor = System.Drawing.Color.Black; this.dtDate.CustomFormat = "MM/dd/ yy"; this.dtDate.DayOfWeekCharacters = 2; this.dtDate.ForeColor = System.Drawing.Color.Black; this.dtDate.Location = new System.Drawing.Point(748, 10); this.dtDate.Name = "dtDate"; this.dtDate.PopUpFontSize = 9.75F; this.dtDate.Size = new System.Drawing.Size(114, 20); this.dtDate.TabIndex = 17; this.dtDate.Value = new System.DateTime(2008, 10, 21, 0, 0, 0, 0); this.dtDate.Visible = false; // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.Location = new System.Drawing.Point(962, 34); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(75, 23); this.btnCancel.TabIndex = 20; this.btnCancel.Text = "Close"; this.btnCancel.Click += new System.EventHandler(this.BtnCancelClick); // // chartControl1 // this.chartControl1.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.chartControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(221)))), ((int)(((byte)(231)))), ((int)(((byte)(253))))); this.chartControl1.Location = new System.Drawing.Point(7, 25); this.chartControl1.Name = "chartControl1"; this.chartControl1.PaletteRepository.Add("Palette 1", new DevExpress.XtraCharts.Palette("Palette 1", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); this.chartControl1.PaletteRepository.Add("Palette 2", new DevExpress.XtraCharts.Palette("Palette 2", DevExpress.XtraCharts.PaletteScaleMode.Repeat, new DevExpress.XtraCharts.PaletteEntry[0])); this.chartControl1.SeriesSerializable = new DevExpress.XtraCharts.Series[0]; sideBySideBarSeriesLabel16.LineVisible = true; this.chartControl1.SeriesTemplate.Label = sideBySideBarSeriesLabel16; this.chartControl1.Size = new System.Drawing.Size(974, 411); this.chartControl1.TabIndex = 2; // // printDialog1 // this.printDialog1.UseEXDialog = true; // // toolTip1 // this.toolTip1.AutoPopDelay = 5000; this.toolTip1.InitialDelay = 500; this.toolTip1.ReshowDelay = 0; this.toolTip1.ShowAlways = true; this.toolTip1.ToolTipTitle = "Item Name"; // // txtitmName // this.txtitmName.AutoSize = true; this.txtitmName.Font = new System.Drawing.Font("Verdana", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtitmName.Location = new System.Drawing.Point(81, 12); this.txtitmName.Name = "txtitmName"; this.txtitmName.Size = new System.Drawing.Size(0, 18); this.txtitmName.TabIndex = 100; // // label38 // this.label38.AutoSize = true; this.label38.Location = new System.Drawing.Point(71, 40); this.label38.Name = "label38"; this.label38.Size = new System.Drawing.Size(92, 13); this.label38.TabIndex = 101; this.label38.Text = "Unit of Issue : "; // // lblBUnit // this.lblBUnit.AutoSize = true; this.lblBUnit.Location = new System.Drawing.Point(168, 40); this.lblBUnit.Name = "lblBUnit"; this.lblBUnit.Size = new System.Drawing.Size(0, 13); this.lblBUnit.TabIndex = 101; // // xpButton1 // this.xpButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.xpButton1.Image = ((System.Drawing.Image)(resources.GetObject("xpButton1.Image"))); this.xpButton1.Location = new System.Drawing.Point(893, 38); this.xpButton1.Name = "xpButton1"; this.xpButton1.Size = new System.Drawing.Size(75, 23); this.xpButton1.TabIndex = 15; this.xpButton1.Text = "Print"; this.xpButton1.Click += new System.EventHandler(this.BtnPrintClicked); // // btnExport // this.btnExport.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnExport.Location = new System.Drawing.Point(770, 38); this.btnExport.Name = "btnExport"; this.btnExport.Size = new System.Drawing.Size(106, 23); this.btnExport.TabIndex = 103; this.btnExport.Text = "Export Bin Card"; this.btnExport.Click += new System.EventHandler(this.BtnExportClick); // // lblItemSerialNumber // this.lblItemSerialNumber.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.lblItemSerialNumber.Location = new System.Drawing.Point(287, 5); this.lblItemSerialNumber.Name = "lblItemSerialNumber"; this.lblItemSerialNumber.Size = new System.Drawing.Size(132, 16); this.lblItemSerialNumber.TabIndex = 104; this.lblItemSerialNumber.Text = "Item Serial Number: "; // // ItemDetailReport // this.Appearance.Font = new System.Drawing.Font("Verdana", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Appearance.Options.UseFont = true; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(1049, 614); this.Controls.Add(this.lblItemSerialNumber); this.Controls.Add(this.lblItemID); this.Controls.Add(this.lblBUnit); this.Controls.Add(this.label38); this.Controls.Add(this.txtitmName); this.Controls.Add(this.btnCancel); this.Controls.Add(this.dtDate); this.Controls.Add(this.tabControl1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "ItemDetailReport"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Item Detail Reports"; this.Load += new System.EventHandler(this.BinCardTransactionLoad); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(xyDiagram1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartBar)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tbSummary.ResumeLayout(false); this.tbSummary.PerformLayout(); this.tbBinCard.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).EndInit(); this.layoutControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lkBinCardWarehouse.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); this.tbClassicBinCard.ResumeLayout(false); this.tbClassicBinCard.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lkWarehouses.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkYear.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkProgramFilter.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.transactionGrid)).EndInit(); this.contextMenuStrip1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridViewBinCard)).EndInit(); this.tbSOHTrend.ResumeLayout(false); this.tbSOHTrend.PerformLayout(); this.tbAMCTrend.ResumeLayout(false); this.tbAMCTrend.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(xyDiagram2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartAmc)).EndInit(); this.tbMOSTrend.ResumeLayout(false); this.tbMOSTrend.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(xyDiagram3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartMOS)).EndInit(); this.tbActivityTrend.ResumeLayout(false); this.tbActivityTrend.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(xyDiagram4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartComp)).EndInit(); this.tbSSTrend.ResumeLayout(false); this.tbSSTrend.PerformLayout(); this.tableLayoutPanel1.ResumeLayout(false); this.tableLayoutPanel1.PerformLayout(); this.tbTransactions.ResumeLayout(false); this.tbTransactions.PerformLayout(); this.tbConsumptionTrend.ResumeLayout(false); this.tbConsumptionTrend.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(xyDiagram5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.consuTrend)).EndInit(); this.tbStockExpiryStatus.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(simpleDiagram3D1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(series11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesLabel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(pie3DSeriesView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartPie)).EndInit(); this.tbLogisticsSummary.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.lookUpEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); this.tbSOHLocation.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridLocations)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.tbSOHPriceSummary.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridSOHSummary)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(sideBySideBarSeriesLabel16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chartControl1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }