public Test1 () { Button btn = new Button (); btn.Text = "Click Me"; btn.Click += new EventHandler (button_clicked); Controls.Add (btn); StatusBar sb1; sb1 = new StatusBar (); sb1.Width = 300; sb1.ShowPanels = true; Controls.Add (sb1); StatusBarPanel p = new StatusBarPanel (); p.AutoSize = StatusBarPanelAutoSize.Spring; p.Text = "Clicks: 0"; sb1.Panels.Add (p); clicks_panel = p; StatusBarPanel p2 = new StatusBarPanel (); p2.AutoSize = StatusBarPanelAutoSize.Contents; p2.Text = "i am an apeman"; sb1.Panels.Add (p2); StatusBarPanel p3 = new StatusBarPanel (); p3.Alignment = HorizontalAlignment.Right; p3.AutoSize = StatusBarPanelAutoSize.Spring; p3.Text = "test"; sb1.Panels.Add (p3); mouse_panel = p3; MouseMove += new MouseEventHandler (mouse_moved); }
public ApplicationWindow() { this.Icon = new Icon(this.GetType().Assembly.GetManifestResourceStream("Resourcer.Application.ico")); this.Font = new Font("Tahoma", 8.25f); this.Text = (this.GetType().Assembly.GetCustomAttributes(typeof(System.Reflection.AssemblyTitleAttribute), false)[0] as System.Reflection.AssemblyTitleAttribute).Title; this.Size = new Size(480, 600); this.MinimumSize = new Size (240, 300); this.resourceBrowser = new ResourceBrowser(); this.resourceBrowser.Dock = DockStyle.Fill; this.Controls.Add(this.resourceBrowser); this.verticalSplitter = new Splitter (); this.verticalSplitter.Dock = DockStyle.Bottom; this.verticalSplitter.BorderStyle = BorderStyle.None; this.Controls.Add(this.verticalSplitter); this.resourceViewer = new ResourcerViewer(); this.resourceViewer.Dock = DockStyle.Bottom; this.resourceViewer.Height = 100; this.Controls.Add(this.resourceViewer); this.statusBar = new StatusBar(); this.Controls.Add(this.statusBar); this.commandBarManager = new CommandBarManager(); this.menuBar = new CommandBar(this.commandBarManager, CommandBarStyle.Menu); this.commandBarManager.CommandBars.Add(this.menuBar); this.toolBar = new CommandBar(this.commandBarManager, CommandBarStyle.ToolBar); this.commandBarManager.CommandBars.Add(this.toolBar); this.Controls.Add(this.commandBarManager); }
private void Form1_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'project_MDataSet.tblLanguage' table. You can move, or remove it, as needed. this.tblLanguageTableAdapter.Fill(this.project_MDataSet.tblLanguage); Language File = new Language(); Language Exit = new Language(); Language Settings = new Language(); Language Users = new Language(); Language Options = new Language(); fileToolStripMenuItem.Text = File.getWord("File"); exitToolStripMenuItem.Text = Exit.getWord("Exit"); settingsToolStripMenuItem.Text = Settings.getWord("Settings"); usersToolStripMenuItem.Text = Users.getWord("Users"); optionsToolStripMenuItem.Text = Options.getWord("Options"); loginform.ControlBox = false; loginform.ShowDialog(); StatusBar mainStatusBar = new StatusBar(); StatusBarPanel timeStatusBar = new StatusBarPanel(); StatusBarPanel userloggedinStatusBar = new StatusBarPanel(); timeStatusBar.Text = System.DateTime.Today.ToShortDateString(); userloggedinStatusBar.Text = loginform.UserNameString; mainStatusBar.Panels.Add(userloggedinStatusBar); mainStatusBar.Panels.Add(timeStatusBar); mainStatusBar.ShowPanels = true; Controls.Add(mainStatusBar); }
/// ------------------------------------------------------------------------------------ /// <summary> /// constructor /// </summary> /// <param name="bar">Needed because the parent attr is null at this point</param> /// ------------------------------------------------------------------------------------ public StatusBarTextBox(StatusBar bar): base() { Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; m_backBrush = System.Drawing.Brushes.Transparent; bar.DrawItem += new StatusBarDrawItemEventHandler(HandleDrawItem); m_bar = bar; }
private void InitializeComponent() { this.testLabel = new System.Windows.Forms.Label(); testLabel.Text = "test"; this.statBar = new System.Windows.Forms.StatusBar(); this.msgPanel = new System.Windows.Forms.StatusBarPanel(); ((System.ComponentModel.ISupportInitialize)(this.msgPanel)).BeginInit(); this.SuspendLayout(); this.statBar.Location = new System.Drawing.Point(0, 400); this.statBar.Name = "statBar"; this.statBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.msgPanel }); this.statBar.ShowPanels = true; this.statBar.Size = new System.Drawing.Size(536, 22); this.statBar.TabIndex = 0; this.statBar.DrawItem += new System.Windows.Forms.StatusBarDrawItemEventHandler(this.statBar_DrawItem); this.Controls.Add(this.statBar); // // msgPanel // this.msgPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.msgPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.msgPanel.Width = 341; this.Controls.Add(this.statBar); ((System.ComponentModel.ISupportInitialize)(this.msgPanel)).EndInit(); this.ResumeLayout(false); }
public void StatusBarShowPanelsTest () { StatusBar sb = new StatusBar (); sb.ShowPanels = true; sb.Text = "Test"; Assert.AreEqual ("Test", sb.Text, "#01"); }
public Form1() { Status = new StatusBar(); Status.Parent = this; Status.Text = "Obrana pevnosti"; InitializeComponent(); ManazerHry = new Manazer(); SeznamPolozekObtiznosti = new ToolStripMenuItem[] { this.snadnáToolStripMenuItem, this.normálníToolStripMenuItem, this.těžkáToolStripMenuItem }; SeznamPolozekMoznosti = new ToolStripMenuItem[] { this.zpětToolStripMenuItem, this.vpředToolStripMenuItem, this.prohoďHráčeToolStripMenuItem, this.nejlepšíTahToolStripMenuItem, this.přehrátToolStripMenuItem }; Utocnik = Image.FromFile("savle_maly.png"); Obrance = Image.FromFile("stit_maly.png"); Manazer.AktualizaceUI = AktualizujGUI; Manazer.AkcePoKonciHry = OznameniKonceHry; Manazer.AktualizaceHistorie = AktualizujPanelHistorie; }
public static void Create (Form Parent) { StatusBar Instance = new StatusBar () ; Instance.Parent = Parent ; Parent.Controls.Add (Instance) ; Panel = new StatusBarPanel () ; Panel.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Panel.AutoSize = StatusBarPanelAutoSize.Spring ; Rect1 = new StatusBarPanel () ; Rect1.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Rect1.Width = 70 ; Rect1.Alignment = HorizontalAlignment.Center ; Rect2 = new StatusBarPanel () ; Rect2.BorderStyle = StatusBarPanelBorderStyle.Sunken ; Rect2.Width = 70 ; Rect2.Alignment = HorizontalAlignment.Center ; Instance.ShowPanels = true ; Instance.Panels.Add (Panel) ; Instance.Panels.Add (Rect1) ; Instance.Panels.Add (Rect2) ; ShowText (" Ready") ; }
private void InitializeComponents() { Panel p = new Panel(); p.Location = new Point(30, 120); p.Parent = this; // TextBox tb = new TextBox(); // tb.Parent = this; // tb.Dock = DockStyle.Fill; // tb.Location = new Point(400, 400); TreeView tv = new TreeView(); tv.Location = new Point(30, 120); TreeNode child1 = new TreeNode("Python"); TreeNode child2 = new TreeNode("Ruby"); TreeNode child3 = new TreeNode("Java"); TreeNode[] array = new TreeNode[] { child1, child2, child3 }; TreeNode root = new TreeNode("Languages", array); tv.Nodes.Add(root); tv.Dock = DockStyle.Fill; tv.AfterSelect += new TreeViewEventHandler(AfterSelect); tv.Parent = this; statusbar = new StatusBar(); statusbar.Parent = this; // ToolBar toolbar = new ToolBar(); // toolbar.Buttons.Add(new ToolBarButton()); // toolbar.ButtonClick += new ToolBarButtonClickEventHandler(OnClicked); // Controls.Add(toolbar); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainForm)); this.statusBar = new System.Windows.Forms.StatusBar(); this.splitter3 = new System.Windows.Forms.Splitter(); this.dockPanel1 = new WeifenLuo.WinFormsUI.DockPanel(); this.timerExternallyModifiedFiles = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 459); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(758, 21); this.statusBar.TabIndex = 6; // // splitter3 // this.splitter3.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter3.Location = new System.Drawing.Point(0, 456); this.splitter3.Name = "splitter3"; this.splitter3.Size = new System.Drawing.Size(758, 3); this.splitter3.TabIndex = 21; this.splitter3.TabStop = false; // // dockPanel1 // this.dockPanel1.ActiveAutoHideContent = null; this.dockPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.dockPanel1.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World); this.dockPanel1.Location = new System.Drawing.Point(0, 0); this.dockPanel1.Name = "dockPanel1"; this.dockPanel1.Size = new System.Drawing.Size(758, 456); this.dockPanel1.TabIndex = 23; // // timerExternallyModifiedFiles // this.timerExternallyModifiedFiles.Interval = 200; this.timerExternallyModifiedFiles.Tick += new System.EventHandler(this.timerExternallyModifiedFiles_Tick); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(758, 480); this.Controls.Add(this.dockPanel1); this.Controls.Add(this.splitter3); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.IsMdiContainer = true; this.Name = "MainForm"; this.Text = "CH3ETAH"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form_Closing); this.Load += new System.EventHandler(this.MainForm_Load); this.Activated += new System.EventHandler(this.MainForm_Activated); this.Deactivate += new System.EventHandler(this.MainForm_Deactivate); this.ResumeLayout(false); }
public void StatusBarTextTest () { string a = new string ('a', 127); string ab = a + "b"; StatusBar sb = new StatusBar(); sb.Text = ab; Assert.AreEqual (ab, sb.Text, "#01"); }
public CAForm() { // CONSTRUCTOR DoubleBuffered = true; Text = "CA 2011"; Size = new Size(WIDTH, HEIGHT); ToolTip tooltip = new ToolTip(); tooltip.SetToolTip(this, "Click or draw to add cells!"); Bitmap bm; try { bm = LoadBitmap("bgr.jpg"); } catch (Exception) { bm = CreateBitmap(SP_WIDTH, SP_HEIGHT); } caController = new Controller(bm, bm.Width, bm.Height); // ClientSize.Width, ClientSize.Height); ResizeRedraw = true; Graphics gf = CreateGraphics(); gf.DrawImageUnscaled(caController.Surface, 0, 0); //Bitmap shade = new Bitmap(ClientSize.Width, 50); //Graphics g = Graphics.FromImage(shade); //Brush b = new SolidBrush(Color.FromArgb(20, 200, 200, 200)); //gf.FillRectangle(b, new Rectangle(0, 0, ClientSize.Width, 50)); //g.DrawImageUnscaled(shade, 0, 0); //g.Dispose(); //Graphics gs = CreateGraphics(); //gf.DrawImageUnscaled(shade, 0, 0); tmr = new Timer(); tmr.Enabled = false; tmr.Interval = 50; tmr.Tick += new EventHandler(HandleTick); if (!caController.Calc.GradientTest) { //tmr.Start(); } Panel p = new Panel(); p.Width = ClientSize.Width - bm.Width; p.Dock = DockStyle.Right; p.Parent = this; Button startButton = new Button(); startButton.Text = "Start"; startButton.Location = new Point(p.Width - startButton.Width - 10, 20); startButton.Anchor = AnchorStyles.Right; startButton.Click += new EventHandler(OnStartClick); startButton.Parent = p; sb = new StatusBar(); sb.Parent = this; sb.Text = "Generations: 0"; caController.Calc.PropertyChanged += new PropertyChangedEventHandler(OnGenerationsChanged); //Controls.Add(); CenterToScreen(); }
public void ProviderPatternTest () { StatusBar statusBar = new StatusBar (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (statusBar); object gridProvider = provider.GetPatternProvider (GridPatternIdentifiers.Pattern.Id); Assert.IsNotNull (gridProvider, "Not returning GridPatternIdentifiers."); Assert.IsTrue (gridProvider is IGridProvider, "Not returning GridPatternIdentifiers."); }
/// <summary> /// Constructs a new instance of the <see cref="ProgressStatusBarPanel"/> class /// and initializes it with the default values. /// </summary> /// <param name="sb">The status bar that contains the progress bar</param> public ProgressStatusBarPanel(StatusBar sb) { //Allow custom drawing this.Style = StatusBarPanelStyle.OwnerDraw; //Set the color this.ForeColor = Color.RoyalBlue;//SystemColors.Highlight; this.minimum = 0; this.maximum = 100; this.value = 0; this.brush = new SolidBrush(foreColor);//System.Drawing.Drawing2D.LinearGradientBrush(new Rectangle(sbdevent.Bounds.X+1, sbdevent.Bounds.Y+1, barWidth, sbdevent.Bounds.Height-2),ForeColor,Color.Red,System.Drawing.Drawing2D.LinearGradientMode.Horizontal); //Add a listener for the Draw event sb.DrawItem += new StatusBarDrawItemEventHandler(sb_DrawItem); }
/// <summary> /// This method is required for Windows Forms designer support. /// Do not change the method contents inside the source code editor. The Forms designer might /// not be able to load this method if it was changed manually. /// </summary> private void InitializeComponent() { ResourceManager resources = new ResourceManager(typeof (MainForm)); statusBar = new StatusBar(); splitter3 = new Splitter(); dockPanel1 = new DockPanel(); SuspendLayout(); // // statusBar // statusBar.Location = new Point(0, 459); statusBar.Name = "statusBar"; statusBar.Size = new Size(758, 21); statusBar.TabIndex = 6; // // splitter3 // splitter3.Dock = DockStyle.Bottom; splitter3.Location = new Point(0, 456); splitter3.Name = "splitter3"; splitter3.Size = new Size(758, 3); splitter3.TabIndex = 21; splitter3.TabStop = false; // // dockPanel1 // dockPanel1.ActiveAutoHideContent = null; dockPanel1.Dock = DockStyle.Fill; dockPanel1.Font = new Font("Tahoma", 11F, FontStyle.Regular, GraphicsUnit.World); dockPanel1.Location = new Point(0, 0); dockPanel1.Name = "dockPanel1"; dockPanel1.Size = new Size(758, 456); dockPanel1.TabIndex = 23; // // MainForm // AutoScaleBaseSize = new Size(5, 13); ClientSize = new Size(758, 480); Controls.Add(dockPanel1); Controls.Add(splitter3); Controls.Add(statusBar); Icon = ((Icon) (resources.GetObject("$this.Icon"))); IsMdiContainer = true; Name = "MainForm"; Text = "CH3ETAH"; WindowState = FormWindowState.Maximized; Closing += new CancelEventHandler(Form_Closing); Load += new EventHandler(MainForm_Load); ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TableViewer)); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.dataGridView1 = new System.Windows.Forms.DataGridView(); ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit(); this.SuspendLayout(); // // imageList1 // this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Transparent; this.imageList1.Images.SetKeyName(0, ""); this.imageList1.Images.SetKeyName(1, ""); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 472); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(656, 22); this.statusBar1.TabIndex = 4; this.statusBar1.Text = "statusBar1"; // // dataGridView1 // this.dataGridView1.AllowUserToAddRows = false; this.dataGridView1.AllowUserToDeleteRows = false; this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dataGridView1.Dock = System.Windows.Forms.DockStyle.Fill; this.dataGridView1.Location = new System.Drawing.Point(0, 0); this.dataGridView1.Name = "dataGridView1"; this.dataGridView1.ReadOnly = true; this.dataGridView1.Size = new System.Drawing.Size(656, 472); this.dataGridView1.TabIndex = 5; // // TableViewer // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(656, 494); this.Controls.Add(this.dataGridView1); this.Controls.Add(this.statusBar1); this.Name = "TableViewer"; this.Text = "Table Viewer"; ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit(); this.ResumeLayout(false); }
public GStatusBar(StatusBar sb) { _statusBar = sb; _bell = GIcons.GetBellIcon(); _empty = null; BellPanel.Icon = _empty; //Windows.Forms.Timer��Start/Stop��ʂ̃X���b�h���炢����Ƃ��߂ɂȂ��Ă��܂��悤�� _belltimer = new Timer(); _belltimer.Interval = 500; //_belltimer.AutoReset = false; _belltimer.Tick += new EventHandler(CancelBellIcon); //_belltimer.Elapsed += new ElapsedEventHandler(CancelBellIcon); }
public void ProgressState_changesAndResetsCursor() { Assert.That(Application.UseWaitCursor == false, "Not using wait cursor"); Cursor.Current = Cursors.Default; using (var statusBar = new StatusBar()) { using (var panel = new StatusBarProgressPanel(statusBar)) { using (new ProgressState(panel)) { Assert.That(Application.UseWaitCursor, "Changed to using wait cursor"); } Assert.That(Application.UseWaitCursor == false, "Back to not using wait cursor"); } } }
public PrintWithStatusBar() { Text = "Print with Status Bar"; Menu = new MainMenu(); Menu.MenuItems.Add("&File"); Menu.MenuItems[0].MenuItems.Add("&Print", new EventHandler(MenuFilePrintOnClick)); sbar = new StatusBar(); sbar.Parent = this; sbar.ShowPanels = true; sbarpanel = new StatusBarPanel(); sbarpanel.Text = "Ready"; sbarpanel.Width = Width/2; sbar.Panels.Add(sbarpanel); }
public slovePathTool(StatusBar _pStatusBar) { // // TODO: �ڴ˴���ӹ��캯���� // pStatusBar=_pStatusBar; base.m_caption = "����·��"; base.m_category = "CustomCommands"; base.m_message = "pathFinder"; base.m_name = "CustomCommands_sloverPath"; base.m_toolTip = "����·��"; m_HookHelper=new HookHelperClass(); // set up the IPointToEID ... }
public MainForm() { Global.MainForm = this; InitializeComponent(); // ToolBars OthersToolBar = new OthersToolBar(); ViewToolBar = new ViewToolBar(); EditToolBar = new EditToolBar(); FileToolBar = new FileToolBar(); // MainMenu Mainmenu = new MainMenuContainer(); // StatusBar Statusbar = new StatusBar(this); // Search and Replace form searchreplace = new SearchReplace(); // Global.Settings = new SettingsManager(this); }
public MainForm() { AddMenu(); SplitContainer splitContainer = CreateSplitContainer(); _treeview = CreateTreeView(); _panel = CreatePanel(); _status = CreateStatusBar(); AddTreeViewToSplitContainer(splitContainer, _treeview); AddPanelToSplitContainer(splitContainer, _panel); Controls.Add(splitContainer); Controls.Add(_status); LoadPlugins(_treeview); Size = new Size(1024, 768); Text = @"Host Application"; _status.Panels[0].Width = _status.Width; InitializeComponent(); }
/// <summary> /// /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { if (m_isDisposed) return; if (disposing) { // This was disposing a system brush, so the next time it was used it was invalid. // It's invalid to Dispose of a system brush as it removes it from the main app // thread and all future refs will fail. // if (m_backBrush != null) // m_backBrush.Dispose(); if (m_bar != null) m_bar.DrawItem -= new StatusBarDrawItemEventHandler(HandleDrawItem); } m_backBrush = null; m_text = null; m_bar = null; base.Dispose(disposing); m_isDisposed = true; }
public void StatusBarPropertyTest () { Form myform = new Form (); myform.ShowInTaskbar = false; StatusBar mysbar = new StatusBar (); StatusBarPanel sbarpanel1 = new StatusBarPanel (); StatusBarPanel sbarpanel2 = new StatusBarPanel (); sbarpanel1.Text = "Status Quo"; sbarpanel2.Text = "State 2"; mysbar.Panels.Add (sbarpanel1); mysbar.Panels.Add (sbarpanel2); myform.Controls.Add (mysbar); // B Assert.AreEqual ("Control", mysbar.BackColor.Name, "#B1"); // D Assert.AreEqual (DockStyle.Bottom, mysbar.Dock, "#D1"); // F Assert.AreEqual ("ControlText", mysbar.ForeColor.Name, "#F2"); // P Assert.AreEqual (sbarpanel1.Text, mysbar.Panels [0].Text , "#P1"); // S Assert.AreEqual (false, mysbar.ShowPanels, "#S1"); Assert.AreEqual (true, mysbar.SizingGrip, "#S2"); Assert.AreEqual (null, mysbar.Site, "#S3"); // T Assert.AreEqual ("", mysbar.Text, "#T1"); mysbar.Text = "MONO STATUSBAR"; Assert.AreEqual ("MONO STATUSBAR", mysbar.Text, "#T2"); myform.Dispose (); }
public TotalViewPck() { scroll = new VScrollBar(); statusBar = new StatusBar(); statusOverTile = new StatusBarPanel(); statusOverTile.AutoSize = StatusBarPanelAutoSize.Spring; statusBar.Panels.Add(statusOverTile); statusBar.ShowPanels = true; statusBar.Dock = DockStyle.Bottom; statusBPP = new StatusBarPanel(); statusBPP.AutoSize = StatusBarPanelAutoSize.Contents; statusBPP.Width = 50; statusBPP.Alignment = HorizontalAlignment.Right; statusBar.Panels.Add(statusBPP); scroll.Dock = System.Windows.Forms.DockStyle.Right; scroll.Maximum = 5000; scroll.Scroll += new System.Windows.Forms.ScrollEventHandler(this.scroll_Scroll); view = new ViewPck(); view.Location = new Point(0, 0); view.ViewClicked += new PckViewMouseClicked(viewClicked); view.ViewMoved += new PckViewMouseMoved(viewMoved); view.Dock = DockStyle.Fill; view.ViewClicked += new PckViewMouseClicked(viewClik); scroll.Minimum = 0; this.Controls.AddRange(new System.Windows.Forms.Control[] { statusBar, scroll,view}); view.SizeChanged += new EventHandler(viewSizeChange); OnResize(null); }
/// <summary> /// /// </summary> /// <param name="disposing"></param> protected override void Dispose(bool disposing) { System.Diagnostics.Debug.WriteLineIf(!disposing, "****** Missing Dispose() call for " + GetType().Name + ". ****** "); if (m_isDisposed) return; if (disposing) { // This was disposing a system brush, so the next time it was used it was invalid. // It's invalid to Dispose of a system brush as it removes it from the main app // thread and all future refs will fail. // if (m_backBrush != null) // m_backBrush.Dispose(); if (m_bar != null) m_bar.DrawItem -= new StatusBarDrawItemEventHandler(HandleDrawItem); } m_backBrush = null; m_text = null; m_bar = null; base.Dispose(disposing); m_isDisposed = true; }
public void BasicPropertiesTest () { StatusBar statusBar = new StatusBar (); IRawElementProviderSimple provider = ProviderFactory.GetProvider (statusBar); TestProperty (provider, AutomationElementIdentifiers.ControlTypeProperty, ControlType.StatusBar.Id); TestProperty (provider, AutomationElementIdentifiers.LocalizedControlTypeProperty, "status bar"); TestProperty (provider, AutomationElementIdentifiers.LabeledByProperty, null); string value = "StatusBar Name Property"; statusBar.Text = value; TestProperty (provider, AutomationElementIdentifiers.NameProperty, value); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbypsx = new System.Windows.Forms.ComboBox(); this.label4 = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.label1 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbypsx); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 92); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbypsx // this.cmbypsx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbypsx.Items.AddRange(new object[] { "贵重药品", "麻醉药品", "毒剧药品", "皮试药品", "精神药品", "外用药品", "处方药品", "妊娠药品", "基本药物", "抗生素", "全部" }); this.cmbypsx.Location = new System.Drawing.Point(311, 19); this.cmbypsx.Name = "cmbypsx"; this.cmbypsx.Size = new System.Drawing.Size(153, 20); this.cmbypsx.TabIndex = 36; this.cmbypsx.SelectedIndexChanged += new System.EventHandler(this.cmbypsx_SelectedIndexChanged); // // label4 // this.label4.Location = new System.Drawing.Point(246, 24); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(66, 16); this.label4.TabIndex = 35; this.label4.Text = "药品属性"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(76, 20); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(153, 20); this.cmbyjks.TabIndex = 9; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label3 // this.label3.Location = new System.Drawing.Point(11, 25); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(66, 16); this.label3.TabIndex = 8; this.label3.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyplx.Location = new System.Drawing.Point(390, 58); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(119, 20); this.cmbyplx.TabIndex = 19; // // butquit // this.butquit.Location = new System.Drawing.Point(759, 53); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(65, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(622, 53); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(63, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(558, 53); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(202, 58); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(186, 64); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(74, 58); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Checked = true; this.rdo1.Location = new System.Drawing.Point(10, 57); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 24); this.rdo1.TabIndex = 12; this.rdo1.TabStop = true; this.rdo1.Text = "按日期从"; // // label1 // this.label1.Location = new System.Drawing.Point(320, 64); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(84, 16); this.label1.TabIndex = 20; this.label1.Text = "药品类型"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 92); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 410); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 390); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn17, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 75; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 90; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 90; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "零售价"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "单位"; this.dataGridTextBoxColumn17.Width = 40; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "入库数"; this.dataGridTextBoxColumn1.Width = 65; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "出库数"; this.dataGridTextBoxColumn2.Width = 65; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "库存数"; this.dataGridTextBoxColumn3.Width = 65; // // butexcel // this.butexcel.Location = new System.Drawing.Point(686, 53); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmgzyptj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmgzyptj"; this.Text = "贵重药品统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// �f�U�C�i �T�|�[�g�ɕK�v�ȃ��\�b�h�ł��B���̃��\�b�h�̓�e�� /// �R�[�h �G�f�B�^�ŕύX���Ȃ��ł��������B /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.listViewProcess = new Utility.CustomControl.CustomListView(); this.columnHeaderNo = new System.Windows.Forms.ColumnHeader(); this.columnHeaderID = new System.Windows.Forms.ColumnHeader(); this.columnHeaderStartTime = new System.Windows.Forms.ColumnHeader(); this.columnHeaderName = new System.Windows.Forms.ColumnHeader(); this.columnHeaderCommandLine = new System.Windows.Forms.ColumnHeader(); this.timerRefresh = new System.Windows.Forms.Timer(this.components); this.textBoxProcessName = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.buttonRefresh = new System.Windows.Forms.Button(); this.textBoxPrcessID = new System.Windows.Forms.TextBox(); this.buttonKillProcess = new System.Windows.Forms.Button(); this.toolTipListView = new System.Windows.Forms.ToolTip(this.components); this.buttonExit = new System.Windows.Forms.Button(); this.textBoxCommandLine = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.buttonOperation = new System.Windows.Forms.Button(); this.statusBarProcessList = new System.Windows.Forms.StatusBar(); this.SuspendLayout(); // // listViewProcess // this.listViewProcess.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.listViewProcess.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeaderNo, this.columnHeaderID, this.columnHeaderStartTime, this.columnHeaderName, this.columnHeaderCommandLine}); this.listViewProcess.FullRowSelect = true; this.listViewProcess.GridLines = true; this.listViewProcess.ImeMode = System.Windows.Forms.ImeMode.Disable; this.listViewProcess.LabelEdit = true; this.listViewProcess.Location = new System.Drawing.Point(8, 120); this.listViewProcess.Name = "listViewProcess"; this.listViewProcess.Size = new System.Drawing.Size(476, 200); this.listViewProcess.TabIndex = 0; this.listViewProcess.View = System.Windows.Forms.View.Details; this.listViewProcess.KeyDown += new System.Windows.Forms.KeyEventHandler(this.listViewProcess_KeyDown); this.listViewProcess.DoubleClick += new System.EventHandler(this.listViewProcess_DoubleClick); this.listViewProcess.SelectedIndexChanged += new System.EventHandler(this.listViewProcess_SelectedIndexChanged); this.listViewProcess.MouseMove += new System.Windows.Forms.MouseEventHandler(this.listViewProcess_MouseMove); // // columnHeaderNo // this.columnHeaderNo.Text = "No"; this.columnHeaderNo.Width = 35; // // columnHeaderID // this.columnHeaderID.Text = "ID"; this.columnHeaderID.Width = 50; // // columnHeaderStartTime // this.columnHeaderStartTime.Text = "StartTime"; this.columnHeaderStartTime.Width = 75; // // columnHeaderName // this.columnHeaderName.Text = "Name"; this.columnHeaderName.Width = 100; // // columnHeaderCommandLine // this.columnHeaderCommandLine.Text = "CommandLine"; this.columnHeaderCommandLine.Width = 155; // // timerRefresh // this.timerRefresh.Interval = 1000; this.timerRefresh.Tick += new System.EventHandler(this.timerRefresh_Tick); // // textBoxProcessName // this.textBoxProcessName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBoxProcessName.Location = new System.Drawing.Point(104, 8); this.textBoxProcessName.Name = "textBoxProcessName"; this.textBoxProcessName.Size = new System.Drawing.Size(292, 19); this.textBoxProcessName.TabIndex = 1; this.textBoxProcessName.Text = ""; this.textBoxProcessName.TextChanged += new System.EventHandler(this.textBoxProcess_TextChanged); // // label1 // this.label1.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.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(8, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(79, 15); this.label1.TabIndex = 2; this.label1.Text = "Process Name"; // // buttonRefresh // this.buttonRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonRefresh.Location = new System.Drawing.Point(408, 88); this.buttonRefresh.Name = "buttonRefresh"; this.buttonRefresh.Size = new System.Drawing.Size(72, 24); this.buttonRefresh.TabIndex = 3; this.buttonRefresh.Text = "Refresh"; this.buttonRefresh.Click += new System.EventHandler(this.buttonRefresh_Click); // // textBoxPrcessID // this.textBoxPrcessID.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBoxPrcessID.ImeMode = System.Windows.Forms.ImeMode.Disable; this.textBoxPrcessID.Location = new System.Drawing.Point(104, 56); this.textBoxPrcessID.Name = "textBoxPrcessID"; this.textBoxPrcessID.ReadOnly = true; this.textBoxPrcessID.Size = new System.Drawing.Size(292, 19); this.textBoxPrcessID.TabIndex = 4; this.textBoxPrcessID.Text = ""; // // buttonKillProcess // this.buttonKillProcess.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonKillProcess.Location = new System.Drawing.Point(408, 56); this.buttonKillProcess.Name = "buttonKillProcess"; this.buttonKillProcess.Size = new System.Drawing.Size(72, 24); this.buttonKillProcess.TabIndex = 5; this.buttonKillProcess.Text = "Kill"; this.buttonKillProcess.Click += new System.EventHandler(this.buttonKillProcess_Click); // // buttonExit // this.buttonExit.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonExit.Location = new System.Drawing.Point(408, 328); this.buttonExit.Name = "buttonExit"; this.buttonExit.Size = new System.Drawing.Size(80, 24); this.buttonExit.TabIndex = 6; this.buttonExit.Text = "Exit"; this.buttonExit.Click += new System.EventHandler(this.buttonExit_Click); // // textBoxCommandLine // this.textBoxCommandLine.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBoxCommandLine.ImeMode = System.Windows.Forms.ImeMode.NoControl; this.textBoxCommandLine.Location = new System.Drawing.Point(104, 32); this.textBoxCommandLine.Name = "textBoxCommandLine"; this.textBoxCommandLine.Size = new System.Drawing.Size(292, 19); this.textBoxCommandLine.TabIndex = 7; this.textBoxCommandLine.Text = ""; this.textBoxCommandLine.TextChanged += new System.EventHandler(this.textBoxProcess_TextChanged); // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(8, 32); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(81, 15); this.label2.TabIndex = 8; this.label2.Text = "Command Line"; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(8, 56); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(61, 15); this.label3.TabIndex = 9; this.label3.Text = "Process ID"; // // buttonOperation // this.buttonOperation.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonOperation.FlatStyle = System.Windows.Forms.FlatStyle.Popup; this.buttonOperation.Location = new System.Drawing.Point(408, 16); this.buttonOperation.Name = "buttonOperation"; this.buttonOperation.Size = new System.Drawing.Size(72, 24); this.buttonOperation.TabIndex = 10; this.buttonOperation.Click += new System.EventHandler(this.buttonOperation_Click); // // statusBarProcessList // this.statusBarProcessList.Location = new System.Drawing.Point(0, 358); this.statusBarProcessList.Name = "statusBarProcessList"; this.statusBarProcessList.Size = new System.Drawing.Size(492, 16); this.statusBarProcessList.TabIndex = 11; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 12); this.ClientSize = new System.Drawing.Size(492, 374); this.Controls.Add(this.statusBarProcessList); this.Controls.Add(this.buttonOperation); this.Controls.Add(this.label3); this.Controls.Add(this.label2); this.Controls.Add(this.textBoxCommandLine); this.Controls.Add(this.buttonExit); this.Controls.Add(this.buttonKillProcess); this.Controls.Add(this.textBoxPrcessID); this.Controls.Add(this.label1); this.Controls.Add(this.textBoxProcessName); this.Controls.Add(this.buttonRefresh); this.Controls.Add(this.listViewProcess); this.MinimumSize = new System.Drawing.Size(500, 300); this.Name = "MainForm"; this.Text = "ProcessList"; this.Load += new System.EventHandler(this.MainForm_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm)); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.connectMenuItem = new System.Windows.Forms.MenuItem(); this.disconnectMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.exitMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.addSharedMenuItem = new System.Windows.Forms.MenuItem(); this.removeSharedMenuItem = new System.Windows.Forms.MenuItem(); this.automaticMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.ChangePortNumberMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.TraceMenuItem = new System.Windows.Forms.MenuItem(); this.ShowTraceMenuItem = new System.Windows.Forms.MenuItem(); this.ShowTrackerItem = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.helpMenuItem = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.debugMenuItem = new System.Windows.Forms.MenuItem(); this.statusBar = new System.Windows.Forms.StatusBar(); this.panel1 = new System.Windows.Forms.Panel(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.outboundListView = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this.columnHeader4 = new System.Windows.Forms.ColumnHeader(); this.outboundContextMenu = new System.Windows.Forms.ContextMenu(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.imageList = new System.Windows.Forms.ImageList(this.components); this.label1 = new System.Windows.Forms.Label(); this.splitter1 = new System.Windows.Forms.Splitter(); this.panel2 = new System.Windows.Forms.Panel(); this.pictureBox2 = new System.Windows.Forms.PictureBox(); this.inboundListView = new System.Windows.Forms.ListView(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader5 = new System.Windows.Forms.ColumnHeader(); this.columnHeader6 = new System.Windows.Forms.ColumnHeader(); this.label2 = new System.Windows.Forms.Label(); this.panel3 = new System.Windows.Forms.Panel(); this.closedPictureBox = new System.Windows.Forms.PictureBox(); this.openPictureBox = new System.Windows.Forms.PictureBox(); this.SharingOnLabel = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.iconPictureBox = new System.Windows.Forms.PictureBox(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.closedPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.openPictureBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem7, this.menuItem2 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.connectMenuItem, this.disconnectMenuItem, this.menuItem3, this.exitMenuItem }); this.menuItem1.Text = "&File"; // // connectMenuItem // this.connectMenuItem.Index = 0; this.connectMenuItem.Text = "Connect to Peer Relay..."; this.connectMenuItem.Click += new System.EventHandler(this.connectMenuItem_Click); // // disconnectMenuItem // this.disconnectMenuItem.Enabled = false; this.disconnectMenuItem.Index = 1; this.disconnectMenuItem.Text = "Disconnect from Peer Relay"; this.disconnectMenuItem.Click += new System.EventHandler(this.disconnectMenuItem_Click); // // menuItem3 // this.menuItem3.Index = 2; this.menuItem3.Text = "-"; // // exitMenuItem // this.exitMenuItem.Index = 3; this.exitMenuItem.Text = "&Exit"; this.exitMenuItem.Click += new System.EventHandler(this.exitMenuItem_Click); // // menuItem7 // this.menuItem7.Index = 1; this.menuItem7.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.addSharedMenuItem, this.removeSharedMenuItem, this.automaticMenuItem, this.menuItem4, this.ChangePortNumberMenuItem, this.menuItem8, this.TraceMenuItem, this.ShowTraceMenuItem, this.ShowTrackerItem }); this.menuItem7.Text = "&Sharing"; this.menuItem7.Popup += new System.EventHandler(this.menuItem7_Popup); // // addSharedMenuItem // this.addSharedMenuItem.Index = 0; this.addSharedMenuItem.Text = "&Add Shared Device"; this.addSharedMenuItem.Click += new System.EventHandler(this.addSharedMenuItem_Click); // // removeSharedMenuItem // this.removeSharedMenuItem.Index = 1; this.removeSharedMenuItem.Text = "&Remove Shared Device"; this.removeSharedMenuItem.Click += new System.EventHandler(this.removeSharedMenuItem_Click); // // automaticMenuItem // this.automaticMenuItem.Index = 2; this.automaticMenuItem.Text = "Automatic Sharing"; this.automaticMenuItem.Click += new System.EventHandler(this.automaticMenuItem_Click); // // menuItem4 // this.menuItem4.Index = 3; this.menuItem4.Text = "-"; // // ChangePortNumberMenuItem // this.ChangePortNumberMenuItem.Index = 4; this.ChangePortNumberMenuItem.Text = "Change Port Number"; this.ChangePortNumberMenuItem.Click += new System.EventHandler(this.ChangePortNumberMenuItem_Click); // // menuItem8 // this.menuItem8.Index = 5; this.menuItem8.Text = "-"; // // TraceMenuItem // this.TraceMenuItem.Index = 6; this.TraceMenuItem.Text = "Trace"; this.TraceMenuItem.Click += new System.EventHandler(this.TraceMenuItem_Click); // // ShowTraceMenuItem // this.ShowTraceMenuItem.Index = 7; this.ShowTraceMenuItem.Text = "Show Trace"; this.ShowTraceMenuItem.Click += new System.EventHandler(this.ShowTraceMenuItem_Click); // // ShowTrackerItem // this.ShowTrackerItem.Index = 8; this.ShowTrackerItem.Text = "Show Tracker"; // // menuItem2 // this.menuItem2.Index = 2; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.helpMenuItem, this.menuItem10, this.debugMenuItem }); this.menuItem2.Text = "&Help"; // // helpMenuItem // this.helpMenuItem.Index = 0; this.helpMenuItem.Shortcut = System.Windows.Forms.Shortcut.F1; this.helpMenuItem.Text = "&Help Topics"; this.helpMenuItem.Click += new System.EventHandler(this.helpMenuItem_Click); // // menuItem10 // this.menuItem10.Index = 1; this.menuItem10.Text = "-"; // // debugMenuItem // this.debugMenuItem.Index = 2; this.debugMenuItem.Text = "&Show Debug Information"; this.debugMenuItem.Click += new System.EventHandler(this.debugMenuItem_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 353); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(384, 16); this.statusBar.TabIndex = 2; this.statusBar.Text = "Device Relay"; // // panel1 // this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel1.Controls.Add(this.pictureBox1); this.panel1.Controls.Add(this.outboundListView); this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 48); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(384, 150); this.panel1.TabIndex = 9; // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.Transparent; this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image"))); this.pictureBox1.Location = new System.Drawing.Point(8, 4); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(48, 18); this.pictureBox1.TabIndex = 11; this.pictureBox1.TabStop = false; // // outboundListView // this.outboundListView.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.outboundListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader3, this.columnHeader4 }); this.outboundListView.ContextMenu = this.outboundContextMenu; this.outboundListView.FullRowSelect = true; this.outboundListView.Location = new System.Drawing.Point(8, 24); this.outboundListView.Name = "outboundListView"; this.outboundListView.Size = new System.Drawing.Size(364, 118); this.outboundListView.SmallImageList = this.imageList; this.outboundListView.TabIndex = 10; this.outboundListView.UseCompatibleStateImageBehavior = false; this.outboundListView.View = System.Windows.Forms.View.Details; this.outboundListView.KeyUp += new System.Windows.Forms.KeyEventHandler(this.outboundListView_KeyUp); // // columnHeader1 // this.columnHeader1.Text = "Device Name"; this.columnHeader1.Width = 217; // // columnHeader3 // this.columnHeader3.Text = "Actions"; // // columnHeader4 // this.columnHeader4.Text = "Events"; // // outboundContextMenu // this.outboundContextMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem5, this.menuItem6 }); this.outboundContextMenu.Popup += new System.EventHandler(this.outboundContextMenu_Popup); // // menuItem5 // this.menuItem5.Index = 0; this.menuItem5.Text = "Add Shared Device"; this.menuItem5.Click += new System.EventHandler(this.addSharedMenuItem_Click); // // menuItem6 // this.menuItem6.Index = 1; this.menuItem6.Text = "Remove Shared Device"; this.menuItem6.Click += new System.EventHandler(this.removeSharedMenuItem_Click); // // imageList // this.imageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList.ImageStream"))); this.imageList.TransparentColor = System.Drawing.Color.Transparent; this.imageList.Images.SetKeyName(0, ""); this.imageList.Images.SetKeyName(1, ""); this.imageList.Images.SetKeyName(2, ""); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.Location = new System.Drawing.Point(56, 7); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(316, 16); this.label1.TabIndex = 9; this.label1.Text = "Outbound Shared Devices"; // // splitter1 // this.splitter1.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitter1.Location = new System.Drawing.Point(0, 198); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(384, 3); this.splitter1.TabIndex = 10; this.splitter1.TabStop = false; // // panel2 // this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel2.Controls.Add(this.pictureBox2); this.panel2.Controls.Add(this.inboundListView); this.panel2.Controls.Add(this.label2); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel2.Location = new System.Drawing.Point(0, 201); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(384, 152); this.panel2.TabIndex = 11; // // pictureBox2 // this.pictureBox2.BackColor = System.Drawing.Color.Transparent; this.pictureBox2.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox2.Image"))); this.pictureBox2.Location = new System.Drawing.Point(8, 4); this.pictureBox2.Name = "pictureBox2"; this.pictureBox2.Size = new System.Drawing.Size(48, 18); this.pictureBox2.TabIndex = 14; this.pictureBox2.TabStop = false; // // inboundListView // this.inboundListView.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.inboundListView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader2, this.columnHeader5, this.columnHeader6 }); this.inboundListView.Enabled = false; this.inboundListView.FullRowSelect = true; this.inboundListView.Location = new System.Drawing.Point(8, 24); this.inboundListView.Name = "inboundListView"; this.inboundListView.Size = new System.Drawing.Size(364, 116); this.inboundListView.SmallImageList = this.imageList; this.inboundListView.TabIndex = 13; this.inboundListView.UseCompatibleStateImageBehavior = false; this.inboundListView.View = System.Windows.Forms.View.Details; // // columnHeader2 // this.columnHeader2.Text = "Device Name"; this.columnHeader2.Width = 216; // // columnHeader5 // this.columnHeader5.Text = "Actions"; // // columnHeader6 // this.columnHeader6.Text = "Events"; // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.Location = new System.Drawing.Point(56, 7); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(316, 16); this.label2.TabIndex = 12; this.label2.Text = "Inbound Accessible Devices"; // // panel3 // this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.panel3.Controls.Add(this.closedPictureBox); this.panel3.Controls.Add(this.openPictureBox); this.panel3.Controls.Add(this.SharingOnLabel); this.panel3.Controls.Add(this.label3); this.panel3.Controls.Add(this.iconPictureBox); this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(384, 48); this.panel3.TabIndex = 13; // // closedPictureBox // this.closedPictureBox.BackColor = System.Drawing.Color.Transparent; this.closedPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("closedPictureBox.Image"))); this.closedPictureBox.Location = new System.Drawing.Point(48, 56); this.closedPictureBox.Name = "closedPictureBox"; this.closedPictureBox.Size = new System.Drawing.Size(32, 32); this.closedPictureBox.TabIndex = 16; this.closedPictureBox.TabStop = false; this.closedPictureBox.Visible = false; // // openPictureBox // this.openPictureBox.BackColor = System.Drawing.Color.Transparent; this.openPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("openPictureBox.Image"))); this.openPictureBox.Location = new System.Drawing.Point(8, 56); this.openPictureBox.Name = "openPictureBox"; this.openPictureBox.Size = new System.Drawing.Size(32, 32); this.openPictureBox.TabIndex = 15; this.openPictureBox.TabStop = false; this.openPictureBox.Visible = false; // // SharingOnLabel // this.SharingOnLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.SharingOnLabel.Location = new System.Drawing.Point(56, 24); this.SharingOnLabel.Name = "SharingOnLabel"; this.SharingOnLabel.Size = new System.Drawing.Size(316, 16); this.SharingOnLabel.TabIndex = 14; this.SharingOnLabel.Text = "Sharing on port 0"; // // label3 // this.label3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label3.Location = new System.Drawing.Point(56, 8); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(316, 16); this.label3.TabIndex = 13; this.label3.Text = "Device Relay Sharing 0 Devices."; // // iconPictureBox // this.iconPictureBox.BackColor = System.Drawing.Color.Transparent; this.iconPictureBox.Image = ((System.Drawing.Image)(resources.GetObject("iconPictureBox.Image"))); this.iconPictureBox.Location = new System.Drawing.Point(8, 8); this.iconPictureBox.Name = "iconPictureBox"; this.iconPictureBox.Size = new System.Drawing.Size(32, 32); this.iconPictureBox.TabIndex = 12; this.iconPictureBox.TabStop = false; // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(384, 369); this.Controls.Add(this.panel1); this.Controls.Add(this.panel3); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel2); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.Name = "MainForm"; this.Text = "Device Relay"; this.Load += new System.EventHandler(this.MainForm_Load); this.Closing += new System.ComponentModel.CancelEventHandler(this.OnClosing); this.HelpRequested += new System.Windows.Forms.HelpEventHandler(this.MainForm_HelpRequested); this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit(); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.closedPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.openPictureBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.iconPictureBox)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(DCMCompareForm)); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.MenuItem_File = new System.Windows.Forms.MenuItem(); this.MenuItemCompare = new System.Windows.Forms.MenuItem(); this.MenuItemCompareFilter = new System.Windows.Forms.MenuItem(); this.MenuItemCompareNoFilter = new System.Windows.Forms.MenuItem(); this.menuItemCompareAgain = new System.Windows.Forms.MenuItem(); this.menuItemCompareAgainFilter = new System.Windows.Forms.MenuItem(); this.menuItemCompareAgainNoFilter = new System.Windows.Forms.MenuItem(); this.MenuItem_FileExit = new System.Windows.Forms.MenuItem(); this.MenuItem_Help = new System.Windows.Forms.MenuItem(); this.MenuItem_AboutDCMCompare = new System.Windows.Forms.MenuItem(); this.TabControl = new System.Windows.Forms.TabControl(); this.TabCompareDetailResults = new System.Windows.Forms.TabPage(); this.dvtkWebBrowser = new DvtkApplicationLayer.UserInterfaces.DvtkWebBrowserNew(); this.TabComparisonFilter = new System.Windows.Forms.TabPage(); this.panel1 = new System.Windows.Forms.Panel(); this.buttonAddSeqItemAttr = new System.Windows.Forms.Button(); this.buttonAddAttr = new System.Windows.Forms.Button(); this.buttonRemoveAttr = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.listBoxFilterAttr = new System.Windows.Forms.ListBox(); this.label2 = new System.Windows.Forms.Label(); this.statusBarCompare = new System.Windows.Forms.StatusBar(); this.statusBarPanel = new DCMCompare.StatusBarProgressPanel(); this.checkBoxFilterGroupLength = new System.Windows.Forms.CheckBox(); this.TabControl.SuspendLayout(); this.TabCompareDetailResults.SuspendLayout(); this.TabComparisonFilter.SuspendLayout(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem_File, this.MenuItem_Help }); // // MenuItem_File // this.MenuItem_File.Index = 0; this.MenuItem_File.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItemCompare, this.menuItemCompareAgain, this.MenuItem_FileExit }); this.MenuItem_File.Text = "File"; // // MenuItemCompare // this.MenuItemCompare.Index = 0; this.MenuItemCompare.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItemCompareFilter, this.MenuItemCompareNoFilter }); this.MenuItemCompare.Text = "&Compare"; // // MenuItemCompareFilter // this.MenuItemCompareFilter.Index = 0; this.MenuItemCompareFilter.Text = "With Filter"; this.MenuItemCompareFilter.Click += new System.EventHandler(this.MenuItemCompareFilter_Click); // // MenuItemCompareNoFilter // this.MenuItemCompareNoFilter.Index = 1; this.MenuItemCompareNoFilter.Text = "Without Filter"; this.MenuItemCompareNoFilter.Click += new System.EventHandler(this.MenuItemCompareNoFilter_Click); // // menuItemCompareAgain // this.menuItemCompareAgain.Index = 1; this.menuItemCompareAgain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemCompareAgainFilter, this.menuItemCompareAgainNoFilter }); this.menuItemCompareAgain.Text = "&Compare Again"; // // menuItemCompareAgainFilter // this.menuItemCompareAgainFilter.Index = 0; this.menuItemCompareAgainFilter.Text = "With Filter"; this.menuItemCompareAgainFilter.Click += new System.EventHandler(this.menuItemCompareAgainFilter_Click); // // menuItemCompareAgainNoFilter // this.menuItemCompareAgainNoFilter.Index = 1; this.menuItemCompareAgainNoFilter.Text = "Without Filter"; this.menuItemCompareAgainNoFilter.Click += new System.EventHandler(this.menuItemCompareAgainNoFilter_Click); // // MenuItem_FileExit // this.MenuItem_FileExit.Index = 2; this.MenuItem_FileExit.Text = "&Exit"; this.MenuItem_FileExit.Click += new System.EventHandler(this.MenuItem_FileExit_Click); // // MenuItem_Help // this.MenuItem_Help.Index = 1; this.MenuItem_Help.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.MenuItem_AboutDCMCompare }); this.MenuItem_Help.Text = "Help"; // // MenuItem_AboutDCMCompare // this.MenuItem_AboutDCMCompare.Index = 0; this.MenuItem_AboutDCMCompare.Text = "About DCM Compare"; this.MenuItem_AboutDCMCompare.Click += new System.EventHandler(this.MenuItem_AboutDCMCompare_Click); // // TabControl // this.TabControl.Controls.Add(this.TabCompareDetailResults); this.TabControl.Controls.Add(this.TabComparisonFilter); this.TabControl.Dock = System.Windows.Forms.DockStyle.Fill; this.TabControl.Location = new System.Drawing.Point(0, 0); this.TabControl.Name = "TabControl"; this.TabControl.SelectedIndex = 0; this.TabControl.Size = new System.Drawing.Size(760, 544); this.TabControl.TabIndex = 0; this.TabControl.SelectedIndexChanged += new System.EventHandler(this.TabControl_SelectedIndexChanged); // // TabCompareDetailResults // this.TabCompareDetailResults.AutoScroll = true; this.TabCompareDetailResults.Controls.Add(this.dvtkWebBrowser); this.TabCompareDetailResults.Location = new System.Drawing.Point(4, 22); this.TabCompareDetailResults.Name = "TabCompareDetailResults"; this.TabCompareDetailResults.Size = new System.Drawing.Size(752, 518); this.TabCompareDetailResults.TabIndex = 0; this.TabCompareDetailResults.Text = "Compare Results Overview"; // // dvtkWebBrowser // this.dvtkWebBrowser.Dock = System.Windows.Forms.DockStyle.Fill; this.dvtkWebBrowser.Location = new System.Drawing.Point(0, 0); this.dvtkWebBrowser.Name = "dvtkWebBrowser"; this.dvtkWebBrowser.Size = new System.Drawing.Size(752, 518); this.dvtkWebBrowser.TabIndex = 0; this.dvtkWebBrowser.XmlStyleSheetFullFileName = ""; // // TabComparisonFilter // this.TabComparisonFilter.Controls.Add(this.panel1); this.TabComparisonFilter.Controls.Add(this.panel2); this.TabComparisonFilter.Location = new System.Drawing.Point(4, 22); this.TabComparisonFilter.Name = "TabComparisonFilter"; this.TabComparisonFilter.Size = new System.Drawing.Size(752, 518); this.TabComparisonFilter.TabIndex = 1; this.TabComparisonFilter.Text = "Comparison Filter"; // // panel1 // this.panel1.Controls.Add(this.buttonAddSeqItemAttr); this.panel1.Controls.Add(this.buttonAddAttr); this.panel1.Controls.Add(this.buttonRemoveAttr); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 430); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(752, 88); this.panel1.TabIndex = 6; // // buttonAddSeqItemAttr // this.buttonAddSeqItemAttr.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.buttonAddSeqItemAttr.Location = new System.Drawing.Point(256, 24); this.buttonAddSeqItemAttr.Name = "buttonAddSeqItemAttr"; this.buttonAddSeqItemAttr.Size = new System.Drawing.Size(176, 23); this.buttonAddSeqItemAttr.TabIndex = 6; this.buttonAddSeqItemAttr.Text = "Add Sequence Item Attribute"; this.buttonAddSeqItemAttr.Click += new System.EventHandler(this.buttonAddSeqItemAttr_Click); // // buttonAddAttr // this.buttonAddAttr.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left))); this.buttonAddAttr.Location = new System.Drawing.Point(104, 24); this.buttonAddAttr.Name = "buttonAddAttr"; this.buttonAddAttr.Size = new System.Drawing.Size(104, 23); this.buttonAddAttr.TabIndex = 4; this.buttonAddAttr.Text = "Add Attribute"; this.buttonAddAttr.Click += new System.EventHandler(this.buttonAddAttr_Click); // // buttonRemoveAttr // this.buttonRemoveAttr.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Right))); this.buttonRemoveAttr.Location = new System.Drawing.Point(464, 24); this.buttonRemoveAttr.Name = "buttonRemoveAttr"; this.buttonRemoveAttr.Size = new System.Drawing.Size(152, 23); this.buttonRemoveAttr.TabIndex = 5; this.buttonRemoveAttr.Text = "Remove Selected Attribute"; this.buttonRemoveAttr.Click += new System.EventHandler(this.buttonRemoveAttr_Click); // // panel2 // this.panel2.Controls.Add(this.checkBoxFilterGroupLength); this.panel2.Controls.Add(this.listBoxFilterAttr); this.panel2.Controls.Add(this.label2); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(752, 432); this.panel2.TabIndex = 5; // // listBoxFilterAttr // this.listBoxFilterAttr.Dock = System.Windows.Forms.DockStyle.Bottom; this.listBoxFilterAttr.Location = new System.Drawing.Point(0, 25); this.listBoxFilterAttr.Name = "listBoxFilterAttr"; this.listBoxFilterAttr.Size = new System.Drawing.Size(752, 407); this.listBoxFilterAttr.TabIndex = 3; // // label2 // this.label2.Location = new System.Drawing.Point(0, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(112, 16); this.label2.TabIndex = 2; this.label2.Text = "Filter attributes List:"; // // statusBarCompare // this.statusBarCompare.Location = new System.Drawing.Point(0, 544); this.statusBarCompare.Name = "statusBarCompare"; this.statusBarCompare.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel }); this.statusBarCompare.ShowPanels = true; this.statusBarCompare.Size = new System.Drawing.Size(760, 22); this.statusBarCompare.SizingGrip = false; this.statusBarCompare.TabIndex = 1; // // statusBarPanel // this.statusBarPanel.Style = System.Windows.Forms.StatusBarPanelStyle.OwnerDraw; this.statusBarPanel.Width = 500; // // checkBoxFilterGroupLength // this.checkBoxFilterGroupLength.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.checkBoxFilterGroupLength.Location = new System.Drawing.Point(568, 0); this.checkBoxFilterGroupLength.Name = "checkBoxFilterGroupLength"; this.checkBoxFilterGroupLength.Size = new System.Drawing.Size(176, 24); this.checkBoxFilterGroupLength.TabIndex = 4; this.checkBoxFilterGroupLength.Text = "Filter Group Length Attributes"; this.checkBoxFilterGroupLength.CheckedChanged += new System.EventHandler(this.checkBoxFilterGroupLength_CheckedChanged); // // DCMCompareForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(760, 566); this.Controls.Add(this.TabControl); this.Controls.Add(this.statusBarCompare); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(760, 600); this.Name = "DCMCompareForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "DCM Compare"; this.Closing += new System.ComponentModel.CancelEventHandler(this.DCMCompareForm_Closing); this.Load += new System.EventHandler(this.DCMCompareForm_Load); this.TabControl.ResumeLayout(false); this.TabCompareDetailResults.ResumeLayout(false); this.TabComparisonFilter.ResumeLayout(false); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.label4 = new System.Windows.Forms.Label(); this.txtnum = new System.Windows.Forms.TextBox(); this.label3 = new System.Windows.Forms.Label(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.rdoje = new System.Windows.Forms.RadioButton(); this.rdosl = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.butexcel = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.txtnum); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.rdoje); this.groupBox1.Controls.Add(this.rdosl); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 90); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(85, 19); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(154, 20); this.cmbyjks.TabIndex = 15; this.cmbyjks.SelectionChangeCommitted += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(20, 24); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(66, 16); this.label6.TabIndex = 14; this.label6.Text = "药剂科室"; // // cmbyplx // this.cmbyplx.Location = new System.Drawing.Point(85, 54); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(154, 20); this.cmbyplx.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(22, 58); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(78, 20); this.label5.TabIndex = 12; this.label5.Text = "药品类型"; // // butquit // this.butquit.Location = new System.Drawing.Point(796, 47); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 33); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(724, 47); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 33); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(643, 47); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 33); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // label4 // this.label4.Location = new System.Drawing.Point(581, 59); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(56, 16); this.label4.TabIndex = 8; this.label4.Text = "名的药品"; // // txtnum // this.txtnum.ForeColor = System.Drawing.Color.Blue; this.txtnum.Location = new System.Drawing.Point(542, 55); this.txtnum.Name = "txtnum"; this.txtnum.Size = new System.Drawing.Size(42, 21); this.txtnum.TabIndex = 7; this.txtnum.Text = "10"; this.txtnum.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtnum_KeyUp); // // label3 // this.label3.Location = new System.Drawing.Point(522, 58); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(19, 16); this.label3.TabIndex = 6; this.label3.Text = "前"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(410, 55); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(394, 59); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(15, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(288, 55); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(236, 59); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // rdoje // this.rdoje.Location = new System.Drawing.Point(377, 17); this.rdoje.Name = "rdoje"; this.rdoje.Size = new System.Drawing.Size(87, 24); this.rdoje.TabIndex = 1; this.rdoje.Text = "按金额排名"; // // rdosl // this.rdosl.Checked = true; this.rdosl.Location = new System.Drawing.Point(260, 20); this.rdosl.Name = "rdosl"; this.rdosl.Size = new System.Drawing.Size(88, 24); this.rdosl.TabIndex = 0; this.rdosl.TabStop = true; this.rdosl.Text = "按数量排名"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 90); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 412); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "排名情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 392); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "排名"; this.dataGridTextBoxColumn1.Width = 40; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 80; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "厂家"; this.dataGridTextBoxColumn5.Width = 80; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "批发价"; this.dataGridTextBoxColumn6.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售价"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "数量"; this.dataGridTextBoxColumn8.Width = 70; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "单位"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "批发金额"; this.dataGridTextBoxColumn11.Width = 0; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "零售金额"; this.dataGridTextBoxColumn9.Width = 90; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 60; // // butexcel // this.butexcel.Location = new System.Drawing.Point(724, 12); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 43; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // Frmjhpm // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmjhpm"; this.Text = "入库排名统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.FileName = new System.Windows.Forms.TextBox(); this.EvalButton = new System.Windows.Forms.Button(); this.panel1 = new System.Windows.Forms.Panel(); this.Results = new System.Windows.Forms.TextBox(); this.splitter1 = new System.Windows.Forms.Splitter(); this.SourceFile = new System.Windows.Forms.TextBox(); this.appStatus = new System.Windows.Forms.StatusBar(); this.XPathExpression = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.LoadButton = new System.Windows.Forms.Button(); this.ContextNode = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // FileName // this.FileName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.FileName.Location = new System.Drawing.Point(88, 8); this.FileName.Name = "FileName"; this.FileName.Size = new System.Drawing.Size(280, 20); this.FileName.TabIndex = 0; this.FileName.Text = "data.xml"; // // EvalButton // this.EvalButton.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.EvalButton.Enabled = false; this.EvalButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.EvalButton.Location = new System.Drawing.Point(640, 40); this.EvalButton.Name = "EvalButton"; this.EvalButton.Size = new System.Drawing.Size(88, 20); this.EvalButton.TabIndex = 4; this.EvalButton.Text = "Eval..."; this.EvalButton.Click += new System.EventHandler(this.EvalButton_Click); // // panel1 // this.panel1.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.Results, this.splitter1, this.SourceFile }); this.panel1.Location = new System.Drawing.Point(8, 72); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(720, 360); this.panel1.TabIndex = 2; // // Results // this.Results.AcceptsReturn = true; this.Results.AcceptsTab = true; this.Results.BackColor = System.Drawing.Color.White; this.Results.Dock = System.Windows.Forms.DockStyle.Fill; this.Results.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Results.Location = new System.Drawing.Point(355, 0); this.Results.Multiline = true; this.Results.Name = "Results"; this.Results.ReadOnly = true; this.Results.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.Results.Size = new System.Drawing.Size(365, 360); this.Results.TabIndex = 1; this.Results.Text = "<XPath Results>"; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(352, 0); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 360); this.splitter1.TabIndex = 1; this.splitter1.TabStop = false; // // SourceFile // this.SourceFile.AcceptsReturn = true; this.SourceFile.AcceptsTab = true; this.SourceFile.BackColor = System.Drawing.SystemColors.Info; this.SourceFile.Cursor = System.Windows.Forms.Cursors.No; this.SourceFile.Dock = System.Windows.Forms.DockStyle.Left; this.SourceFile.Multiline = true; this.SourceFile.Name = "SourceFile"; this.SourceFile.ReadOnly = true; this.SourceFile.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.SourceFile.Size = new System.Drawing.Size(352, 360); this.SourceFile.TabIndex = 0; this.SourceFile.Text = "<XML Source File>"; this.SourceFile.WordWrap = false; // // appStatus // this.appStatus.Location = new System.Drawing.Point(0, 439); this.appStatus.Name = "appStatus"; this.appStatus.Size = new System.Drawing.Size(736, 22); this.appStatus.TabIndex = 3; this.appStatus.Text = "Ready"; // // XPathExpression // this.XPathExpression.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.XPathExpression.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.XPathExpression.Font = new System.Drawing.Font("Courier New", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.XPathExpression.Location = new System.Drawing.Point(88, 40); this.XPathExpression.Name = "XPathExpression"; this.XPathExpression.Size = new System.Drawing.Size(544, 20); this.XPathExpression.TabIndex = 2; this.XPathExpression.Text = "/MyDataSet/NorthwindEmployees"; // // label1 // this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label1.Location = new System.Drawing.Point(0, 8); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 23); this.label1.TabIndex = 5; this.label1.Text = "XML Source"; this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // LoadButton // this.LoadButton.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.LoadButton.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.LoadButton.Location = new System.Drawing.Point(640, 8); this.LoadButton.Name = "LoadButton"; this.LoadButton.Size = new System.Drawing.Size(88, 20); this.LoadButton.TabIndex = 3; this.LoadButton.Text = "Load..."; this.LoadButton.Click += new System.EventHandler(this.LoadButton_Click); // // ContextNode // this.ContextNode.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.ContextNode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.ContextNode.Location = new System.Drawing.Point(464, 8); this.ContextNode.Name = "ContextNode"; this.ContextNode.Size = new System.Drawing.Size(168, 20); this.ContextNode.TabIndex = 1; this.ContextNode.Text = "MyDataSet"; // // label2 // this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label2.Location = new System.Drawing.Point(376, 8); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(80, 23); this.label2.TabIndex = 8; this.label2.Text = "Context Node "; this.label2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label3 // this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.label3.Location = new System.Drawing.Point(0, 40); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(72, 23); this.label3.TabIndex = 9; this.label3.Text = "Expression"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(736, 461); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.label3, this.label2, this.ContextNode, this.LoadButton, this.label1, this.XPathExpression, this.appStatus, this.panel1, this.EvalButton, this.FileName }); this.MinimumSize = new System.Drawing.Size(712, 488); this.Name = "Form1"; this.Text = "XPath Evaluator"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(NRLMontereyGlobal)); this.buttonLoad = new System.Windows.Forms.Button(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.listBox1 = new System.Windows.Forms.ListBox(); this.treeView1 = new System.Windows.Forms.TreeView(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItemHelp = new System.Windows.Forms.MenuItem(); this.menuItemAbout = new System.Windows.Forms.MenuItem(); this.label1 = new System.Windows.Forms.Label(); this.trackBar2 = new System.Windows.Forms.TrackBar(); this.opacityLabel = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.label2 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).BeginInit(); this.SuspendLayout(); // // buttonLoad // this.buttonLoad.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonLoad.Location = new System.Drawing.Point(8, 336); this.buttonLoad.Name = "buttonLoad"; this.buttonLoad.Size = new System.Drawing.Size(328, 23); this.buttonLoad.TabIndex = 2; this.buttonLoad.Text = "Load"; this.buttonLoad.Click += new System.EventHandler(this.button1_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 443); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(344, 22); this.statusBar1.TabIndex = 3; // // listBox1 // this.listBox1.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.listBox1.Location = new System.Drawing.Point(9, 128); this.listBox1.Name = "listBox1"; this.listBox1.SelectionMode = System.Windows.Forms.SelectionMode.MultiExtended; this.listBox1.Size = new System.Drawing.Size(320, 147); this.listBox1.TabIndex = 1; this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged); // // treeView1 // this.treeView1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.treeView1.ImageIndex = -1; this.treeView1.Location = new System.Drawing.Point(9, 8); this.treeView1.Name = "treeView1"; this.treeView1.SelectedImageIndex = -1; this.treeView1.Size = new System.Drawing.Size(320, 112); this.treeView1.TabIndex = 0; this.treeView1.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.treeView1_AfterSelect); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemHelp }); // // menuItemHelp // this.menuItemHelp.Index = 0; this.menuItemHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItemAbout }); this.menuItemHelp.Text = "Help"; // // menuItemAbout // this.menuItemAbout.Index = 0; this.menuItemAbout.Text = "About..."; this.menuItemAbout.Click += new System.EventHandler(this.menuItemAbout_Click); // // label1 // this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label1.BackColor = System.Drawing.Color.Transparent; this.label1.Location = new System.Drawing.Point(8, 312); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(224, 23); this.label1.TabIndex = 4; this.label1.Text = "Select multiple entries for animations"; // // trackBar2 // this.trackBar2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.trackBar2.LargeChange = 10; this.trackBar2.Location = new System.Drawing.Point(256, 280); this.trackBar2.Maximum = 100; this.trackBar2.Name = "trackBar2"; this.trackBar2.Size = new System.Drawing.Size(75, 42); this.trackBar2.SmallChange = 3; this.trackBar2.TabIndex = 9; this.trackBar2.TickFrequency = 5; this.trackBar2.TickStyle = System.Windows.Forms.TickStyle.TopLeft; this.trackBar2.Value = 100; this.trackBar2.Scroll += new System.EventHandler(this.trackBar2_Scroll); // // opacityLabel // this.opacityLabel.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.opacityLabel.BackColor = System.Drawing.Color.Transparent; this.opacityLabel.Location = new System.Drawing.Point(272, 312); this.opacityLabel.Name = "opacityLabel"; this.opacityLabel.Size = new System.Drawing.Size(44, 19); this.opacityLabel.TabIndex = 10; this.opacityLabel.Text = "Opacity"; // // textBox1 // this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textBox1.BackColor = System.Drawing.SystemColors.Control; this.textBox1.Cursor = System.Windows.Forms.Cursors.IBeam; this.textBox1.Location = new System.Drawing.Point(8, 392); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(328, 48); this.textBox1.TabIndex = 11; this.textBox1.Text = ""; this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged); // // label2 // this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.label2.BackColor = System.Drawing.Color.Transparent; this.label2.Location = new System.Drawing.Point(8, 368); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(96, 16); this.label2.TabIndex = 12; this.label2.Text = "Data Description:"; // // NRLMontereyGlobal // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(344, 465); this.Controls.Add(this.label2); this.Controls.Add(this.textBox1); this.Controls.Add(this.opacityLabel); this.Controls.Add(this.trackBar2); this.Controls.Add(this.label1); this.Controls.Add(this.treeView1); this.Controls.Add(this.listBox1); this.Controls.Add(this.statusBar1); this.Controls.Add(this.buttonLoad); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(176, 296); this.Name = "NRLMontereyGlobal"; this.Text = "NRL Monterey \"Real-Time\" Weather v.1.1"; ((System.ComponentModel.ISupportInitialize)(this.trackBar2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.tbTools = new System.Windows.Forms.ToolBar(); this.btnServers = new System.Windows.Forms.ToolBarButton(); this.mnuServers = new System.Windows.Forms.ContextMenu(); this.btnView = new System.Windows.Forms.ToolBarButton(); this.panel1 = new System.Windows.Forms.Panel(); this.lvMembers = new System.Windows.Forms.ListView(); this.objName = new System.Windows.Forms.ColumnHeader(); this.objType = new System.Windows.Forms.ColumnHeader(); this.objDesc = new System.Windows.Forms.ColumnHeader(); this.objCreated = new System.Windows.Forms.ColumnHeader(); this.objModified = new System.Windows.Forms.ColumnHeader(); this.ctlSplitter = new System.Windows.Forms.Splitter(); this.tvLibsCats = new System.Windows.Forms.TreeView(); this.statusBar = new System.Windows.Forms.StatusBar(); this.btnDelete = new System.Windows.Forms.ToolBarButton(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // tbTools // this.tbTools.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this.tbTools.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.btnServers, this.btnView, this.btnDelete }); this.tbTools.DropDownArrows = true; this.tbTools.Location = new System.Drawing.Point(0, 0); this.tbTools.Name = "tbTools"; this.tbTools.ShowToolTips = true; this.tbTools.Size = new System.Drawing.Size(558, 42); this.tbTools.TabIndex = 0; // // btnServers // this.btnServers.DropDownMenu = this.mnuServers; this.btnServers.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; this.btnServers.Text = "Servers"; this.btnServers.ToolTipText = "Select active server"; // // btnView // this.btnView.Text = "View"; this.btnView.ToolTipText = "View contents of entry"; // // panel1 // this.panel1.Controls.Add(this.lvMembers); this.panel1.Controls.Add(this.ctlSplitter); this.panel1.Controls.Add(this.tvLibsCats); this.panel1.Controls.Add(this.statusBar); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 42); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(558, 370); this.panel1.TabIndex = 1; // // lvMembers // this.lvMembers.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.objName, this.objType, this.objDesc, this.objCreated, this.objModified }); this.lvMembers.Dock = System.Windows.Forms.DockStyle.Fill; this.lvMembers.FullRowSelect = true; this.lvMembers.Location = new System.Drawing.Point(170, 0); this.lvMembers.MultiSelect = false; this.lvMembers.Name = "lvMembers"; this.lvMembers.Size = new System.Drawing.Size(388, 348); this.lvMembers.TabIndex = 2; this.lvMembers.View = System.Windows.Forms.View.Details; this.lvMembers.DoubleClick += new System.EventHandler(this.OnItemDoubleClicked); // // objName // this.objName.Text = "Name"; this.objName.Width = 100; // // objType // this.objType.Text = "Type"; this.objType.Width = 100; // // objDesc // this.objDesc.Text = "Description"; this.objDesc.Width = 150; // // objCreated // this.objCreated.Text = "Created"; this.objCreated.Width = 100; // // objModified // this.objModified.Text = "Modified"; this.objModified.Width = 100; // // ctlSplitter // this.ctlSplitter.Location = new System.Drawing.Point(167, 0); this.ctlSplitter.Name = "ctlSplitter"; this.ctlSplitter.Size = new System.Drawing.Size(3, 348); this.ctlSplitter.TabIndex = 1; this.ctlSplitter.TabStop = false; // // tvLibsCats // this.tvLibsCats.Dock = System.Windows.Forms.DockStyle.Left; this.tvLibsCats.ImageIndex = -1; this.tvLibsCats.Location = new System.Drawing.Point(0, 0); this.tvLibsCats.Name = "tvLibsCats"; this.tvLibsCats.SelectedImageIndex = -1; this.tvLibsCats.Size = new System.Drawing.Size(167, 348); this.tvLibsCats.TabIndex = 0; this.tvLibsCats.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this.OnTreeNodeSelected); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 348); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(558, 22); this.statusBar.TabIndex = 3; // // btnDelete // this.btnDelete.Text = "Delete"; this.btnDelete.ToolTipText = "Delete the selected entry"; // // CatalogExplorerForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(558, 412); this.Controls.Add(this.panel1); this.Controls.Add(this.tbTools); this.Name = "CatalogExplorerForm"; this.Text = "SAS Catalog Explorer"; this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuOpen = new System.Windows.Forms.MenuItem(); this.menuSave = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuExit = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 496); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(536, 22); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Text = "statusBarPanel1"; this.statusBarPanel1.Width = 520; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuOpen, this.menuSave, this.menuItem4, this.menuExit }); this.menuItem1.Text = "&File"; // // menuOpen // this.menuOpen.Index = 0; this.menuOpen.Text = "&Open"; this.menuOpen.Select += new System.EventHandler(this.MenuSelected); // // menuSave // this.menuSave.Index = 1; this.menuSave.Text = "&Save"; this.menuSave.Select += new System.EventHandler(this.MenuSelected); // // menuItem4 // this.menuItem4.Index = 2; this.menuItem4.Text = "-"; // // menuExit // this.menuExit.Index = 3; this.menuExit.Text = "E&xit"; this.menuExit.Select += new System.EventHandler(this.MenuSelected); // // Form1 // this.ClientSize = new System.Drawing.Size(536, 518); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.statusBar1 }); this.Menu = this.mainMenu1; this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); this.ResumeLayout(false); }
private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmMain)); this._sbMain = new System.Windows.Forms.StatusBar(); this._pnlItems = new System.Windows.Forms.StatusBarPanel(); this._pnlView = new System.Windows.Forms.StatusBarPanel(); this._tbMain = new System.Windows.Forms.ToolBar(); this._tbbtnNew = new System.Windows.Forms.ToolBarButton(); this._ctxNew = new System.Windows.Forms.ContextMenu(); this.menuItem15 = new System.Windows.Forms.MenuItem(); this.menuItem16 = new System.Windows.Forms.MenuItem(); this.menuItem17 = new System.Windows.Forms.MenuItem(); this.menuItem18 = new System.Windows.Forms.MenuItem(); this.menuItem19 = new System.Windows.Forms.MenuItem(); this.menuItem20 = new System.Windows.Forms.MenuItem(); this.menuItem21 = new System.Windows.Forms.MenuItem(); this._sep1 = new System.Windows.Forms.ToolBarButton(); this._tbbtnSave = new System.Windows.Forms.ToolBarButton(); this._tbbtnEdit = new System.Windows.Forms.ToolBarButton(); this._tbbtnDelete = new System.Windows.Forms.ToolBarButton(); this._sep2 = new System.Windows.Forms.ToolBarButton(); this._tbbtnUp = new System.Windows.Forms.ToolBarButton(); this._tbbtnView = new System.Windows.Forms.ToolBarButton(); this._ctxView = new System.Windows.Forms.ContextMenu(); this._mnuLargeIcons = new System.Windows.Forms.MenuItem(); this._mnuSmallIcons = new System.Windows.Forms.MenuItem(); this._mnuList = new System.Windows.Forms.MenuItem(); this._mnuDetails = new System.Windows.Forms.MenuItem(); this._tbbtnHelp = new System.Windows.Forms.ToolBarButton(); this._imglstMain = new System.Windows.Forms.ImageList(this.components); this._mnuMain = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuItem3 = new System.Windows.Forms.MenuItem(); this.menuItem4 = new System.Windows.Forms.MenuItem(); this.menuItem5 = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuItem7 = new System.Windows.Forms.MenuItem(); this.menuItem8 = new System.Windows.Forms.MenuItem(); this.menuItem9 = new System.Windows.Forms.MenuItem(); this.menuItem10 = new System.Windows.Forms.MenuItem(); this.menuItem11 = new System.Windows.Forms.MenuItem(); this.menuItem22 = new System.Windows.Forms.MenuItem(); this.menuItem12 = new System.Windows.Forms.MenuItem(); this.menuItem23 = new System.Windows.Forms.MenuItem(); this.menuItem24 = new System.Windows.Forms.MenuItem(); this.menuItem25 = new System.Windows.Forms.MenuItem(); this.menuItem13 = new System.Windows.Forms.MenuItem(); this.menuItem14 = new System.Windows.Forms.MenuItem(); this._tvwMaint = new System.Windows.Forms.TreeView(); this.splitter1 = new System.Windows.Forms.Splitter(); this._lvwItems = new System.Windows.Forms.ListView(); this._ctxtvw = new System.Windows.Forms.ContextMenu(); this._ctx_tvw_New = new System.Windows.Forms.MenuItem(); this._ctx_tvw_Edit = new System.Windows.Forms.MenuItem(); this._ctxtvw_Delete = new System.Windows.Forms.MenuItem(); this._ctxtvw_Help = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this._pnlItems)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._pnlView)).BeginInit(); this.SuspendLayout(); // // _sbMain // this._sbMain.Location = new System.Drawing.Point(0, 449); this._sbMain.Name = "_sbMain"; this._sbMain.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this._pnlItems, this._pnlView }); this._sbMain.ShowPanels = true; this._sbMain.Size = new System.Drawing.Size(616, 24); this._sbMain.TabIndex = 1; // // _pnlItems // this._pnlItems.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this._pnlItems.Text = "0 Items"; this._pnlItems.Width = 507; // // _pnlView // this._pnlView.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Contents; this._pnlView.Icon = ((System.Drawing.Icon)(resources.GetObject("_pnlView.Icon"))); this._pnlView.Text = "Campaigns"; this._pnlView.Width = 93; // // _tbMain // this._tbMain.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this._tbMain.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this._tbbtnNew, this._sep1, this._tbbtnSave, this._tbbtnEdit, this._tbbtnDelete, this._sep2, this._tbbtnUp, this._tbbtnView, this._tbbtnHelp }); this._tbMain.DropDownArrows = true; this._tbMain.ImageList = this._imglstMain; this._tbMain.Name = "_tbMain"; this._tbMain.ShowToolTips = true; this._tbMain.Size = new System.Drawing.Size(616, 25); this._tbMain.TabIndex = 2; this._tbMain.TextAlign = System.Windows.Forms.ToolBarTextAlign.Right; // // _tbbtnNew // this._tbbtnNew.DropDownMenu = this._ctxNew; this._tbbtnNew.ImageIndex = 0; this._tbbtnNew.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; this._tbbtnNew.Text = "New"; // // _ctxNew // this._ctxNew.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem15, this.menuItem16, this.menuItem17, this.menuItem18, this.menuItem19, this.menuItem20, this.menuItem21 }); // // menuItem15 // this.menuItem15.Index = 0; this.menuItem15.Text = "Campaign"; // // menuItem16 // this.menuItem16.Index = 1; this.menuItem16.Text = "Product"; // // menuItem17 // this.menuItem17.Index = 2; this.menuItem17.Text = "Disposition"; // // menuItem18 // this.menuItem18.Index = 3; this.menuItem18.Text = "Campaign Question"; // // menuItem19 // this.menuItem19.Index = 4; this.menuItem19.Text = "Customer Question"; // // menuItem20 // this.menuItem20.Index = 5; this.menuItem20.Text = "Call Result"; // // menuItem21 // this.menuItem21.Index = 6; this.menuItem21.Text = "Transfer Type"; // // _sep1 // this._sep1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // _tbbtnSave // this._tbbtnSave.ImageIndex = 1; // // _tbbtnEdit // this._tbbtnEdit.ImageIndex = 10; // // _tbbtnDelete // this._tbbtnDelete.ImageIndex = 16; // // _sep2 // this._sep2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // _tbbtnUp // this._tbbtnUp.ImageIndex = 11; // // _tbbtnView // this._tbbtnView.DropDownMenu = this._ctxView; this._tbbtnView.ImageIndex = 25; this._tbbtnView.Style = System.Windows.Forms.ToolBarButtonStyle.DropDownButton; // // _ctxView // this._ctxView.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._mnuLargeIcons, this._mnuSmallIcons, this._mnuList, this._mnuDetails }); this._ctxView.Popup += new System.EventHandler(this._ctxView_Popup); // // _mnuLargeIcons // this._mnuLargeIcons.Index = 0; this._mnuLargeIcons.Text = "Large Icons"; this._mnuLargeIcons.Click += new System.EventHandler(this._mnuLargeIcons_Click); // // _mnuSmallIcons // this._mnuSmallIcons.Index = 1; this._mnuSmallIcons.Text = "Small Icons"; this._mnuSmallIcons.Click += new System.EventHandler(this._mnuSmallIcons_Click); // // _mnuList // this._mnuList.Index = 2; this._mnuList.Text = "List"; this._mnuList.Click += new System.EventHandler(this._mnuList_Click); // // _mnuDetails // this._mnuDetails.Index = 3; this._mnuDetails.Text = "Details"; this._mnuDetails.Click += new System.EventHandler(this._mnuDetails_Click); // // _tbbtnHelp // this._tbbtnHelp.ImageIndex = 20; // // _imglstMain // this._imglstMain.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this._imglstMain.ImageSize = new System.Drawing.Size(16, 16); this._imglstMain.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("_imglstMain.ImageStream"))); this._imglstMain.TransparentColor = System.Drawing.Color.Transparent; // // _mnuMain // this._mnuMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem12, this.menuItem13, this.menuItem14 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem2, this.menuItem11, this.menuItem22 }); this.menuItem1.Text = "&File"; // // menuItem2 // this.menuItem2.Index = 0; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem3, this.menuItem4, this.menuItem5, this.menuItem6, this.menuItem7, this.menuItem8, this.menuItem9, this.menuItem10 }); this.menuItem2.Text = "&New"; // // menuItem3 // this.menuItem3.Index = 0; this.menuItem3.Text = "Campaign"; // // menuItem4 // this.menuItem4.Index = 1; this.menuItem4.Text = "Product"; // // menuItem5 // this.menuItem5.Index = 2; this.menuItem5.Text = "Campaign Question"; // // menuItem6 // this.menuItem6.Index = 3; this.menuItem6.Text = "Customer Question"; // // menuItem7 // this.menuItem7.Index = 4; this.menuItem7.Text = "Disposition"; // // menuItem8 // this.menuItem8.Index = 5; this.menuItem8.Text = "Call Result"; // // menuItem9 // this.menuItem9.Index = 6; this.menuItem9.Text = "Transfer Type"; // // menuItem10 // this.menuItem10.Index = 7; this.menuItem10.Text = "Order Queue"; // // menuItem11 // this.menuItem11.Index = 1; this.menuItem11.Text = "&Save"; // // menuItem22 // this.menuItem22.Index = 2; this.menuItem22.Text = "&Exit"; // // menuItem12 // this.menuItem12.Index = 1; this.menuItem12.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem23, this.menuItem24, this.menuItem25 }); this.menuItem12.Text = "&Edit"; // // menuItem23 // this.menuItem23.Index = 0; this.menuItem23.Text = "Edit"; this.menuItem23.Click += new System.EventHandler(this.menuItem23_Click); // // menuItem24 // this.menuItem24.Index = 1; this.menuItem24.Text = "Delete"; // // menuItem25 // this.menuItem25.Index = 2; this.menuItem25.Text = "Undo"; // // menuItem13 // this.menuItem13.Index = 2; this.menuItem13.Text = "&View"; // // menuItem14 // this.menuItem14.Index = 3; this.menuItem14.Text = "&Help"; // // _tvwMaint // this._tvwMaint.Dock = System.Windows.Forms.DockStyle.Left; this._tvwMaint.ImageList = this._imglstMain; this._tvwMaint.Location = new System.Drawing.Point(0, 25); this._tvwMaint.Name = "_tvwMaint"; this._tvwMaint.Nodes.AddRange(new System.Windows.Forms.TreeNode[] { new System.Windows.Forms.TreeNode("Campaigns", 19, 24), new System.Windows.Forms.TreeNode("Products", 19, 24), new System.Windows.Forms.TreeNode("Dispositions", 19, 24), new System.Windows.Forms.TreeNode("Questions", 19, 24) }); this._tvwMaint.Size = new System.Drawing.Size(176, 424); this._tvwMaint.TabIndex = 3; this._tvwMaint.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(this._tvwMaint_AfterSelect); // // splitter1 // this.splitter1.Location = new System.Drawing.Point(176, 25); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 424); this.splitter1.TabIndex = 4; this.splitter1.TabStop = false; // // _lvwItems // this._lvwItems.Dock = System.Windows.Forms.DockStyle.Fill; this._lvwItems.HideSelection = false; this._lvwItems.LargeImageList = this._imglstMain; this._lvwItems.Location = new System.Drawing.Point(179, 25); this._lvwItems.Name = "_lvwItems"; this._lvwItems.Size = new System.Drawing.Size(437, 424); this._lvwItems.SmallImageList = this._imglstMain; this._lvwItems.StateImageList = this._imglstMain; this._lvwItems.TabIndex = 5; // // _ctxtvw // this._ctxtvw.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this._ctx_tvw_New, this._ctx_tvw_Edit, this._ctxtvw_Delete, this._ctxtvw_Help }); // // _ctx_tvw_New // this._ctx_tvw_New.Index = 0; this._ctx_tvw_New.Text = "New"; // // _ctx_tvw_Edit // this._ctx_tvw_Edit.Index = 1; this._ctx_tvw_Edit.Text = "Edit"; // // _ctxtvw_Delete // this._ctxtvw_Delete.Index = 2; this._ctxtvw_Delete.Text = "Delete"; // // _ctxtvw_Help // this._ctxtvw_Help.Index = 3; this._ctxtvw_Help.Text = "Help"; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(616, 473); this.Controls.AddRange(new System.Windows.Forms.Control[] { this._lvwItems, this.splitter1, this._tvwMaint, this._tbMain, this._sbMain }); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this._mnuMain; this.Name = "frmMain"; this.Text = "VLoop Maintenance"; ((System.ComponentModel.ISupportInitialize)(this._pnlItems)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._pnlView)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.cmbks = new System.Windows.Forms.ComboBox(); this.label5 = new System.Windows.Forms.Label(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label1 = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.cmbks); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 64); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // cmbks // this.cmbks.Location = new System.Drawing.Point(72, 24); this.cmbks.Name = "cmbks"; this.cmbks.Size = new System.Drawing.Size(112, 20); this.cmbks.TabIndex = 13; // // label5 // this.label5.Location = new System.Drawing.Point(32, 27); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(41, 16); this.label5.TabIndex = 12; this.label5.Text = "药房"; // // butquit // this.butquit.Location = new System.Drawing.Point(680, 18); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(608, 18); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(528, 18); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(78, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(365, 24); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(111, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(349, 28); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(236, 24); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(111, 21); this.dtp1.TabIndex = 3; // // label1 // this.label1.Location = new System.Drawing.Point(188, 27); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(72, 16); this.label1.TabIndex = 2; this.label1.Text = "日期从"; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 64); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 438); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "排名情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 418); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "领药药房"; this.dataGridTextBoxColumn1.Width = 70; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "单据号"; this.dataGridTextBoxColumn2.Width = 60; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "药品名称"; this.dataGridTextBoxColumn3.Width = 120; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "商品名"; this.dataGridTextBoxColumn5.Width = 120; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "规格"; this.dataGridTextBoxColumn12.NullText = ""; this.dataGridTextBoxColumn12.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "数量"; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "单位"; this.dataGridTextBoxColumn7.Width = 40; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "进价"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "进货金额"; this.dataGridTextBoxColumn4.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "零售价"; this.dataGridTextBoxColumn13.NullText = ""; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "进零差额"; this.dataGridTextBoxColumn9.Width = 65; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "货号"; this.dataGridTextBoxColumn10.Width = 55; // // Frmyktkd // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmyktkd"; this.Text = "药库调库单"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.txtUser = new System.Windows.Forms.TextBoxTS(); this.lblUser = new System.Windows.Forms.LabelTS(); this.lblPass = new System.Windows.Forms.LabelTS(); this.txtPass = new System.Windows.Forms.TextBoxTS(); this.btnSubmit = new System.Windows.Forms.ButtonTS(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.SuspendLayout(); // // txtUser // this.txtUser.Location = new System.Drawing.Point(88, 16); this.txtUser.Name = "txtUser"; this.txtUser.Size = new System.Drawing.Size(128, 20); this.txtUser.TabIndex = 0; this.txtUser.Text = ""; // // lblUser // this.lblUser.Location = new System.Drawing.Point(8, 16); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(72, 16); this.lblUser.TabIndex = 1; this.lblUser.Text = "User Name:"; // // lblPass // this.lblPass.Location = new System.Drawing.Point(8, 40); this.lblPass.Name = "lblPass"; this.lblPass.Size = new System.Drawing.Size(72, 16); this.lblPass.TabIndex = 3; this.lblPass.Text = "Password:"******"txtPass"; this.txtPass.PasswordChar = '*'; this.txtPass.Size = new System.Drawing.Size(128, 20); this.txtPass.TabIndex = 2; this.txtPass.Text = ""; // // btnSubmit // this.btnSubmit.Location = new System.Drawing.Point(80, 80); this.btnSubmit.Name = "btnSubmit"; this.btnSubmit.TabIndex = 4; this.btnSubmit.Text = "Submit"; this.btnSubmit.Click += new System.EventHandler(this.btnSubmit_Click); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 110); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(232, 22); this.statusBar1.TabIndex = 5; // // UserPass // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(232, 132); this.Controls.Add(this.statusBar1); this.Controls.Add(this.btnSubmit); this.Controls.Add(this.lblPass); this.Controls.Add(this.txtPass); this.Controls.Add(this.lblUser); this.Controls.Add(this.txtUser); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MinimizeBox = false; this.Name = "UserPass"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Logon"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.progressBar1 = new System.Windows.Forms.ProgressBar(); this.panel2 = new System.Windows.Forms.Panel(); this.btnCalculate = new System.Windows.Forms.Button(); this.numericUpDown1 = new System.Windows.Forms.NumericUpDown(); this.label1 = new System.Windows.Forms.Label(); this.mainMenu1 = new System.Windows.Forms.MainMenu(this.components); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuFileExit = new System.Windows.Forms.MenuItem(); this.panel1 = new System.Windows.Forms.Panel(); this.textBox1 = new System.Windows.Forms.TextBox(); this.button1 = new System.Windows.Forms.Button(); this.marqueeProvider1 = new EnoughPI.Components.MarqueeProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.marqueeProvider1)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 312); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(265, 22); this.statusBar1.TabIndex = 0; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 98; // // progressBar1 // this.progressBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.marqueeProvider1.SetAnimationWait(this.progressBar1, 50); this.marqueeProvider1.SetIsMarquee(this.progressBar1, true); this.progressBar1.Location = new System.Drawing.Point(157, 422); this.progressBar1.Name = "progressBar1"; this.progressBar1.Size = new System.Drawing.Size(0, 14); this.progressBar1.TabIndex = 1; this.progressBar1.Visible = false; // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.InactiveCaption; this.panel2.Controls.Add(this.btnCalculate); this.panel2.Controls.Add(this.numericUpDown1); this.panel2.Controls.Add(this.label1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(265, 56); this.panel2.TabIndex = 2; // // btnCalculate // this.btnCalculate.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnCalculate.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnCalculate.Location = new System.Drawing.Point(165, 11); this.btnCalculate.Name = "btnCalculate"; this.btnCalculate.Size = new System.Drawing.Size(88, 32); this.btnCalculate.TabIndex = 2; this.btnCalculate.Text = "Calculate"; this.btnCalculate.Click += new System.EventHandler(this.btnCalculate_Click); // // numericUpDown1 // this.numericUpDown1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.numericUpDown1.Location = new System.Drawing.Point(104, 14); this.numericUpDown1.Maximum = new decimal(new int[] { 10000, 0, 0, 0 }); this.numericUpDown1.Name = "numericUpDown1"; this.numericUpDown1.Size = new System.Drawing.Size(45, 26); this.numericUpDown1.TabIndex = 1; this.numericUpDown1.Value = new decimal(new int[] { 100, 0, 0, 0 }); // // label1 // this.label1.Location = new System.Drawing.Point(8, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(100, 23); this.label1.TabIndex = 0; this.label1.Text = "Digits of PI"; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile }); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFileExit }); this.mnuFile.Text = "&File"; // // mnuFileExit // this.mnuFileExit.Index = 0; this.mnuFileExit.Text = "E&xit"; this.mnuFileExit.Click += new System.EventHandler(this.mnuFileExit_Click); // // panel1 // this.panel1.Controls.Add(this.button1); this.panel1.Controls.Add(this.textBox1); this.panel1.Controls.Add(this.panel2); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(265, 312); this.panel1.TabIndex = 3; // // textBox1 // this.textBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.textBox1.Location = new System.Drawing.Point(0, 56); this.textBox1.Multiline = true; this.textBox1.Name = "textBox1"; this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textBox1.Size = new System.Drawing.Size(265, 256); this.textBox1.TabIndex = 3; this.textBox1.Text = "3"; // // button1 // this.button1.Location = new System.Drawing.Point(0, 346); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(86, 35); this.button1.TabIndex = 4; this.button1.Text = "Update"; this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // // MainForm // this.AcceptButton = this.btnCalculate; this.AutoScaleBaseSize = new System.Drawing.Size(8, 19); this.ClientSize = new System.Drawing.Size(265, 334); this.Controls.Add(this.panel1); this.Controls.Add(this.progressBar1); this.Controls.Add(this.statusBar1); this.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Menu = this.mainMenu1; this.Name = "MainForm"; this.Text = "Never Enough PI"; ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); this.panel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.marqueeProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.exit_button = new System.Windows.Forms.Button(); this.pause = new System.Windows.Forms.Button(); this.timer = new System.Windows.Forms.Timer(this.components); this.statusBar = new System.Windows.Forms.StatusBar(); this.SuspendLayout(); // // label // this.label.Location = new System.Drawing.Point(8, 8); this.label.Name = "label"; this.label.Size = new System.Drawing.Size(264, 32); this.label.TabIndex = 6; this.label.Text = "Copyright (c) Firelight Technologies 2004-2011"; this.label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // button1 // this.button1.Location = new System.Drawing.Point(8, 48); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(264, 40); this.button1.TabIndex = 7; this.button1.Text = "Play as a runtime decoded stream"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.Location = new System.Drawing.Point(8, 96); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(264, 40); this.button2.TabIndex = 8; this.button2.Text = "Play as a static in memory sample"; this.button2.Click += new System.EventHandler(this.button2_Click); // // exit_button // this.exit_button.Location = new System.Drawing.Point(104, 192); this.exit_button.Name = "exit_button"; this.exit_button.Size = new System.Drawing.Size(72, 24); this.exit_button.TabIndex = 13; this.exit_button.Text = "Exit"; this.exit_button.Click += new System.EventHandler(this.exit_button_Click); // // pause // this.pause.Location = new System.Drawing.Point(8, 144); this.pause.Name = "pause"; this.pause.Size = new System.Drawing.Size(264, 40); this.pause.TabIndex = 14; this.pause.Text = "Pause / Resume"; this.pause.Click += new System.EventHandler(this.pause_Click); // // timer // this.timer.Enabled = true; this.timer.Interval = 10; this.timer.Tick += new System.EventHandler(this.timer_Tick); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 219); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(280, 24); this.statusBar.TabIndex = 15; // // UserCreatedSound // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(280, 243); this.Controls.Add(this.statusBar); this.Controls.Add(this.pause); this.Controls.Add(this.exit_button); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this.label); this.Name = "UserCreatedSound"; this.Text = "User Created Sound Example"; this.Load += new System.EventHandler(this.UserCreatedSound_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this._contactsView = new System.Windows.Forms.ListView(); this.columnHeader1 = new System.Windows.Forms.ColumnHeader(); this.columnHeader2 = new System.Windows.Forms.ColumnHeader(); this.columnHeader3 = new System.Windows.Forms.ColumnHeader(); this._statusBar = new System.Windows.Forms.StatusBar(); this._toolBar = new System.Windows.Forms.ToolBar(); this.cmdAdd = new System.Windows.Forms.ToolBarButton(); this.cmdRemove = new System.Windows.Forms.ToolBarButton(); this.cmdRefresh = new System.Windows.Forms.ToolBarButton(); this.SuspendLayout(); // // _contactsView // this._contactsView.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.columnHeader1, this.columnHeader2, this.columnHeader3 }); this._contactsView.FullRowSelect = true; this._contactsView.Location = new System.Drawing.Point(0, 40); this._contactsView.Name = "_contactsView"; this._contactsView.Size = new System.Drawing.Size(296, 208); this._contactsView.TabIndex = 0; this._contactsView.View = System.Windows.Forms.View.Details; // // columnHeader1 // this.columnHeader1.Text = "ID"; // // columnHeader2 // this.columnHeader2.Text = "Name"; this.columnHeader2.Width = 97; // // columnHeader3 // this.columnHeader3.Text = "Email"; this.columnHeader3.Width = 141; // // _statusBar // this._statusBar.Location = new System.Drawing.Point(0, 251); this._statusBar.Name = "_statusBar"; this._statusBar.Size = new System.Drawing.Size(292, 22); this._statusBar.TabIndex = 1; this._statusBar.Text = "status"; // // _toolBar // this._toolBar.Appearance = System.Windows.Forms.ToolBarAppearance.Flat; this._toolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.cmdAdd, this.cmdRemove, this.cmdRefresh }); this._toolBar.ButtonSize = new System.Drawing.Size(46, 36); this._toolBar.DropDownArrows = true; this._toolBar.Name = "_toolBar"; this._toolBar.ShowToolTips = true; this._toolBar.Size = new System.Drawing.Size(292, 39); this._toolBar.TabIndex = 2; this._toolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this._toolBar_ButtonClick); // // cmdAdd // this.cmdAdd.Text = "Add..."; // // cmdRemove // this.cmdRemove.Text = "Remove"; // // cmdRefresh // this.cmdRefresh.Text = "Refresh"; // // Client // this.AutoScaleBaseSize = new System.Drawing.Size(5, 14); this.ClientSize = new System.Drawing.Size(292, 273); this.Controls.AddRange(new System.Windows.Forms.Control[] { this._toolBar, this._statusBar, this._contactsView }); this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Name = "Client"; this.Text = "Address Book Client"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label = new System.Windows.Forms.Label(); this.comboBoxRecord = new System.Windows.Forms.ComboBox(); this.timer = new System.Windows.Forms.Timer(this.components); this.exit_button = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.start = new System.Windows.Forms.Button(); this.comboBoxOutput = new System.Windows.Forms.ComboBox(); this.stop = new System.Windows.Forms.Button(); this.SuspendLayout(); // // label // this.label.Location = new System.Drawing.Point(8, 8); this.label.Name = "label"; this.label.Size = new System.Drawing.Size(264, 32); this.label.TabIndex = 7; this.label.Text = "Copyright (c) Firelight Technologies 2004-2011"; this.label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // comboBoxRecord // this.comboBoxRecord.Location = new System.Drawing.Point(16, 72); this.comboBoxRecord.Name = "comboBoxRecord"; this.comboBoxRecord.Size = new System.Drawing.Size(248, 21); this.comboBoxRecord.TabIndex = 10; this.comboBoxRecord.Text = "Select RECORD driver"; this.comboBoxRecord.SelectedIndexChanged += new System.EventHandler(this.comboBoxRecord_SelectedIndexChanged); // // timer // this.timer.Enabled = true; this.timer.Interval = 10; this.timer.Tick += new System.EventHandler(this.timer_Tick); // // exit_button // this.exit_button.Location = new System.Drawing.Point(96, 144); this.exit_button.Name = "exit_button"; this.exit_button.Size = new System.Drawing.Size(72, 24); this.exit_button.TabIndex = 16; this.exit_button.Text = "Exit"; this.exit_button.Click += new System.EventHandler(this.exit_button_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 171); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(272, 24); this.statusBar.TabIndex = 17; // // start // this.start.Location = new System.Drawing.Point(16, 104); this.start.Name = "start"; this.start.Size = new System.Drawing.Size(128, 32); this.start.TabIndex = 18; this.start.Text = "Start recording to record.wav"; this.start.Click += new System.EventHandler(this.start_Click); // // comboBoxOutput // this.comboBoxOutput.Location = new System.Drawing.Point(16, 40); this.comboBoxOutput.Name = "comboBoxOutput"; this.comboBoxOutput.Size = new System.Drawing.Size(248, 21); this.comboBoxOutput.TabIndex = 19; this.comboBoxOutput.Text = "Select OUTPUT type"; this.comboBoxOutput.SelectedIndexChanged += new System.EventHandler(this.comboBoxOutput_SelectedIndexChanged); // // stop // this.stop.Location = new System.Drawing.Point(152, 104); this.stop.Name = "stop"; this.stop.Size = new System.Drawing.Size(104, 32); this.stop.TabIndex = 20; this.stop.Text = "Stop"; this.stop.Click += new System.EventHandler(this.stop_Click); // // recordtodisk // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(272, 195); this.Controls.Add(this.stop); this.Controls.Add(this.comboBoxOutput); this.Controls.Add(this.start); this.Controls.Add(this.statusBar); this.Controls.Add(this.exit_button); this.Controls.Add(this.comboBoxRecord); this.Controls.Add(this.label); this.Name = "recordtodisk"; this.Text = "Record To Disk Example"; this.Load += new System.EventHandler(this.recordtodisk_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.button1 = new System.Windows.Forms.Button(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button(); this.button5 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button(); this._flex = new C1.Win.C1FlexGrid.C1FlexGrid(); this._flexXTab = new C1.Win.C1FlexGrid.C1FlexGrid(); this.splitter1 = new System.Windows.Forms.Splitter(); this._status = new System.Windows.Forms.StatusBar(); ((System.ComponentModel.ISupportInitialize)(this._flex)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this._flexXTab)).BeginInit(); this.SuspendLayout(); // // button1 // this.button1.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button1.Location = new System.Drawing.Point(8, 8); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(136, 24); this.button1.TabIndex = 0; this.button1.Text = "Country x Year"; this.button1.Click += new System.EventHandler(this.button1_Click); // // button2 // this.button2.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button2.Location = new System.Drawing.Point(160, 8); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(136, 24); this.button2.TabIndex = 2; this.button2.Text = "SalesPerson x Year"; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button3.Location = new System.Drawing.Point(160, 32); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(136, 24); this.button3.TabIndex = 3; this.button3.Text = "SalesPerson x Category"; this.button3.Click += new System.EventHandler(this.button3_Click); // // button4 // this.button4.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button4.Location = new System.Drawing.Point(8, 32); this.button4.Name = "button4"; this.button4.Size = new System.Drawing.Size(136, 24); this.button4.TabIndex = 4; this.button4.Text = "Country x Category"; this.button4.Click += new System.EventHandler(this.button4_Click); // // button5 // this.button5.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button5.Location = new System.Drawing.Point(312, 32); this.button5.Name = "button5"; this.button5.Size = new System.Drawing.Size(136, 24); this.button5.TabIndex = 5; this.button5.Text = "Customer x Category"; this.button5.Click += new System.EventHandler(this.button5_Click); // // button6 // this.button6.FlatStyle = System.Windows.Forms.FlatStyle.System; this.button6.Location = new System.Drawing.Point(312, 8); this.button6.Name = "button6"; this.button6.Size = new System.Drawing.Size(136, 24); this.button6.TabIndex = 6; this.button6.Text = "Category x Quarter"; this.button6.Click += new System.EventHandler(this.button6_Click); // // _flex // this._flex.ColumnInfo = "10,1,0,0,0,85,Columns:0{Width:25;}\t"; this._flex.Dock = System.Windows.Forms.DockStyle.Left; this._flex.Location = new System.Drawing.Point(0, 65); this._flex.Name = "_flex"; this._flex.Rows.DefaultSize = 17; this._flex.ShowCursor = true; this._flex.Size = new System.Drawing.Size(192, 342); this._flex.StyleInfo = resources.GetString("_flex.StyleInfo"); this._flex.TabIndex = 7; this._flex.VisualStyle = C1.Win.C1FlexGrid.VisualStyle.Office2007Black; // // _flexXTab // this._flexXTab.ColumnInfo = "10,1,0,0,0,85,Columns:0{Width:25;}\t"; this._flexXTab.Dock = System.Windows.Forms.DockStyle.Fill; this._flexXTab.Location = new System.Drawing.Point(200, 65); this._flexXTab.Name = "_flexXTab"; this._flexXTab.Rows.DefaultSize = 17; this._flexXTab.ShowCursor = true; this._flexXTab.Size = new System.Drawing.Size(448, 342); this._flexXTab.StyleInfo = resources.GetString("_flexXTab.StyleInfo"); this._flexXTab.TabIndex = 7; this._flexXTab.VisualStyle = C1.Win.C1FlexGrid.VisualStyle.Office2007Black; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(192, 65); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(8, 342); this.splitter1.TabIndex = 8; this.splitter1.TabStop = false; // // _status // this._status.Location = new System.Drawing.Point(0, 407); this._status.Name = "_status"; this._status.Size = new System.Drawing.Size(648, 22); this._status.TabIndex = 9; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(648, 429); this.Controls.Add(this._flexXTab); this.Controls.Add(this.splitter1); this.Controls.Add(this._flex); this.Controls.Add(this.button6); this.Controls.Add(this.button5); this.Controls.Add(this.button4); this.Controls.Add(this.button3); this.Controls.Add(this.button2); this.Controls.Add(this.button1); this.Controls.Add(this._status); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(0, 65, 0, 0); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Crosstabs"; ((System.ComponentModel.ISupportInitialize)(this._flex)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this._flexXTab)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor, /// unless you are sure of what you are doing /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmChat)); this.rtxtSend = new System.Windows.Forms.RichTextBox(); this.rtxtMessages = new System.Windows.Forms.RichTextBox(); this.panel1 = new System.Windows.Forms.Panel(); this.lChatSttsBar = new System.Windows.Forms.StatusBar(); this.btnSend = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel(); this.ClientsStatus = new System.Windows.Forms.StatusBarPanel(); this.RecivingTimer = new System.Windows.Forms.Timer(this.components); this.lbCopyright = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.panel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ClientsStatus)).BeginInit(); this.SuspendLayout(); // // rtxtSend // this.rtxtSend.Anchor = ((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.rtxtSend.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.rtxtSend.ForeColor = System.Drawing.Color.Olive; this.rtxtSend.Location = new System.Drawing.Point(6, 0); this.rtxtSend.Name = "rtxtSend"; this.rtxtSend.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.None; this.rtxtSend.Size = new System.Drawing.Size(220, 34); this.rtxtSend.TabIndex = 1; this.rtxtSend.Text = ""; this.rtxtSend.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.rtxtSend_KeyPress); // // rtxtMessages // this.rtxtMessages.Anchor = (((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.rtxtMessages.AutoSize = true; this.rtxtMessages.AutoWordSelection = true; this.rtxtMessages.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.rtxtMessages.ForeColor = System.Drawing.Color.DimGray; this.rtxtMessages.Location = new System.Drawing.Point(6, 22); this.rtxtMessages.Name = "rtxtMessages"; this.rtxtMessages.ReadOnly = true; this.rtxtMessages.Size = new System.Drawing.Size(290, 178); this.rtxtMessages.TabIndex = 1; this.rtxtMessages.Text = ""; this.rtxtMessages.WordWrap = false; // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.Control; this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.lChatSttsBar, this.rtxtSend, this.btnSend }); this.panel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.panel1.Location = new System.Drawing.Point(0, 208); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(304, 53); this.panel1.TabIndex = 3; // // lChatSttsBar // this.lChatSttsBar.Location = new System.Drawing.Point(0, 35); this.lChatSttsBar.Name = "lChatSttsBar"; this.lChatSttsBar.Size = new System.Drawing.Size(304, 18); this.lChatSttsBar.TabIndex = 2; // // btnSend // this.btnSend.Anchor = (System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right); this.btnSend.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(192)), ((System.Byte)(192)), ((System.Byte)(0))); this.btnSend.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.btnSend.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(255)), ((System.Byte)(192))); this.btnSend.Location = new System.Drawing.Point(232, 0); this.btnSend.Name = "btnSend"; this.btnSend.Size = new System.Drawing.Size(64, 36); this.btnSend.TabIndex = 0; this.btnSend.Text = "&Send"; this.btnSend.Click += new System.EventHandler(this.btnSend_Click_1); // // panel2 // this.panel2.BackColor = System.Drawing.SystemColors.Control; this.panel2.Controls.AddRange(new System.Windows.Forms.Control[] { this.rtxtMessages }); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(304, 261); this.panel2.TabIndex = 4; // // panel3 // this.panel3.BackColor = System.Drawing.Color.Silver; this.panel3.Controls.AddRange(new System.Windows.Forms.Control[] { this.panel1, this.panel2 }); this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; this.panel3.Name = "panel3"; this.panel3.Size = new System.Drawing.Size(304, 261); this.panel3.TabIndex = 5; // // ClientsStatus // this.ClientsStatus.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.ClientsStatus.ToolTipText = "Listener"; // // RecivingTimer // this.RecivingTimer.Enabled = true; this.RecivingTimer.Interval = 200; this.RecivingTimer.Tick += new System.EventHandler(this.RecivingTimer_Tick); // // lbCopyright // this.lbCopyright.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.lbCopyright.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.lbCopyright.Location = new System.Drawing.Point(93, 5); this.lbCopyright.Name = "lbCopyright"; this.lbCopyright.Size = new System.Drawing.Size(200, 12); this.lbCopyright.TabIndex = 6; this.lbCopyright.Text = "© 2001 www.dreamtechsoftware.com"; // // frmChat // this.AcceptButton = this.btnSend; this.AutoScale = false; this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.CausesValidation = false; this.ClientSize = new System.Drawing.Size(304, 261); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.lbCopyright, this.panel3 }); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MinimumSize = new System.Drawing.Size(312, 288); this.Name = "frmChat"; this.Text = "Chat"; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmChat_Closing); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); this.panel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ClientsStatus)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.butexcel = new System.Windows.Forms.Button(); this.cmbck = new System.Windows.Forms.ComboBox(); this.lblck = new System.Windows.Forms.Label(); this.cmbyjks = new System.Windows.Forms.ComboBox(); this.label6 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cmbmonth = new System.Windows.Forms.ComboBox(); this.label3 = new System.Windows.Forms.Label(); this.cmbyear = new System.Windows.Forms.ComboBox(); this.rdo2 = new System.Windows.Forms.RadioButton(); this.butquit = new System.Windows.Forms.Button(); this.butprint = new System.Windows.Forms.Button(); this.buttj = new System.Windows.Forms.Button(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.rdo1 = new System.Windows.Forms.RadioButton(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel4 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle2 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn18 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn19 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn17 = new System.Windows.Forms.DataGridTextBoxColumn(); this.col_批次号 = new System.Windows.Forms.DataGridTextBoxColumn(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.butexcel); this.groupBox1.Controls.Add(this.cmbck); this.groupBox1.Controls.Add(this.lblck); this.groupBox1.Controls.Add(this.cmbyjks); this.groupBox1.Controls.Add(this.label6); this.groupBox1.Controls.Add(this.label1); this.groupBox1.Controls.Add(this.cmbmonth); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.cmbyear); this.groupBox1.Controls.Add(this.rdo2); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.buttj); this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.rdo1); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(944, 87); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // butexcel // this.butexcel.Location = new System.Drawing.Point(751, 40); this.butexcel.Name = "butexcel"; this.butexcel.Size = new System.Drawing.Size(72, 32); this.butexcel.TabIndex = 42; this.butexcel.Text = "导出(&E)"; this.butexcel.Click += new System.EventHandler(this.butexcel_Click); // // cmbck // this.cmbck.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbck.Location = new System.Drawing.Point(337, 17); this.cmbck.Name = "cmbck"; this.cmbck.Size = new System.Drawing.Size(141, 20); this.cmbck.TabIndex = 32; // // lblck // this.lblck.Location = new System.Drawing.Point(283, 22); this.lblck.Name = "lblck"; this.lblck.Size = new System.Drawing.Size(67, 16); this.lblck.TabIndex = 31; this.lblck.Text = "仓库名称"; // // cmbyjks // this.cmbyjks.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyjks.Location = new System.Drawing.Point(100, 17); this.cmbyjks.Name = "cmbyjks"; this.cmbyjks.Size = new System.Drawing.Size(176, 20); this.cmbyjks.TabIndex = 30; this.cmbyjks.SelectedIndexChanged += new System.EventHandler(this.cmbyjks_SelectionChangeCommitted); // // label6 // this.label6.Location = new System.Drawing.Point(36, 22); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(67, 16); this.label6.TabIndex = 29; this.label6.Text = "药剂科室"; // // label1 // this.label1.ForeColor = System.Drawing.Color.Black; this.label1.Location = new System.Drawing.Point(580, 56); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(31, 16); this.label1.TabIndex = 22; this.label1.Text = "月"; // // cmbmonth // this.cmbmonth.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbmonth.Items.AddRange(new object[] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" }); this.cmbmonth.Location = new System.Drawing.Point(513, 47); this.cmbmonth.Name = "cmbmonth"; this.cmbmonth.Size = new System.Drawing.Size(56, 20); this.cmbmonth.TabIndex = 21; this.cmbmonth.SelectedIndexChanged += new System.EventHandler(this.cmbmonth_SelectedIndexChanged); // // label3 // this.label3.ForeColor = System.Drawing.Color.Black; this.label3.Location = new System.Drawing.Point(491, 53); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 16); this.label3.TabIndex = 20; this.label3.Text = "年"; // // cmbyear // this.cmbyear.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyear.Items.AddRange(new object[] { "2005", "2006", "2007", "2008", "2009", "2010" }); this.cmbyear.Location = new System.Drawing.Point(427, 47); this.cmbyear.Name = "cmbyear"; this.cmbyear.Size = new System.Drawing.Size(64, 20); this.cmbyear.TabIndex = 19; this.cmbyear.SelectedIndexChanged += new System.EventHandler(this.cmbyear_SelectedIndexChanged); // // rdo2 // this.rdo2.Checked = true; this.rdo2.Location = new System.Drawing.Point(347, 47); this.rdo2.Name = "rdo2"; this.rdo2.Size = new System.Drawing.Size(96, 25); this.rdo2.TabIndex = 13; this.rdo2.TabStop = true; this.rdo2.Text = "按月份查询"; this.rdo2.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // butquit // this.butquit.Location = new System.Drawing.Point(826, 40); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(63, 32); this.butquit.TabIndex = 11; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butprint // this.butprint.Location = new System.Drawing.Point(684, 40); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(65, 32); this.butprint.TabIndex = 10; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // buttj // this.buttj.Location = new System.Drawing.Point(619, 40); this.buttj.Name = "buttj"; this.buttj.Size = new System.Drawing.Size(64, 32); this.buttj.TabIndex = 9; this.buttj.Text = "统计(&T)"; this.buttj.Click += new System.EventHandler(this.buttj_Click); // // dtp2 // this.dtp2.Location = new System.Drawing.Point(227, 47); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(113, 21); this.dtp2.TabIndex = 5; // // label2 // this.label2.Location = new System.Drawing.Point(211, 56); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 4; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(100, 47); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(109, 21); this.dtp1.TabIndex = 3; // // rdo1 // this.rdo1.Location = new System.Drawing.Point(35, 45); this.rdo1.Name = "rdo1"; this.rdo1.Size = new System.Drawing.Size(96, 25); this.rdo1.TabIndex = 12; this.rdo1.Text = "按日期从"; this.rdo1.CheckedChanged += new System.EventHandler(this.rdo1_CheckedChanged); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 502); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3, this.statusBarPanel4 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(944, 23); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // statusBarPanel4 // this.statusBarPanel4.Name = "statusBarPanel4"; this.statusBarPanel4.Width = 1000; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 87); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(944, 415); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "统计情况"; // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(938, 395); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle2 }); // // dataGridTableStyle2 // this.dataGridTableStyle2.AllowSorting = false; this.dataGridTableStyle2.DataGrid = this.myDataGrid1; this.dataGridTableStyle2.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn18, this.dataGridTextBoxColumn5, this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn2, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn19, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn7, this.col_批次号, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn17 }); this.dataGridTableStyle2.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle2.ReadOnly = true; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "序号"; this.dataGridTextBoxColumn4.Width = 40; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "品名"; this.dataGridTextBoxColumn9.Width = 120; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "商品名"; this.dataGridTextBoxColumn10.Width = 120; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "规格"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "厂家"; this.dataGridTextBoxColumn15.Width = 75; // // dataGridTextBoxColumn18 // this.dataGridTextBoxColumn18.Format = ""; this.dataGridTextBoxColumn18.FormatInfo = null; this.dataGridTextBoxColumn18.HeaderText = "进价"; this.dataGridTextBoxColumn18.NullText = ""; this.dataGridTextBoxColumn18.Width = 60; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "批发价"; this.dataGridTextBoxColumn5.NullText = ""; this.dataGridTextBoxColumn5.Width = 0; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "零售价"; this.dataGridTextBoxColumn1.NullText = ""; this.dataGridTextBoxColumn1.Width = 60; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "数量"; this.dataGridTextBoxColumn2.Width = 70; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "单位"; this.dataGridTextBoxColumn6.Width = 40; // // dataGridTextBoxColumn19 // this.dataGridTextBoxColumn19.Format = ""; this.dataGridTextBoxColumn19.FormatInfo = null; this.dataGridTextBoxColumn19.HeaderText = "进货金额"; this.dataGridTextBoxColumn19.NullText = ""; this.dataGridTextBoxColumn19.Width = 70; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "批发金额"; this.dataGridTextBoxColumn8.NullText = ""; this.dataGridTextBoxColumn8.Width = 0; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "零售金额"; this.dataGridTextBoxColumn7.Width = 70; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "批号"; this.dataGridTextBoxColumn3.NullText = ""; this.dataGridTextBoxColumn3.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "效期"; this.dataGridTextBoxColumn12.Width = 75; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "货号"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "单据号"; this.dataGridTextBoxColumn16.Width = 60; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "登记日期"; this.dataGridTextBoxColumn14.Width = 80; // // dataGridTextBoxColumn17 // this.dataGridTextBoxColumn17.Format = ""; this.dataGridTextBoxColumn17.FormatInfo = null; this.dataGridTextBoxColumn17.HeaderText = "备注"; this.dataGridTextBoxColumn17.Width = 75; // // col_批次号 // this.col_批次号.Format = ""; this.col_批次号.FormatInfo = null; this.col_批次号.HeaderText = "批次号"; this.col_批次号.Width = 75; // // Frmbsbyhztj // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(944, 525); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmbsbyhztj"; this.Text = "报损报溢统计"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmxspm_Load); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel4)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChatForm)); this.panel1 = new System.Windows.Forms.Panel(); this.label2 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.buttonSend = new System.Windows.Forms.Button(); this.buttonStop = new System.Windows.Forms.Button(); this.textMessage = new System.Windows.Forms.TextBox(); this.textName = new System.Windows.Forms.TextBox(); this.buttonStart = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.textMessages = new System.Windows.Forms.TextBox(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // panel1 // this.panel1.Controls.AddRange(new System.Windows.Forms.Control[] { this.label2, this.label1, this.buttonSend, this.buttonStop, this.textMessage, this.textName, this.buttonStart }); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(568, 112); this.panel1.TabIndex = 0; // // label2 // this.label2.Location = new System.Drawing.Point(312, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(64, 23); this.label2.TabIndex = 4; this.label2.Text = "Message:"; // // label1 // this.label1.Location = new System.Drawing.Point(32, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(56, 23); this.label1.TabIndex = 0; this.label1.Text = "Name:"; // // buttonSend // this.buttonSend.Anchor = (System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right); this.buttonSend.Enabled = false; this.buttonSend.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonSend.Location = new System.Drawing.Point(464, 16); this.buttonSend.Name = "buttonSend"; this.buttonSend.TabIndex = 6; this.buttonSend.Text = "Send"; this.buttonSend.Click += new System.EventHandler(this.OnSend); // // buttonStop // this.buttonStop.Enabled = false; this.buttonStop.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonStop.Location = new System.Drawing.Point(152, 72); this.buttonStop.Name = "buttonStop"; this.buttonStop.Size = new System.Drawing.Size(104, 23); this.buttonStop.TabIndex = 3; this.buttonStop.Text = "Stop"; this.buttonStop.Click += new System.EventHandler(this.OnStop); // // textMessage // this.textMessage.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right); this.textMessage.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textMessage.Location = new System.Drawing.Point(304, 56); this.textMessage.Multiline = true; this.textMessage.Name = "textMessage"; this.textMessage.Size = new System.Drawing.Size(240, 40); this.textMessage.TabIndex = 5; this.textMessage.Text = ""; // // textName // this.textName.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textName.Location = new System.Drawing.Point(104, 24); this.textName.Name = "textName"; this.textName.Size = new System.Drawing.Size(152, 20); this.textName.TabIndex = 1; this.textName.Text = ""; // // buttonStart // this.buttonStart.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.buttonStart.Location = new System.Drawing.Point(32, 72); this.buttonStart.Name = "buttonStart"; this.buttonStart.Size = new System.Drawing.Size(104, 23); this.buttonStart.TabIndex = 2; this.buttonStart.Text = "Start"; this.buttonStart.Click += new System.EventHandler(this.OnStart); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 360); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(568, 22); this.statusBar.TabIndex = 2; // // textMessages // this.textMessages.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.textMessages.Dock = System.Windows.Forms.DockStyle.Fill; this.textMessages.Location = new System.Drawing.Point(0, 112); this.textMessages.Multiline = true; this.textMessages.Name = "textMessages"; this.textMessages.ReadOnly = true; this.textMessages.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.textMessages.Size = new System.Drawing.Size(568, 248); this.textMessages.TabIndex = 1; this.textMessages.Text = ""; // // ChatForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(568, 382); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.textMessages, this.statusBar, this.panel1 }); this.Name = "ChatForm"; this.Text = "Multicast Chat"; this.Closing += new System.ComponentModel.CancelEventHandler(this.OnClosing); this.panel1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.statusBar = new System.Windows.Forms.StatusBar(); this.textBoxHostname = new System.Windows.Forms.TextBox(); this.textBoxQuote = new System.Windows.Forms.TextBox(); this.buttonQuote = new System.Windows.Forms.Button(); this.textBoxPortNumber = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.SuspendLayout(); // // statusBar // this.statusBar.BackColor = System.Drawing.SystemColors.Control; this.statusBar.Location = new System.Drawing.Point(0, 289); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(416, 20); this.statusBar.TabIndex = 6; // // textBoxHostname // this.textBoxHostname.Location = new System.Drawing.Point(96, 24); this.textBoxHostname.Name = "textBoxHostname"; this.textBoxHostname.Size = new System.Drawing.Size(128, 20); this.textBoxHostname.TabIndex = 1; this.textBoxHostname.Text = "localhost"; // // textBoxQuote // this.textBoxQuote.Location = new System.Drawing.Point(16, 64); this.textBoxQuote.Multiline = true; this.textBoxQuote.Name = "textBoxQuote"; this.textBoxQuote.Size = new System.Drawing.Size(376, 160); this.textBoxQuote.TabIndex = 4; this.textBoxQuote.Text = ""; // // buttonQuote // this.buttonQuote.Location = new System.Drawing.Point(16, 240); this.buttonQuote.Name = "buttonQuote"; this.buttonQuote.Size = new System.Drawing.Size(384, 40); this.buttonQuote.TabIndex = 5; this.buttonQuote.Text = "Get Quote"; this.buttonQuote.Click += new System.EventHandler(this.buttonQuote_Click); // // textBoxPortNumber // this.textBoxPortNumber.Location = new System.Drawing.Point(336, 24); this.textBoxPortNumber.Name = "textBoxPort"; this.textBoxPortNumber.Size = new System.Drawing.Size(48, 20); this.textBoxPortNumber.TabIndex = 3; this.textBoxPortNumber.Text = "5678"; // // label1 // this.label1.Location = new System.Drawing.Point(24, 24); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(64, 23); this.label1.TabIndex = 0; this.label1.Text = "Hostname:"; // // label2 // this.label2.Location = new System.Drawing.Point(272, 24); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(40, 23); this.label2.TabIndex = 2; this.label2.Text = "Port:"; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(416, 309); this.Controls.AddRange(new System.Windows.Forms.Control[] { this.buttonQuote, this.statusBar, this.textBoxQuote, this.textBoxPortNumber, this.label2, this.textBoxHostname, this.label1 }); this.Name = "Form1"; this.Text = "Quote of the Day"; this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.exit_button = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.label = new System.Windows.Forms.Label(); this.startEvent = new System.Windows.Forms.Button(); this.timer1 = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // exit_button // this.exit_button.Location = new System.Drawing.Point(168, 48); this.exit_button.Name = "exit_button"; this.exit_button.Size = new System.Drawing.Size(72, 24); this.exit_button.TabIndex = 19; this.exit_button.Text = "Exit"; this.exit_button.Click += new System.EventHandler(this.exit_button_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 86); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(292, 24); this.statusBar.TabIndex = 20; // // label // this.label.Location = new System.Drawing.Point(16, 8); this.label.Name = "label"; this.label.Size = new System.Drawing.Size(264, 32); this.label.TabIndex = 21; this.label.Text = "Copyright (c) Firelight Technologies 2004-2011"; this.label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // startEvent // this.startEvent.Location = new System.Drawing.Point(48, 48); this.startEvent.Name = "startEvent"; this.startEvent.Size = new System.Drawing.Size(72, 24); this.startEvent.TabIndex = 22; this.startEvent.Text = "Start Event"; this.startEvent.Click += new System.EventHandler(this.startEvent_Click); // // timer1 // this.timer1.Enabled = true; this.timer1.Interval = 10; this.timer1.Tick += new System.EventHandler(this.timer1_Tick); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 110); this.Controls.Add(this.startEvent); this.Controls.Add(this.label); this.Controls.Add(this.statusBar); this.Controls.Add(this.exit_button); this.Name = "Form1"; this.Text = "Programmer Sound Example"; this.Load += new System.EventHandler(this.Form1_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form1)); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.menuFileExit = new System.Windows.Forms.MenuItem(); this.menuItem6 = new System.Windows.Forms.MenuItem(); this.menuModelChooseDiagramFile = new System.Windows.Forms.MenuItem(); this.menuModelChooseParameterFile = new System.Windows.Forms.MenuItem(); this.menuModelRun = new System.Windows.Forms.MenuItem(); this.menuItem2 = new System.Windows.Forms.MenuItem(); this.menuEnvironmentSetModuleDirectory = new System.Windows.Forms.MenuItem(); this.menuEnvironmentSetOutputDirectory = new System.Windows.Forms.MenuItem(); this.label3 = new System.Windows.Forms.Label(); this.openFileDialog = new System.Windows.Forms.OpenFileDialog(); this.txtStatusDisplay = new System.Windows.Forms.TextBox(); this.udFrameCount = new System.Windows.Forms.NumericUpDown(); this.statusBar = new System.Windows.Forms.StatusBar(); this.sbTextPanel = new System.Windows.Forms.StatusBarPanel(); this.btnRun = new System.Windows.Forms.Button(); this.btnStop = new System.Windows.Forms.Button(); this.logDisplay = new System.Windows.Forms.RichTextBox(); this.timer = new System.Windows.Forms.Timer(this.components); this.btnAbort = new System.Windows.Forms.Button(); this.folderBrowser = new System.Windows.Forms.FolderBrowserDialog(); this.progressBar = new System.Windows.Forms.ProgressBar(); this.menuHelp = new System.Windows.Forms.MenuItem(); this.menuHelpAbout = new System.Windows.Forms.MenuItem(); ((System.ComponentModel.ISupportInitialize)(this.udFrameCount)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sbTextPanel)).BeginInit(); this.SuspendLayout(); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1, this.menuItem6, this.menuItem2, this.menuHelp }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuFileExit }); this.menuItem1.Text = "&File"; // // menuFileExit // this.menuFileExit.Index = 0; this.menuFileExit.Shortcut = System.Windows.Forms.Shortcut.AltF4; this.menuFileExit.Text = "E&xit"; this.menuFileExit.Click += new System.EventHandler(this.menuFileExit_Click); // // menuItem6 // this.menuItem6.Index = 1; this.menuItem6.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuModelChooseDiagramFile, this.menuModelChooseParameterFile, this.menuModelRun }); this.menuItem6.Text = "&Model"; // // menuModelChooseDiagramFile // this.menuModelChooseDiagramFile.Index = 0; this.menuModelChooseDiagramFile.Shortcut = System.Windows.Forms.Shortcut.CtrlD; this.menuModelChooseDiagramFile.Text = "Choose Diagram File..."; this.menuModelChooseDiagramFile.Click += new System.EventHandler(this.menuModelChooseDiagramFile_Click); // // menuModelChooseParameterFile // this.menuModelChooseParameterFile.Index = 1; this.menuModelChooseParameterFile.Shortcut = System.Windows.Forms.Shortcut.CtrlP; this.menuModelChooseParameterFile.Text = "Choose Parameter File..."; this.menuModelChooseParameterFile.Click += new System.EventHandler(this.menuModelChooseParameterFile_Click); // // menuModelRun // this.menuModelRun.Index = 2; this.menuModelRun.Shortcut = System.Windows.Forms.Shortcut.F5; this.menuModelRun.Text = "Run Model..."; // // menuItem2 // this.menuItem2.Index = 2; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuEnvironmentSetModuleDirectory, this.menuEnvironmentSetOutputDirectory }); this.menuItem2.Text = "Environment"; // // menuEnvironmentSetModuleDirectory // this.menuEnvironmentSetModuleDirectory.Index = 0; this.menuEnvironmentSetModuleDirectory.Text = "Set Module Directory..."; this.menuEnvironmentSetModuleDirectory.Click += new System.EventHandler(this.menuEnvironmentSetModuleDirectory_Click); // // menuEnvironmentSetOutputDirectory // this.menuEnvironmentSetOutputDirectory.Index = 1; this.menuEnvironmentSetOutputDirectory.Text = "Set Output Directory..."; this.menuEnvironmentSetOutputDirectory.Click += new System.EventHandler(this.menuEnvironmentSetOutputDirectory_Click); // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(8, 88); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(68, 16); this.label3.TabIndex = 7; this.label3.Text = "Frame count"; // // txtStatusDisplay // this.txtStatusDisplay.AcceptsReturn = true; this.txtStatusDisplay.AcceptsTab = true; this.txtStatusDisplay.BackColor = System.Drawing.SystemColors.Control; this.txtStatusDisplay.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; this.txtStatusDisplay.Location = new System.Drawing.Point(8, 8); this.txtStatusDisplay.Multiline = true; this.txtStatusDisplay.Name = "txtStatusDisplay"; this.txtStatusDisplay.ReadOnly = true; this.txtStatusDisplay.Size = new System.Drawing.Size(536, 72); this.txtStatusDisplay.TabIndex = 14; this.txtStatusDisplay.TabStop = false; this.txtStatusDisplay.Text = "Status Display"; // // udFrameCount // this.udFrameCount.Location = new System.Drawing.Point(8, 104); this.udFrameCount.Maximum = new System.Decimal(new int[] { 1000000, 0, 0, 0 }); this.udFrameCount.Name = "udFrameCount"; this.udFrameCount.Size = new System.Drawing.Size(72, 20); this.udFrameCount.TabIndex = 1; this.udFrameCount.ValueChanged += new System.EventHandler(this.udFrameCount_ValueChanged); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 325); this.statusBar.Name = "statusBar"; this.statusBar.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.sbTextPanel }); this.statusBar.ShowPanels = true; this.statusBar.Size = new System.Drawing.Size(552, 22); this.statusBar.TabIndex = 16; // // sbTextPanel // this.sbTextPanel.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.sbTextPanel.Text = "Not Ready"; this.sbTextPanel.Width = 200; // // btnRun // this.btnRun.Enabled = false; this.btnRun.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnRun.Location = new System.Drawing.Point(104, 104); this.btnRun.Name = "btnRun"; this.btnRun.TabIndex = 2; this.btnRun.Text = "Run"; this.btnRun.Click += new System.EventHandler(this.btnRun_Click); // // btnStop // this.btnStop.Enabled = false; this.btnStop.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnStop.Location = new System.Drawing.Point(192, 104); this.btnStop.Name = "btnStop"; this.btnStop.TabIndex = 3; this.btnStop.Text = "Stop"; this.btnStop.Click += new System.EventHandler(this.btnStop_Click); // // logDisplay // this.logDisplay.AcceptsTab = true; this.logDisplay.Location = new System.Drawing.Point(8, 128); this.logDisplay.Name = "logDisplay"; this.logDisplay.ReadOnly = true; this.logDisplay.ScrollBars = System.Windows.Forms.RichTextBoxScrollBars.Vertical; this.logDisplay.Size = new System.Drawing.Size(536, 168); this.logDisplay.TabIndex = 19; this.logDisplay.TabStop = false; this.logDisplay.Text = ""; this.logDisplay.TextChanged += new System.EventHandler(this.logDisplay_TextChanged); // // timer // this.timer.Tick += new System.EventHandler(this.timer_Tick); // // btnAbort // this.btnAbort.Enabled = false; this.btnAbort.FlatStyle = System.Windows.Forms.FlatStyle.System; this.btnAbort.Location = new System.Drawing.Point(280, 104); this.btnAbort.Name = "btnAbort"; this.btnAbort.TabIndex = 20; this.btnAbort.Text = "Abort"; this.btnAbort.Click += new System.EventHandler(this.btnAbort_Click); // // progressBar // this.progressBar.Location = new System.Drawing.Point(204, 320); this.progressBar.Name = "progressBar"; this.progressBar.Size = new System.Drawing.Size(328, 16); this.progressBar.TabIndex = 21; // // menuHelp // this.menuHelp.Index = 3; this.menuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuHelpAbout }); this.menuHelp.Text = "Help"; // // menuHelpAbout // this.menuHelpAbout.Index = 0; this.menuHelpAbout.Text = "About Desktop Earlab..."; this.menuHelpAbout.Click += new System.EventHandler(this.menuHelpAbout_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.BackColor = System.Drawing.SystemColors.Control; this.ClientSize = new System.Drawing.Size(552, 347); this.Controls.Add(this.progressBar); this.Controls.Add(this.btnAbort); this.Controls.Add(this.logDisplay); this.Controls.Add(this.btnStop); this.Controls.Add(this.btnRun); this.Controls.Add(this.udFrameCount); this.Controls.Add(this.txtStatusDisplay); this.Controls.Add(this.label3); this.Controls.Add(this.statusBar); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Menu = this.mainMenu1; this.MinimumSize = new System.Drawing.Size(448, 381); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "Desktop Earlab"; this.Resize += new System.EventHandler(this.Form1_Resize); this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); this.Load += new System.EventHandler(this.Form1_Load); this.LocationChanged += new System.EventHandler(this.Form1_LocationChanged); ((System.ComponentModel.ISupportInitialize)(this.udFrameCount)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sbTextPanel)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); this.label = new System.Windows.Forms.Label(); this.playButton = new System.Windows.Forms.Button(); this.pauseButton = new System.Windows.Forms.Button(); this.exit_button = new System.Windows.Forms.Button(); this.statusBar = new System.Windows.Forms.StatusBar(); this.timer = new System.Windows.Forms.Timer(this.components); this.SuspendLayout(); // // label // this.label.Location = new System.Drawing.Point(16, 8); this.label.Name = "label"; this.label.Size = new System.Drawing.Size(264, 32); this.label.TabIndex = 10; this.label.Text = "Copyright (c) Firelight Technologies 2004-2011"; this.label.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // playButton // this.playButton.Location = new System.Drawing.Point(8, 48); this.playButton.Name = "playButton"; this.playButton.Size = new System.Drawing.Size(136, 32); this.playButton.TabIndex = 25; this.playButton.Text = "Play"; this.playButton.Click += new System.EventHandler(this.playButton_Click); // // pauseButton // this.pauseButton.Location = new System.Drawing.Point(152, 48); this.pauseButton.Name = "pauseButton"; this.pauseButton.Size = new System.Drawing.Size(136, 32); this.pauseButton.TabIndex = 26; this.pauseButton.Text = "Pause/Resume"; this.pauseButton.Click += new System.EventHandler(this.pauseButton_Click); // // exit_button // this.exit_button.Location = new System.Drawing.Point(110, 88); this.exit_button.Name = "exit_button"; this.exit_button.Size = new System.Drawing.Size(72, 24); this.exit_button.TabIndex = 27; this.exit_button.Text = "Exit"; this.exit_button.Click += new System.EventHandler(this.exit_button_Click); // // statusBar // this.statusBar.Location = new System.Drawing.Point(0, 115); this.statusBar.Name = "statusBar"; this.statusBar.Size = new System.Drawing.Size(292, 24); this.statusBar.TabIndex = 28; // // timer // this.timer.Enabled = true; this.timer.Interval = 10; this.timer.Tick += new System.EventHandler(this.timer_Tick); // // filecallbacks // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(292, 139); this.Controls.Add(this.statusBar); this.Controls.Add(this.exit_button); this.Controls.Add(this.pauseButton); this.Controls.Add(this.playButton); this.Controls.Add(this.label); this.Name = "filecallbacks"; this.Text = "File Callbacks Example"; this.Load += new System.EventHandler(this.filecallbacks_Load); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.refreshCountPanel = new System.Windows.Forms.StatusBarPanel(); this.tickCountPanel = new System.Windows.Forms.StatusBarPanel(); this.averageTicksPanel = new System.Windows.Forms.StatusBarPanel(); ((System.ComponentModel.ISupportInitialize)(this.refreshCountPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tickCountPanel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.averageTicksPanel)).BeginInit(); this.SuspendLayout(); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 634); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.refreshCountPanel, this.tickCountPanel, this.averageTicksPanel }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(1012, 22); this.statusBar1.TabIndex = 0; // // refreshCountPanel // this.refreshCountPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.refreshCountPanel.Name = "refreshCountPanel"; this.refreshCountPanel.Width = 331; // // tickCountPanel // this.tickCountPanel.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.tickCountPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.tickCountPanel.Name = "tickCountPanel"; this.tickCountPanel.Width = 331; // // averageTicksPanel // this.averageTicksPanel.Alignment = System.Windows.Forms.HorizontalAlignment.Right; this.averageTicksPanel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.averageTicksPanel.Name = "averageTicksPanel"; this.averageTicksPanel.Text = "statusBarPanel1"; this.averageTicksPanel.Width = 331; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.BorderThickness = 2; this.CaptionAlign = System.Windows.Forms.HorizontalAlignment.Left; this.CaptionFont = new System.Drawing.Font("Segoe UI Semibold", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.CaptionForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(78)))), ((int)(((byte)(77)))), ((int)(((byte)(77))))); this.ClientSize = new System.Drawing.Size(1012, 656); this.Controls.Add(this.statusBar1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MetroColor = System.Drawing.Color.FromArgb(((int)(((byte)(27)))), ((int)(((byte)(161)))), ((int)(((byte)(226))))); this.MinimumSize = new System.Drawing.Size(500, 400); this.Name = "Form1"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Refresh Grid "; ((System.ComponentModel.ISupportInitialize)(this.refreshCountPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tickCountPanel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.averageTicksPanel)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.buttonInstall = new System.Windows.Forms.Button(); this.buttonUninstall = new System.Windows.Forms.Button(); this.textBoxMessages = new System.Windows.Forms.TextBox(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.buttonAbout = new System.Windows.Forms.Button(); this.SuspendLayout(); // // buttonInstall // this.buttonInstall.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonInstall.FlatStyle = System.Windows.Forms.FlatStyle.System; this.buttonInstall.Location = new System.Drawing.Point(8, 8); this.buttonInstall.Name = "buttonInstall"; this.buttonInstall.Size = new System.Drawing.Size(376, 32); this.buttonInstall.TabIndex = 0; this.buttonInstall.Text = "&Install Mouse and Keyboard Hooks"; this.buttonInstall.Click += new System.EventHandler(this.buttonInstall_Click); // // buttonUninstall // this.buttonUninstall.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.buttonUninstall.FlatStyle = System.Windows.Forms.FlatStyle.System; this.buttonUninstall.Location = new System.Drawing.Point(8, 44); this.buttonUninstall.Name = "buttonUninstall"; this.buttonUninstall.Size = new System.Drawing.Size(376, 32); this.buttonUninstall.TabIndex = 1; this.buttonUninstall.Text = "&Uninstall Mouse and Keyboard Hooks"; this.buttonUninstall.Click += new System.EventHandler(this.buttonUninstall_Click); // // textBoxMessages // this.textBoxMessages.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.textBoxMessages.BackColor = System.Drawing.Color.White; this.textBoxMessages.Location = new System.Drawing.Point(0, 84); this.textBoxMessages.Multiline = true; this.textBoxMessages.Name = "textBoxMessages"; this.textBoxMessages.ReadOnly = true; this.textBoxMessages.ScrollBars = System.Windows.Forms.ScrollBars.Both; this.textBoxMessages.Size = new System.Drawing.Size(456, 320); this.textBoxMessages.TabIndex = 2; this.textBoxMessages.TabStop = false; this.textBoxMessages.Text = ""; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 404); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(456, 22); this.statusBar1.TabIndex = 3; // // buttonAbout // this.buttonAbout.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.buttonAbout.FlatStyle = System.Windows.Forms.FlatStyle.System; this.buttonAbout.Location = new System.Drawing.Point(392, 24); this.buttonAbout.Name = "buttonAbout"; this.buttonAbout.Size = new System.Drawing.Size(56, 36); this.buttonAbout.TabIndex = 4; this.buttonAbout.Text = "&About"; this.buttonAbout.Click += new System.EventHandler(this.buttonAbout_Click); // // MainForm // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(456, 426); this.Controls.Add(this.buttonAbout); this.Controls.Add(this.statusBar1); this.Controls.Add(this.textBoxMessages); this.Controls.Add(this.buttonUninstall); this.Controls.Add(this.buttonInstall); this.Name = "MainForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "System Hook Test Application"; this.ResumeLayout(false); }
private void InitializeComponent() { System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmMain)); this.mnuMain = new System.Windows.Forms.MainMenu(); this.mnuFile = new System.Windows.Forms.MenuItem(); this.mnuExit = new System.Windows.Forms.MenuItem(); this.mnuHelp = new System.Windows.Forms.MenuItem(); this.mnuAbout = new System.Windows.Forms.MenuItem(); this.Label1 = new System.Windows.Forms.Label(); this.TabControl1 = new System.Windows.Forms.TabControl(); this.pgeModifyData = new System.Windows.Forms.TabPage(); this.GroupBox3 = new System.Windows.Forms.GroupBox(); this.Label6 = new System.Windows.Forms.Label(); this.txtProductID = new System.Windows.Forms.TextBox(); this.btnUpdateProduct = new System.Windows.Forms.Button(); this.btnGetProducts = new System.Windows.Forms.Button(); this.btnDeleteProduct = new System.Windows.Forms.Button(); this.Label5 = new System.Windows.Forms.Label(); this.Label4 = new System.Windows.Forms.Label(); this.Label3 = new System.Windows.Forms.Label(); this.btnAddProduct = new System.Windows.Forms.Button(); this.txtUnitPrice = new System.Windows.Forms.TextBox(); this.txtSupplierID2 = new System.Windows.Forms.TextBox(); this.txtProductName = new System.Windows.Forms.TextBox(); this.GroupBox1 = new System.Windows.Forms.GroupBox(); this.btnGetSuppliers = new System.Windows.Forms.Button(); this.Label2 = new System.Windows.Forms.Label(); this.txtSupplierID1 = new System.Windows.Forms.TextBox(); this.btnUpdateSupplier = new System.Windows.Forms.Button(); this.btnDeleteSupplier = new System.Windows.Forms.Button(); this.Label7 = new System.Windows.Forms.Label(); this.Label8 = new System.Windows.Forms.Label(); this.btnAddSupplier = new System.Windows.Forms.Button(); this.txtPhone = new System.Windows.Forms.TextBox(); this.txtCompanyName = new System.Windows.Forms.TextBox(); this.pgeTips = new System.Windows.Forms.TabPage(); this.txtTips = new System.Windows.Forms.TextBox(); this.sbrStatus = new System.Windows.Forms.StatusBar(); this.TabControl1.SuspendLayout(); this.pgeModifyData.SuspendLayout(); this.GroupBox3.SuspendLayout(); this.GroupBox1.SuspendLayout(); this.pgeTips.SuspendLayout(); this.SuspendLayout(); // // mnuMain // this.mnuMain.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuFile, this.mnuHelp }); // // mnuFile // this.mnuFile.Index = 0; this.mnuFile.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuExit }); this.mnuFile.Text = "&File"; // // mnuExit // this.mnuExit.Index = 0; this.mnuExit.Text = "E&xit"; this.mnuExit.Click += new System.EventHandler(this.mnuExit_Click); // // mnuHelp // this.mnuHelp.Index = 1; this.mnuHelp.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.mnuAbout }); this.mnuHelp.Text = "&Help"; // // mnuAbout // this.mnuAbout.Index = 0; this.mnuAbout.Text = "Text Comes from AssemblyInfo"; this.mnuAbout.Click += new System.EventHandler(this.mnuAbout_Click); // // Label1 // this.Label1.AutoSize = true; this.Label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.Label1.Location = new System.Drawing.Point(16, 16); this.Label1.Name = "Label1"; this.Label1.Size = new System.Drawing.Size(419, 22); this.Label1.TabIndex = 0; this.Label1.Text = "Implement Role-Based Security in Enterprise Services"; // // TabControl1 // this.TabControl1.Controls.Add(this.pgeModifyData); this.TabControl1.Controls.Add(this.pgeTips); this.TabControl1.Location = new System.Drawing.Point(16, 48); this.TabControl1.Name = "TabControl1"; this.TabControl1.SelectedIndex = 0; this.TabControl1.Size = new System.Drawing.Size(576, 328); this.TabControl1.TabIndex = 1; this.TabControl1.TabStop = false; // // pgeModifyData // this.pgeModifyData.Controls.Add(this.GroupBox3); this.pgeModifyData.Controls.Add(this.GroupBox1); this.pgeModifyData.Location = new System.Drawing.Point(4, 22); this.pgeModifyData.Name = "pgeModifyData"; this.pgeModifyData.Size = new System.Drawing.Size(568, 302); this.pgeModifyData.TabIndex = 0; this.pgeModifyData.Text = "Modify Data"; // // GroupBox3 // this.GroupBox3.Controls.Add(this.Label6); this.GroupBox3.Controls.Add(this.txtProductID); this.GroupBox3.Controls.Add(this.btnUpdateProduct); this.GroupBox3.Controls.Add(this.btnGetProducts); this.GroupBox3.Controls.Add(this.btnDeleteProduct); this.GroupBox3.Controls.Add(this.Label5); this.GroupBox3.Controls.Add(this.Label4); this.GroupBox3.Controls.Add(this.Label3); this.GroupBox3.Controls.Add(this.btnAddProduct); this.GroupBox3.Controls.Add(this.txtUnitPrice); this.GroupBox3.Controls.Add(this.txtSupplierID2); this.GroupBox3.Controls.Add(this.txtProductName); this.GroupBox3.Location = new System.Drawing.Point(28, 144); this.GroupBox3.Name = "GroupBox3"; this.GroupBox3.Size = new System.Drawing.Size(516, 136); this.GroupBox3.TabIndex = 2; this.GroupBox3.TabStop = false; this.GroupBox3.Text = "Products"; // // Label6 // this.Label6.AutoSize = true; this.Label6.Location = new System.Drawing.Point(16, 96); this.Label6.Name = "Label6"; this.Label6.Size = new System.Drawing.Size(58, 16); this.Label6.TabIndex = 6; this.Label6.Text = "Product ID"; // // txtProductID // this.txtProductID.Location = new System.Drawing.Point(104, 96); this.txtProductID.Name = "txtProductID"; this.txtProductID.Size = new System.Drawing.Size(152, 20); this.txtProductID.TabIndex = 7; this.txtProductID.Text = ""; this.txtProductID.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // btnUpdateProduct // this.btnUpdateProduct.Enabled = false; this.btnUpdateProduct.Location = new System.Drawing.Point(392, 24); this.btnUpdateProduct.Name = "btnUpdateProduct"; this.btnUpdateProduct.Size = new System.Drawing.Size(104, 23); this.btnUpdateProduct.TabIndex = 9; this.btnUpdateProduct.Text = "Update P&roduct"; this.btnUpdateProduct.Click += new System.EventHandler(this.btnUpdateProduct_Click); // // btnGetProducts // this.btnGetProducts.Location = new System.Drawing.Point(280, 24); this.btnGetProducts.Name = "btnGetProducts"; this.btnGetProducts.Size = new System.Drawing.Size(104, 23); this.btnGetProducts.TabIndex = 8; this.btnGetProducts.Text = "G&et Products"; this.btnGetProducts.Click += new System.EventHandler(this.btnGetProducts_Click); // // btnDeleteProduct // this.btnDeleteProduct.Enabled = false; this.btnDeleteProduct.Location = new System.Drawing.Point(392, 64); this.btnDeleteProduct.Name = "btnDeleteProduct"; this.btnDeleteProduct.Size = new System.Drawing.Size(104, 23); this.btnDeleteProduct.TabIndex = 11; this.btnDeleteProduct.Text = "De&lete Product"; this.btnDeleteProduct.Click += new System.EventHandler(this.btnDeleteProduct_Click); // // Label5 // this.Label5.AutoSize = true; this.Label5.Location = new System.Drawing.Point(16, 72); this.Label5.Name = "Label5"; this.Label5.Size = new System.Drawing.Size(53, 16); this.Label5.TabIndex = 4; this.Label5.Text = "Unit Price"; // // Label4 // this.Label4.AutoSize = true; this.Label4.Location = new System.Drawing.Point(16, 48); this.Label4.Name = "Label4"; this.Label4.Size = new System.Drawing.Size(60, 16); this.Label4.TabIndex = 2; this.Label4.Text = "Supplier ID"; // // Label3 // this.Label3.AutoSize = true; this.Label3.Location = new System.Drawing.Point(16, 24); this.Label3.Name = "Label3"; this.Label3.Size = new System.Drawing.Size(76, 16); this.Label3.TabIndex = 0; this.Label3.Text = "Product Name"; // // btnAddProduct // this.btnAddProduct.Enabled = false; this.btnAddProduct.Location = new System.Drawing.Point(280, 64); this.btnAddProduct.Name = "btnAddProduct"; this.btnAddProduct.Size = new System.Drawing.Size(104, 23); this.btnAddProduct.TabIndex = 10; this.btnAddProduct.Text = "Add &Product"; this.btnAddProduct.Click += new System.EventHandler(this.btnAddProduct_Click); // // txtUnitPrice // this.txtUnitPrice.Location = new System.Drawing.Point(104, 72); this.txtUnitPrice.Name = "txtUnitPrice"; this.txtUnitPrice.Size = new System.Drawing.Size(152, 20); this.txtUnitPrice.TabIndex = 5; this.txtUnitPrice.Text = ""; this.txtUnitPrice.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // txtSupplierID2 // this.txtSupplierID2.Location = new System.Drawing.Point(104, 48); this.txtSupplierID2.Name = "txtSupplierID2"; this.txtSupplierID2.Size = new System.Drawing.Size(152, 20); this.txtSupplierID2.TabIndex = 3; this.txtSupplierID2.Text = ""; this.txtSupplierID2.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // txtProductName // this.txtProductName.Location = new System.Drawing.Point(104, 24); this.txtProductName.Name = "txtProductName"; this.txtProductName.Size = new System.Drawing.Size(152, 20); this.txtProductName.TabIndex = 1; this.txtProductName.Text = ""; this.txtProductName.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // GroupBox1 // this.GroupBox1.Controls.Add(this.btnGetSuppliers); this.GroupBox1.Controls.Add(this.Label2); this.GroupBox1.Controls.Add(this.txtSupplierID1); this.GroupBox1.Controls.Add(this.btnUpdateSupplier); this.GroupBox1.Controls.Add(this.btnDeleteSupplier); this.GroupBox1.Controls.Add(this.Label7); this.GroupBox1.Controls.Add(this.Label8); this.GroupBox1.Controls.Add(this.btnAddSupplier); this.GroupBox1.Controls.Add(this.txtPhone); this.GroupBox1.Controls.Add(this.txtCompanyName); this.GroupBox1.Location = new System.Drawing.Point(28, 27); this.GroupBox1.Name = "GroupBox1"; this.GroupBox1.Size = new System.Drawing.Size(516, 109); this.GroupBox1.TabIndex = 0; this.GroupBox1.TabStop = false; this.GroupBox1.Text = "Suppliers"; // // btnGetSuppliers // this.btnGetSuppliers.Location = new System.Drawing.Point(280, 24); this.btnGetSuppliers.Name = "btnGetSuppliers"; this.btnGetSuppliers.Size = new System.Drawing.Size(104, 23); this.btnGetSuppliers.TabIndex = 6; this.btnGetSuppliers.Text = "&Get Suppliers"; this.btnGetSuppliers.Click += new System.EventHandler(this.btnGetSuppliers_Click); // // Label2 // this.Label2.AutoSize = true; this.Label2.Location = new System.Drawing.Point(16, 72); this.Label2.Name = "Label2"; this.Label2.Size = new System.Drawing.Size(60, 16); this.Label2.TabIndex = 4; this.Label2.Text = "Supplier ID"; // // txtSupplierID1 // this.txtSupplierID1.Location = new System.Drawing.Point(104, 72); this.txtSupplierID1.Name = "txtSupplierID1"; this.txtSupplierID1.Size = new System.Drawing.Size(152, 20); this.txtSupplierID1.TabIndex = 5; this.txtSupplierID1.Text = ""; this.txtSupplierID1.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // btnUpdateSupplier // this.btnUpdateSupplier.Enabled = false; this.btnUpdateSupplier.Location = new System.Drawing.Point(392, 24); this.btnUpdateSupplier.Name = "btnUpdateSupplier"; this.btnUpdateSupplier.Size = new System.Drawing.Size(104, 23); this.btnUpdateSupplier.TabIndex = 7; this.btnUpdateSupplier.Text = "&Update Supplier"; this.btnUpdateSupplier.Click += new System.EventHandler(this.btnUpdateSupplier_Click); // // btnDeleteSupplier // this.btnDeleteSupplier.Enabled = false; this.btnDeleteSupplier.Location = new System.Drawing.Point(392, 64); this.btnDeleteSupplier.Name = "btnDeleteSupplier"; this.btnDeleteSupplier.Size = new System.Drawing.Size(104, 23); this.btnDeleteSupplier.TabIndex = 9; this.btnDeleteSupplier.Text = "&Delete Supplier"; this.btnDeleteSupplier.Click += new System.EventHandler(this.btnDeleteSupplier_Click); // // Label7 // this.Label7.AutoSize = true; this.Label7.Location = new System.Drawing.Point(16, 48); this.Label7.Name = "Label7"; this.Label7.Size = new System.Drawing.Size(37, 16); this.Label7.TabIndex = 2; this.Label7.Text = "Phone"; // // Label8 // this.Label8.AutoSize = true; this.Label8.Location = new System.Drawing.Point(16, 24); this.Label8.Name = "Label8"; this.Label8.Size = new System.Drawing.Size(86, 16); this.Label8.TabIndex = 0; this.Label8.Text = "Company Name"; // // btnAddSupplier // this.btnAddSupplier.Enabled = false; this.btnAddSupplier.Location = new System.Drawing.Point(280, 64); this.btnAddSupplier.Name = "btnAddSupplier"; this.btnAddSupplier.Size = new System.Drawing.Size(104, 23); this.btnAddSupplier.TabIndex = 8; this.btnAddSupplier.Text = "&Add Supplier"; this.btnAddSupplier.Click += new System.EventHandler(this.btnAddSupplier_Click); // // txtPhone // this.txtPhone.Location = new System.Drawing.Point(104, 48); this.txtPhone.Name = "txtPhone"; this.txtPhone.Size = new System.Drawing.Size(152, 20); this.txtPhone.TabIndex = 3; this.txtPhone.Text = ""; this.txtPhone.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // txtCompanyName // this.txtCompanyName.Location = new System.Drawing.Point(104, 24); this.txtCompanyName.Name = "txtCompanyName"; this.txtCompanyName.Size = new System.Drawing.Size(152, 20); this.txtCompanyName.TabIndex = 1; this.txtCompanyName.Text = ""; this.txtCompanyName.TextChanged += new System.EventHandler(this.textBoxes_TextChanged); // // pgeTips // this.pgeTips.Controls.Add(this.txtTips); this.pgeTips.Location = new System.Drawing.Point(4, 22); this.pgeTips.Name = "pgeTips"; this.pgeTips.Size = new System.Drawing.Size(568, 302); this.pgeTips.TabIndex = 1; this.pgeTips.Text = "Tips"; // // txtTips // this.txtTips.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.txtTips.BorderStyle = System.Windows.Forms.BorderStyle.None; this.txtTips.Location = new System.Drawing.Point(8, 8); this.txtTips.Multiline = true; this.txtTips.Name = "txtTips"; this.txtTips.ReadOnly = true; this.txtTips.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; this.txtTips.Size = new System.Drawing.Size(552, 288); this.txtTips.TabIndex = 0; this.txtTips.Text = ""; // // sbrStatus // this.sbrStatus.Font = new System.Drawing.Font("Microsoft Sans Serif", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.sbrStatus.Location = new System.Drawing.Point(0, 381); this.sbrStatus.Name = "sbrStatus"; this.sbrStatus.Size = new System.Drawing.Size(610, 22); this.sbrStatus.SizingGrip = false; this.sbrStatus.TabIndex = 2; // // frmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(610, 403); this.Controls.Add(this.sbrStatus); this.Controls.Add(this.TabControl1); this.Controls.Add(this.Label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Menu = this.mnuMain; this.Name = "frmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Title Comes from Assembly Info"; this.TabControl1.ResumeLayout(false); this.pgeModifyData.ResumeLayout(false); this.GroupBox3.ResumeLayout(false); this.GroupBox1.ResumeLayout(false); this.pgeTips.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { Syncfusion.Windows.Forms.Edit.Implementation.Config.Config config1 = new Syncfusion.Windows.Forms.Edit.Implementation.Config.Config(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1)); this.editControl1 = new Syncfusion.Windows.Forms.Edit.EditControl(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.mainFrameBarManager1 = new Syncfusion.Windows.Forms.Tools.XPMenus.MainFrameBarManager(this); this.bar1 = new Syncfusion.Windows.Forms.Tools.XPMenus.Bar(this.mainFrameBarManager1, "Menu"); this.parentBarItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem1 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem3 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem4 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem6 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.parentBarItem2 = new Syncfusion.Windows.Forms.Tools.XPMenus.ParentBarItem(); this.barItem7 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem5 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem8 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem10 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); this.barItem11 = new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem(); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).BeginInit(); this.SuspendLayout(); // // editControl1 // this.editControl1.AutoIndentMode = Syncfusion.Windows.Forms.Edit.Enums.AutoIndentMode.Smart; this.editControl1.BackColor = System.Drawing.SystemColors.Window; this.editControl1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.editControl1.CodeSnipptSize = new System.Drawing.Size(100, 100); this.editControl1.Configurator = config1; this.editControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.editControl1.IndicatorMarginBackColor = System.Drawing.Color.Empty; this.editControl1.LineNumbersFont = new System.Drawing.Font("Segoe UI", 8.25F); this.editControl1.Location = new System.Drawing.Point(10, 39); this.editControl1.Name = "editControl1"; this.editControl1.RenderRightToLeft = false; this.editControl1.ScrollPosition = new System.Drawing.Point(0, 0); this.editControl1.ScrollVisualStyle = Syncfusion.Windows.Forms.ScrollBarCustomDrawStyles.Metro; this.editControl1.ShowIndicatorMargin = false; this.editControl1.ShowLineNumbers = false; this.editControl1.Size = new System.Drawing.Size(540, 383); this.editControl1.TabIndex = 0; this.editControl1.Text = ""; this.editControl1.TransferFocusOnTab = true; this.editControl1.UseXPStyleBorder = true; this.editControl1.VisualColumn = 1; this.editControl1.WordWrap = true; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(10, 422); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(540, 22); this.statusBar1.SizingGrip = false; this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Alignment = System.Windows.Forms.HorizontalAlignment.Center; this.statusBarPanel1.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 540; // // mainFrameBarManager1 // #if !NETCORE this.mainFrameBarManager1.BarPositionInfo = ((System.IO.MemoryStream)(resources.GetObject("mainFrameBarManager1.BarPositionInfo"))); #endif this.mainFrameBarManager1.Bars.Add(this.bar1); this.mainFrameBarManager1.Categories.Add("file"); this.mainFrameBarManager1.Categories.Add("position"); this.mainFrameBarManager1.CurrentBaseFormType = "Syncfusion.Windows.Forms.MetroForm"; this.mainFrameBarManager1.Font = new System.Drawing.Font("Segoe UI", 10F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.mainFrameBarManager1.Form = this; this.mainFrameBarManager1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem6, this.parentBarItem2, this.barItem7, this.barItem10, this.barItem11, this.barItem5, this.barItem8 }); this.mainFrameBarManager1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.mainFrameBarManager1.ResetCustomization = false; this.mainFrameBarManager1.Style = Syncfusion.Windows.Forms.VisualStyle.Metro; // // bar1 // this.bar1.BarName = "Menu"; this.bar1.Caption = "Menu"; this.bar1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.parentBarItem1, this.parentBarItem2 }); this.bar1.Manager = this.mainFrameBarManager1; // // parentBarItem1 // this.parentBarItem1.BarName = "parentBarItem1"; this.parentBarItem1.CategoryIndex = 0; this.parentBarItem1.ID = "File"; this.parentBarItem1.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem1, this.barItem2, this.barItem3, this.barItem4, this.barItem6 }); this.parentBarItem1.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem1.ShowToolTipInPopUp = false; this.parentBarItem1.SizeToFit = true; this.parentBarItem1.Text = "File"; // // barItem1 // this.barItem1.BarName = "barItem1"; this.barItem1.CategoryIndex = 0; this.barItem1.ID = "New"; this.barItem1.ShowToolTipInPopUp = false; this.barItem1.SizeToFit = true; this.barItem1.Text = "New"; this.barItem1.Click += new System.EventHandler(this.menuItem2_Click); // // barItem2 // this.barItem2.BarName = "barItem2"; this.barItem2.CategoryIndex = 0; this.barItem2.ID = "Open"; this.barItem2.ShowToolTipInPopUp = false; this.barItem2.SizeToFit = true; this.barItem2.Text = "Open"; this.barItem2.Click += new System.EventHandler(this.menuItem3_Click); // // barItem3 // this.barItem3.BarName = "barItem3"; this.barItem3.CategoryIndex = 0; this.barItem3.ID = "Save"; this.barItem3.ShowToolTipInPopUp = false; this.barItem3.SizeToFit = true; this.barItem3.Text = "Save"; this.barItem3.Click += new System.EventHandler(this.menuItem4_Click); // // barItem4 // this.barItem4.BarName = "barItem4"; this.barItem4.CategoryIndex = 0; this.barItem4.ID = "SaveAs"; this.barItem4.ShowToolTipInPopUp = false; this.barItem4.SizeToFit = true; this.barItem4.Text = "SaveAs"; this.barItem4.Click += new System.EventHandler(this.menuItem5_Click); // // barItem6 // this.barItem6.BarName = "barItem6"; this.barItem6.CategoryIndex = 0; this.barItem6.ID = "Exit"; this.barItem6.ShowToolTipInPopUp = false; this.barItem6.SizeToFit = true; this.barItem6.Text = "Exit"; this.barItem6.Click += new System.EventHandler(this.menuItem8_Click); // // parentBarItem2 // this.parentBarItem2.BarName = "parentBarItem2"; this.parentBarItem2.CategoryIndex = 1; this.parentBarItem2.ID = "PositionMenu"; this.parentBarItem2.Items.AddRange(new Syncfusion.Windows.Forms.Tools.XPMenus.BarItem[] { this.barItem7, this.barItem5, this.barItem8, this.barItem10, this.barItem11 }); this.parentBarItem2.MetroColor = System.Drawing.Color.DeepSkyBlue; this.parentBarItem2.ShowToolTipInPopUp = false; this.parentBarItem2.SizeToFit = true; this.parentBarItem2.Text = "Position Options"; // // barItem7 // this.barItem7.BarName = "barItem7"; this.barItem7.CategoryIndex = 1; this.barItem7.ID = "MousePosition To VirtualPosition"; this.barItem7.ShowToolTipInPopUp = false; this.barItem7.SizeToFit = true; this.barItem7.Text = "MousePosition To VirtualPosition"; this.barItem7.Click += new System.EventHandler(this.menuItem10_Click); // // barItem5 // this.barItem5.BarName = "barItem5"; this.barItem5.CategoryIndex = 1; this.barItem5.ID = "MousePosition To PhysicalPosition"; this.barItem5.ShowToolTipInPopUp = false; this.barItem5.SizeToFit = true; this.barItem5.Text = "MousePosition To PhysicalPosition"; this.barItem5.Click += new System.EventHandler(this.menuItem11_Click); // // barItem8 // this.barItem8.BarName = "barItem8"; this.barItem8.CategoryIndex = 1; this.barItem8.ID = "CursorPosition To PhysicalPosition"; this.barItem8.ShowToolTipInPopUp = false; this.barItem8.SizeToFit = true; this.barItem8.Text = "CursorPosition To PhysicalPosition"; this.barItem8.Click += new System.EventHandler(this.menuItem13_Click); // // barItem10 // this.barItem10.BarName = "barItem10"; this.barItem10.CategoryIndex = 1; this.barItem10.ID = "VirtualPosition To Offset"; this.barItem10.ShowToolTipInPopUp = false; this.barItem10.SizeToFit = true; this.barItem10.Text = "VirtualPosition To Offset"; this.barItem10.Click += new System.EventHandler(this.menuItem16_Click); // // barItem11 // this.barItem11.BarName = "barItem11"; this.barItem11.CategoryIndex = 1; this.barItem11.ID = "Offset To VirtualPosition"; this.barItem11.ShowToolTipInPopUp = false; this.barItem11.SizeToFit = true; this.barItem11.Text = "Offset To VirtualPosition"; this.barItem11.Click += new System.EventHandler(this.menuItem14_Click); // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(560, 454); this.Controls.Add(this.editControl1); this.Controls.Add(this.statusBar1); this.Font = new System.Drawing.Font("Segoe UI", 8.25F); this.MinimumSize = new System.Drawing.Size(572, 491); this.Name = "Form1"; this.Padding = new System.Windows.Forms.Padding(10); this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Positions and Offsets"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Closing += new System.ComponentModel.CancelEventHandler(this.Form1_Closing); ((System.ComponentModel.ISupportInitialize)(this.editControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.mainFrameBarManager1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// 此為設計工具支援所必須的方法 - 請勿使用程式碼編輯器修改 /// 這個方法的內容。 /// </summary> private void InitializeComponent() { this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.label1 = new System.Windows.Forms.Label(); this.cboBoardStyle = new System.Windows.Forms.ComboBox(); this.lblInformation = new System.Windows.Forms.Label(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.MetaEventInvoke = new System.Windows.Forms.TextBox(); this.lblPieceType01 = new System.Windows.Forms.Label(); this.lblPieceType02 = new System.Windows.Forms.Label(); this.lblPieceColor01 = new System.Windows.Forms.Label(); this.lblPieceColor02 = new System.Windows.Forms.Label(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menuItem1 = new System.Windows.Forms.MenuItem(); this.SuspendLayout(); // // pictureBox1 // this.pictureBox1.BackColor = System.Drawing.Color.White; this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.pictureBox1.Location = new System.Drawing.Point(0, 0); this.pictureBox1.Name = "pictureBox1"; this.pictureBox1.Size = new System.Drawing.Size(500, 550); this.pictureBox1.TabIndex = 0; this.pictureBox1.TabStop = false; this.pictureBox1.Paint += new System.Windows.Forms.PaintEventHandler(this.pictureBox1_Paint); this.pictureBox1.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pictureBox1_MouseDown); // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("新細明體", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.label1.Location = new System.Drawing.Point(504, 528); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(83, 21); this.label1.TabIndex = 1; this.label1.Text = "選擇棋盤:"; // // cboBoardStyle // this.cboBoardStyle.Location = new System.Drawing.Point(592, 528); this.cboBoardStyle.Name = "cboBoardStyle"; this.cboBoardStyle.Size = new System.Drawing.Size(168, 20); this.cboBoardStyle.TabIndex = 2; this.cboBoardStyle.SelectedIndexChanged += new System.EventHandler(this.cboBoardStyle_SelectedIndexChanged); // // lblInformation // this.lblInformation.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.lblInformation.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblInformation.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.lblInformation.Location = new System.Drawing.Point(504, 0); this.lblInformation.Name = "lblInformation"; this.lblInformation.Size = new System.Drawing.Size(256, 184); this.lblInformation.TabIndex = 3; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 557); this.statusBar1.Name = "statusBar1"; this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(774, 22); this.statusBar1.TabIndex = 4; // // MetaEventInvoke // this.MetaEventInvoke.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(224)), ((System.Byte)(192))); this.MetaEventInvoke.Location = new System.Drawing.Point(504, 560); this.MetaEventInvoke.Name = "MetaEventInvoke"; this.MetaEventInvoke.ReadOnly = true; this.MetaEventInvoke.Size = new System.Drawing.Size(256, 22); this.MetaEventInvoke.TabIndex = 5; this.MetaEventInvoke.Text = ""; this.MetaEventInvoke.Visible = false; this.MetaEventInvoke.TextChanged += new System.EventHandler(this.MetaEventInvoke_TextChanged); // // lblPieceType01 // this.lblPieceType01.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.lblPieceType01.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblPieceType01.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.lblPieceType01.Location = new System.Drawing.Point(504, 192); this.lblPieceType01.Name = "lblPieceType01"; this.lblPieceType01.Size = new System.Drawing.Size(128, 160); this.lblPieceType01.TabIndex = 9; // // lblPieceType02 // this.lblPieceType02.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.lblPieceType02.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblPieceType02.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.lblPieceType02.Location = new System.Drawing.Point(632, 192); this.lblPieceType02.Name = "lblPieceType02"; this.lblPieceType02.Size = new System.Drawing.Size(128, 160); this.lblPieceType02.TabIndex = 10; // // lblPieceColor01 // this.lblPieceColor01.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.lblPieceColor01.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblPieceColor01.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.lblPieceColor01.Location = new System.Drawing.Point(504, 360); this.lblPieceColor01.Name = "lblPieceColor01"; this.lblPieceColor01.Size = new System.Drawing.Size(128, 160); this.lblPieceColor01.TabIndex = 11; // // lblPieceColor02 // this.lblPieceColor02.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(224)), ((System.Byte)(224)), ((System.Byte)(224))); this.lblPieceColor02.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblPieceColor02.Font = new System.Drawing.Font("新細明體", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(136))); this.lblPieceColor02.Location = new System.Drawing.Point(632, 360); this.lblPieceColor02.Name = "lblPieceColor02"; this.lblPieceColor02.Size = new System.Drawing.Size(128, 160); this.lblPieceColor02.TabIndex = 12; // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menuItem1 }); // // menuItem1 // this.menuItem1.Index = 0; this.menuItem1.Text = "設定"; // // FrmMain // this.AutoScaleBaseSize = new System.Drawing.Size(5, 15); this.ClientSize = new System.Drawing.Size(774, 579); this.Controls.Add(this.lblPieceColor02); this.Controls.Add(this.lblPieceColor01); this.Controls.Add(this.lblPieceType02); this.Controls.Add(this.lblPieceType01); this.Controls.Add(this.statusBar1); this.Controls.Add(this.lblInformation); this.Controls.Add(this.cboBoardStyle); this.Controls.Add(this.label1); this.Controls.Add(this.MetaEventInvoke); this.Controls.Add(this.pictureBox1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.MaximizeBox = false; this.Menu = this.mainMenu1; this.Name = "FrmMain"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "奕劍奇術"; this.Activated += new System.EventHandler(this.FrmMain_Activated); this.Deactivate += new System.EventHandler(this.FrmMain_Deactivate); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LightmapToolDlg)); this.timer_LMUpdate = new System.Timers.Timer(); this.tabControl_Effects = new System.Windows.Forms.TabControl(); this.tabPage_BrightnessContrast = new System.Windows.Forms.TabPage(); this.hScrollBar_ContrastRadiosity = new System.Windows.Forms.HScrollBar(); this.hScrollBar_ContrastBase = new System.Windows.Forms.HScrollBar(); this.hScrollBar_BrightnessRadiosity = new System.Windows.Forms.HScrollBar(); this.hScrollBar_BrightnessBase = new System.Windows.Forms.HScrollBar(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label_bright1 = new System.Windows.Forms.Label(); this.numericUpDown_ContrastBase = new System.Windows.Forms.NumericUpDown(); this.numericUpDown_BrightnessBase = new System.Windows.Forms.NumericUpDown(); this.label_contrast1 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.numericUpDown_ContrastRad = new System.Windows.Forms.NumericUpDown(); this.numericUpDown_BrightnessRad = new System.Windows.Forms.NumericUpDown(); this.label_contrast2 = new System.Windows.Forms.Label(); this.label_bright2 = new System.Windows.Forms.Label(); this.tabPage_Saturation = new System.Windows.Forms.TabPage(); this.numericUpDown_SaturationRad = new System.Windows.Forms.NumericUpDown(); this.hScrollBar_SaturationRadiosity = new System.Windows.Forms.HScrollBar(); this.groupBox4 = new System.Windows.Forms.GroupBox(); this.label_saturation2 = new System.Windows.Forms.Label(); this.numericUpDown_SaturationBase = new System.Windows.Forms.NumericUpDown(); this.hScrollBar_SaturationBase = new System.Windows.Forms.HScrollBar(); this.groupBox3 = new System.Windows.Forms.GroupBox(); this.label_saturation1 = new System.Windows.Forms.Label(); this.ToolTip = new System.Windows.Forms.ToolTip(this.components); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.toolBar_main = new System.Windows.Forms.ToolBar(); this.toolBarButton_Save = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_Reset = new System.Windows.Forms.ToolBarButton(); this.toolBarButton1 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_Undo = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_Redo = new System.Windows.Forms.ToolBarButton(); this.toolBarButton2 = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_DirectLighting = new System.Windows.Forms.ToolBarButton(); this.toolBarButton_Radiosity = new System.Windows.Forms.ToolBarButton(); this.ImageList = new System.Windows.Forms.ImageList(this.components); this.comboBox_Target = new System.Windows.Forms.ComboBox(); this.label_Target = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.timer_LMUpdate)).BeginInit(); this.tabControl_Effects.SuspendLayout(); this.tabPage_BrightnessContrast.SuspendLayout(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastBase)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessBase)).BeginInit(); this.groupBox2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastRad)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessRad)).BeginInit(); this.tabPage_Saturation.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationRad)).BeginInit(); this.groupBox4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationBase)).BeginInit(); this.groupBox3.SuspendLayout(); this.SuspendLayout(); // // timer_LMUpdate // this.timer_LMUpdate.Enabled = true; this.timer_LMUpdate.Interval = 50; this.timer_LMUpdate.SynchronizingObject = this; this.timer_LMUpdate.Elapsed += new System.Timers.ElapsedEventHandler(this.timer_LMUpdate_Elapsed); // // tabControl_Effects // this.tabControl_Effects.Controls.Add(this.tabPage_BrightnessContrast); this.tabControl_Effects.Controls.Add(this.tabPage_Saturation); this.tabControl_Effects.Location = new System.Drawing.Point(8, 72); this.tabControl_Effects.Name = "tabControl_Effects"; this.tabControl_Effects.SelectedIndex = 0; this.tabControl_Effects.Size = new System.Drawing.Size(480, 192); this.tabControl_Effects.TabIndex = 3; // // tabPage_BrightnessContrast // this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_ContrastRadiosity); this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_ContrastBase); this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_BrightnessRadiosity); this.tabPage_BrightnessContrast.Controls.Add(this.hScrollBar_BrightnessBase); this.tabPage_BrightnessContrast.Controls.Add(this.groupBox1); this.tabPage_BrightnessContrast.Controls.Add(this.groupBox2); this.tabPage_BrightnessContrast.Location = new System.Drawing.Point(4, 22); this.tabPage_BrightnessContrast.Name = "tabPage_BrightnessContrast"; this.tabPage_BrightnessContrast.Size = new System.Drawing.Size(472, 166); this.tabPage_BrightnessContrast.TabIndex = 0; this.tabPage_BrightnessContrast.Text = "Brightness and Contrast"; // // hScrollBar_ContrastRadiosity // this.hScrollBar_ContrastRadiosity.LargeChange = 20; this.hScrollBar_ContrastRadiosity.Location = new System.Drawing.Point(40, 136); this.hScrollBar_ContrastRadiosity.Maximum = 400; this.hScrollBar_ContrastRadiosity.Name = "hScrollBar_ContrastRadiosity"; this.hScrollBar_ContrastRadiosity.Size = new System.Drawing.Size(347, 16); this.hScrollBar_ContrastRadiosity.TabIndex = 5; this.ToolTip.SetToolTip(this.hScrollBar_ContrastRadiosity, "Contrast of radiosity contribution"); this.hScrollBar_ContrastRadiosity.Value = 100; this.hScrollBar_ContrastRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_ContrastRadiosity_ValueChanged); this.hScrollBar_ContrastRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_ContrastRadiosity_Scroll); // // hScrollBar_ContrastBase // this.hScrollBar_ContrastBase.LargeChange = 20; this.hScrollBar_ContrastBase.Location = new System.Drawing.Point(40, 56); this.hScrollBar_ContrastBase.Maximum = 400; this.hScrollBar_ContrastBase.Name = "hScrollBar_ContrastBase"; this.hScrollBar_ContrastBase.Size = new System.Drawing.Size(347, 16); this.hScrollBar_ContrastBase.TabIndex = 2; this.ToolTip.SetToolTip(this.hScrollBar_ContrastBase, "Contrast of direct lighting"); this.hScrollBar_ContrastBase.Value = 100; this.hScrollBar_ContrastBase.ValueChanged += new System.EventHandler(this.hScrollBar_ContrastBase_ValueChanged); this.hScrollBar_ContrastBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_ContrastBase_Scroll); // // hScrollBar_BrightnessRadiosity // this.hScrollBar_BrightnessRadiosity.Location = new System.Drawing.Point(40, 112); this.hScrollBar_BrightnessRadiosity.Minimum = -100; this.hScrollBar_BrightnessRadiosity.Name = "hScrollBar_BrightnessRadiosity"; this.hScrollBar_BrightnessRadiosity.Size = new System.Drawing.Size(347, 16); this.hScrollBar_BrightnessRadiosity.TabIndex = 4; this.ToolTip.SetToolTip(this.hScrollBar_BrightnessRadiosity, "Brightness of radiosity contribution"); this.hScrollBar_BrightnessRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_BrightnessRadiosity_ValueChanged); this.hScrollBar_BrightnessRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_BrightnessRadiosity_Scroll); // // hScrollBar_BrightnessBase // this.hScrollBar_BrightnessBase.Location = new System.Drawing.Point(40, 32); this.hScrollBar_BrightnessBase.Minimum = -100; this.hScrollBar_BrightnessBase.Name = "hScrollBar_BrightnessBase"; this.hScrollBar_BrightnessBase.Size = new System.Drawing.Size(347, 16); this.hScrollBar_BrightnessBase.TabIndex = 1; this.ToolTip.SetToolTip(this.hScrollBar_BrightnessBase, "Brightness of direct lighting"); this.hScrollBar_BrightnessBase.ValueChanged += new System.EventHandler(this.hScrollBar_BrightnessBase_ValueChanged); this.hScrollBar_BrightnessBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_BrightnessBase_Scroll); // // groupBox1 // this.groupBox1.Controls.Add(this.label_bright1); this.groupBox1.Controls.Add(this.numericUpDown_ContrastBase); this.groupBox1.Controls.Add(this.numericUpDown_BrightnessBase); this.groupBox1.Controls.Add(this.label_contrast1); this.groupBox1.Location = new System.Drawing.Point(8, 8); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(456, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "Direct lighting"; // // label_bright1 // this.label_bright1.Image = ((System.Drawing.Image)(resources.GetObject("label_bright1.Image"))); this.label_bright1.Location = new System.Drawing.Point(8, 24); this.label_bright1.Name = "label_bright1"; this.label_bright1.Size = new System.Drawing.Size(16, 16); this.label_bright1.TabIndex = 0; this.ToolTip.SetToolTip(this.label_bright1, "Brightness"); // // numericUpDown_ContrastBase // this.numericUpDown_ContrastBase.DecimalPlaces = 1; this.numericUpDown_ContrastBase.Location = new System.Drawing.Point(392, 48); this.numericUpDown_ContrastBase.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.numericUpDown_ContrastBase.Name = "numericUpDown_ContrastBase"; this.numericUpDown_ContrastBase.Size = new System.Drawing.Size(56, 20); this.numericUpDown_ContrastBase.TabIndex = 3; this.numericUpDown_ContrastBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_ContrastBase, "Contrast of direct lighting"); this.numericUpDown_ContrastBase.ValueChanged += new System.EventHandler(this.numericUpDown_ContrastBase_ValueChanged); // // numericUpDown_BrightnessBase // this.numericUpDown_BrightnessBase.DecimalPlaces = 1; this.numericUpDown_BrightnessBase.Location = new System.Drawing.Point(392, 24); this.numericUpDown_BrightnessBase.Minimum = new decimal(new int[] { 100, 0, 0, -2147483648}); this.numericUpDown_BrightnessBase.Name = "numericUpDown_BrightnessBase"; this.numericUpDown_BrightnessBase.Size = new System.Drawing.Size(56, 20); this.numericUpDown_BrightnessBase.TabIndex = 1; this.numericUpDown_BrightnessBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_BrightnessBase, "Brightness of direct lighting"); this.numericUpDown_BrightnessBase.ValueChanged += new System.EventHandler(this.numericUpDown_BrightnessBase_ValueChanged); // // label_contrast1 // this.label_contrast1.Image = ((System.Drawing.Image)(resources.GetObject("label_contrast1.Image"))); this.label_contrast1.Location = new System.Drawing.Point(8, 48); this.label_contrast1.Name = "label_contrast1"; this.label_contrast1.Size = new System.Drawing.Size(16, 16); this.label_contrast1.TabIndex = 2; this.ToolTip.SetToolTip(this.label_contrast1, "Contrast"); // // groupBox2 // this.groupBox2.Controls.Add(this.numericUpDown_ContrastRad); this.groupBox2.Controls.Add(this.numericUpDown_BrightnessRad); this.groupBox2.Controls.Add(this.label_contrast2); this.groupBox2.Controls.Add(this.label_bright2); this.groupBox2.Location = new System.Drawing.Point(8, 88); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(456, 72); this.groupBox2.TabIndex = 3; this.groupBox2.TabStop = false; this.groupBox2.Text = "Radiosity contribution"; // // numericUpDown_ContrastRad // this.numericUpDown_ContrastRad.DecimalPlaces = 1; this.numericUpDown_ContrastRad.Location = new System.Drawing.Point(392, 48); this.numericUpDown_ContrastRad.Maximum = new decimal(new int[] { 1000, 0, 0, 0}); this.numericUpDown_ContrastRad.Name = "numericUpDown_ContrastRad"; this.numericUpDown_ContrastRad.Size = new System.Drawing.Size(56, 20); this.numericUpDown_ContrastRad.TabIndex = 3; this.numericUpDown_ContrastRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_ContrastRad, "Contrast of radiosity contribution"); this.numericUpDown_ContrastRad.ValueChanged += new System.EventHandler(this.numericUpDown_ContrastRad_ValueChanged); // // numericUpDown_BrightnessRad // this.numericUpDown_BrightnessRad.DecimalPlaces = 1; this.numericUpDown_BrightnessRad.Location = new System.Drawing.Point(392, 24); this.numericUpDown_BrightnessRad.Minimum = new decimal(new int[] { 100, 0, 0, -2147483648}); this.numericUpDown_BrightnessRad.Name = "numericUpDown_BrightnessRad"; this.numericUpDown_BrightnessRad.Size = new System.Drawing.Size(56, 20); this.numericUpDown_BrightnessRad.TabIndex = 1; this.numericUpDown_BrightnessRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_BrightnessRad, "Brightness of radiosity contribution"); this.numericUpDown_BrightnessRad.Value = new decimal(new int[] { 1, 0, 0, 0}); this.numericUpDown_BrightnessRad.ValueChanged += new System.EventHandler(this.numericUpDown_BrightnessRad_ValueChanged); // // label_contrast2 // this.label_contrast2.Image = ((System.Drawing.Image)(resources.GetObject("label_contrast2.Image"))); this.label_contrast2.Location = new System.Drawing.Point(8, 48); this.label_contrast2.Name = "label_contrast2"; this.label_contrast2.Size = new System.Drawing.Size(16, 16); this.label_contrast2.TabIndex = 2; this.ToolTip.SetToolTip(this.label_contrast2, "Contrast"); // // label_bright2 // this.label_bright2.Image = ((System.Drawing.Image)(resources.GetObject("label_bright2.Image"))); this.label_bright2.Location = new System.Drawing.Point(8, 24); this.label_bright2.Name = "label_bright2"; this.label_bright2.Size = new System.Drawing.Size(16, 16); this.label_bright2.TabIndex = 0; this.ToolTip.SetToolTip(this.label_bright2, "Brightness"); // // tabPage_Saturation // this.tabPage_Saturation.Controls.Add(this.numericUpDown_SaturationRad); this.tabPage_Saturation.Controls.Add(this.hScrollBar_SaturationRadiosity); this.tabPage_Saturation.Controls.Add(this.groupBox4); this.tabPage_Saturation.Controls.Add(this.numericUpDown_SaturationBase); this.tabPage_Saturation.Controls.Add(this.hScrollBar_SaturationBase); this.tabPage_Saturation.Controls.Add(this.groupBox3); this.tabPage_Saturation.Location = new System.Drawing.Point(4, 22); this.tabPage_Saturation.Name = "tabPage_Saturation"; this.tabPage_Saturation.Size = new System.Drawing.Size(472, 166); this.tabPage_Saturation.TabIndex = 1; this.tabPage_Saturation.Text = "Saturation"; // // numericUpDown_SaturationRad // this.numericUpDown_SaturationRad.DecimalPlaces = 1; this.numericUpDown_SaturationRad.Location = new System.Drawing.Point(400, 120); this.numericUpDown_SaturationRad.Maximum = new decimal(new int[] { 200, 0, 0, 0}); this.numericUpDown_SaturationRad.Name = "numericUpDown_SaturationRad"; this.numericUpDown_SaturationRad.Size = new System.Drawing.Size(56, 20); this.numericUpDown_SaturationRad.TabIndex = 5; this.numericUpDown_SaturationRad.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_SaturationRad, "Color saturation of radiosity contribution"); this.numericUpDown_SaturationRad.Value = new decimal(new int[] { 100, 0, 0, 0}); this.numericUpDown_SaturationRad.ValueChanged += new System.EventHandler(this.numericUpDown_SaturationRad_ValueChanged); // // hScrollBar_SaturationRadiosity // this.hScrollBar_SaturationRadiosity.Location = new System.Drawing.Point(40, 120); this.hScrollBar_SaturationRadiosity.Maximum = 200; this.hScrollBar_SaturationRadiosity.Name = "hScrollBar_SaturationRadiosity"; this.hScrollBar_SaturationRadiosity.Size = new System.Drawing.Size(347, 16); this.hScrollBar_SaturationRadiosity.TabIndex = 4; this.ToolTip.SetToolTip(this.hScrollBar_SaturationRadiosity, "Color saturation of radiosity contribution"); this.hScrollBar_SaturationRadiosity.Value = 100; this.hScrollBar_SaturationRadiosity.ValueChanged += new System.EventHandler(this.hScrollBar_SaturationRadiosity_ValueChanged); this.hScrollBar_SaturationRadiosity.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_SaturationRadiosity_Scroll); // // groupBox4 // this.groupBox4.Controls.Add(this.label_saturation2); this.groupBox4.Location = new System.Drawing.Point(8, 88); this.groupBox4.Name = "groupBox4"; this.groupBox4.Size = new System.Drawing.Size(456, 72); this.groupBox4.TabIndex = 3; this.groupBox4.TabStop = false; this.groupBox4.Text = "Radiosity contribution"; // // label_saturation2 // this.label_saturation2.Image = ((System.Drawing.Image)(resources.GetObject("label_saturation2.Image"))); this.label_saturation2.Location = new System.Drawing.Point(8, 32); this.label_saturation2.Name = "label_saturation2"; this.label_saturation2.Size = new System.Drawing.Size(16, 16); this.label_saturation2.TabIndex = 0; this.ToolTip.SetToolTip(this.label_saturation2, "Saturation"); // // numericUpDown_SaturationBase // this.numericUpDown_SaturationBase.DecimalPlaces = 1; this.numericUpDown_SaturationBase.Location = new System.Drawing.Point(400, 40); this.numericUpDown_SaturationBase.Maximum = new decimal(new int[] { 200, 0, 0, 0}); this.numericUpDown_SaturationBase.Name = "numericUpDown_SaturationBase"; this.numericUpDown_SaturationBase.Size = new System.Drawing.Size(56, 20); this.numericUpDown_SaturationBase.TabIndex = 2; this.numericUpDown_SaturationBase.TextAlign = System.Windows.Forms.HorizontalAlignment.Right; this.ToolTip.SetToolTip(this.numericUpDown_SaturationBase, "Color saturation of direct lighting"); this.numericUpDown_SaturationBase.Value = new decimal(new int[] { 100, 0, 0, 0}); this.numericUpDown_SaturationBase.ValueChanged += new System.EventHandler(this.numericUpDown_SaturationBase_ValueChanged); // // hScrollBar_SaturationBase // this.hScrollBar_SaturationBase.Location = new System.Drawing.Point(40, 40); this.hScrollBar_SaturationBase.Maximum = 200; this.hScrollBar_SaturationBase.Name = "hScrollBar_SaturationBase"; this.hScrollBar_SaturationBase.Size = new System.Drawing.Size(347, 16); this.hScrollBar_SaturationBase.TabIndex = 1; this.ToolTip.SetToolTip(this.hScrollBar_SaturationBase, "Color saturation of direct lighting"); this.hScrollBar_SaturationBase.Value = 100; this.hScrollBar_SaturationBase.ValueChanged += new System.EventHandler(this.hScrollBar_SaturationBase_ValueChanged); this.hScrollBar_SaturationBase.Scroll += new System.Windows.Forms.ScrollEventHandler(this.hScrollBar_SaturationBase_Scroll); // // groupBox3 // this.groupBox3.Controls.Add(this.label_saturation1); this.groupBox3.Location = new System.Drawing.Point(8, 8); this.groupBox3.Name = "groupBox3"; this.groupBox3.Size = new System.Drawing.Size(456, 72); this.groupBox3.TabIndex = 0; this.groupBox3.TabStop = false; this.groupBox3.Text = "Direct lighting"; // // label_saturation1 // this.label_saturation1.Image = ((System.Drawing.Image)(resources.GetObject("label_saturation1.Image"))); this.label_saturation1.Location = new System.Drawing.Point(8, 32); this.label_saturation1.Name = "label_saturation1"; this.label_saturation1.Size = new System.Drawing.Size(16, 16); this.label_saturation1.TabIndex = 0; this.ToolTip.SetToolTip(this.label_saturation1, "Saturation"); // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 269); this.statusBar1.Name = "statusBar1"; this.statusBar1.Size = new System.Drawing.Size(498, 22); this.statusBar1.SizingGrip = false; this.statusBar1.TabIndex = 4; this.statusBar1.Text = "statusBar1"; // // toolBar_main // this.toolBar_main.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] { this.toolBarButton_Save, this.toolBarButton_Reset, this.toolBarButton1, this.toolBarButton_Undo, this.toolBarButton_Redo, this.toolBarButton2, this.toolBarButton_DirectLighting, this.toolBarButton_Radiosity}); this.toolBar_main.ButtonSize = new System.Drawing.Size(24, 24); this.toolBar_main.DropDownArrows = true; this.toolBar_main.ImageList = this.ImageList; this.toolBar_main.Location = new System.Drawing.Point(0, 0); this.toolBar_main.Name = "toolBar_main"; this.toolBar_main.ShowToolTips = true; this.toolBar_main.Size = new System.Drawing.Size(498, 36); this.toolBar_main.TabIndex = 0; this.toolBar_main.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.toolBar_main_ButtonClick); // // toolBarButton_Save // this.toolBarButton_Save.ImageIndex = 0; this.toolBarButton_Save.Name = "toolBarButton_Save"; this.toolBarButton_Save.ToolTipText = "Saves the lightmaps to uncompressed dds files"; // // toolBarButton_Reset // this.toolBarButton_Reset.ImageIndex = 1; this.toolBarButton_Reset.Name = "toolBarButton_Reset"; this.toolBarButton_Reset.ToolTipText = "Resets the current parameter"; // // toolBarButton1 // this.toolBarButton1.Name = "toolBarButton1"; this.toolBarButton1.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton_Undo // this.toolBarButton_Undo.ImageIndex = 2; this.toolBarButton_Undo.Name = "toolBarButton_Undo"; this.toolBarButton_Undo.ToolTipText = "Undos the last operation"; // // toolBarButton_Redo // this.toolBarButton_Redo.ImageIndex = 3; this.toolBarButton_Redo.Name = "toolBarButton_Redo"; this.toolBarButton_Redo.ToolTipText = "Redos the last operation"; // // toolBarButton2 // this.toolBarButton2.Name = "toolBarButton2"; this.toolBarButton2.Style = System.Windows.Forms.ToolBarButtonStyle.Separator; // // toolBarButton_DirectLighting // this.toolBarButton_DirectLighting.ImageIndex = 4; this.toolBarButton_DirectLighting.Name = "toolBarButton_DirectLighting"; this.toolBarButton_DirectLighting.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButton_DirectLighting.ToolTipText = "Toggles direct lighting contribution"; // // toolBarButton_Radiosity // this.toolBarButton_Radiosity.ImageIndex = 5; this.toolBarButton_Radiosity.Name = "toolBarButton_Radiosity"; this.toolBarButton_Radiosity.Style = System.Windows.Forms.ToolBarButtonStyle.ToggleButton; this.toolBarButton_Radiosity.ToolTipText = "Toggles radiosity contribution"; // // ImageList // this.ImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ImageList.ImageStream"))); this.ImageList.TransparentColor = System.Drawing.Color.Magenta; this.ImageList.Images.SetKeyName(0, ""); this.ImageList.Images.SetKeyName(1, ""); this.ImageList.Images.SetKeyName(2, ""); this.ImageList.Images.SetKeyName(3, ""); this.ImageList.Images.SetKeyName(4, ""); this.ImageList.Images.SetKeyName(5, ""); // // comboBox_Target // this.comboBox_Target.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.comboBox_Target.Items.AddRange(new object[] { "Lightmaps", "Light Grid"}); this.comboBox_Target.Location = new System.Drawing.Point(80, 40); this.comboBox_Target.Name = "comboBox_Target"; this.comboBox_Target.Size = new System.Drawing.Size(104, 21); this.comboBox_Target.TabIndex = 2; this.comboBox_Target.SelectedIndexChanged += new System.EventHandler(this.comboBox_Target_SelectedIndexChanged); // // label_Target // this.label_Target.Location = new System.Drawing.Point(8, 40); this.label_Target.Name = "label_Target"; this.label_Target.Size = new System.Drawing.Size(64, 16); this.label_Target.TabIndex = 1; this.label_Target.Text = "Target :"; this.label_Target.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // LightmapToolDlg // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(498, 291); this.Controls.Add(this.label_Target); this.Controls.Add(this.comboBox_Target); this.Controls.Add(this.toolBar_main); this.Controls.Add(this.statusBar1); this.Controls.Add(this.tabControl_Effects); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "LightmapToolDlg"; this.Text = "Lightmap Tool"; this.Closing += new System.ComponentModel.CancelEventHandler(this.LightmapToolDlg_Closing); ((System.ComponentModel.ISupportInitialize)(this.timer_LMUpdate)).EndInit(); this.tabControl_Effects.ResumeLayout(false); this.tabPage_BrightnessContrast.ResumeLayout(false); this.groupBox1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastBase)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessBase)).EndInit(); this.groupBox2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_ContrastRad)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_BrightnessRad)).EndInit(); this.tabPage_Saturation.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationRad)).EndInit(); this.groupBox4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown_SaturationBase)).EndInit(); this.groupBox3.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <summary> /// 设计器支持所需的方法 - 不要使用代码编辑器修改 /// 此方法的内容。 /// </summary> private void InitializeComponent() { this.groupBox1 = new System.Windows.Forms.GroupBox(); this.dtp2 = new System.Windows.Forms.DateTimePicker(); this.label2 = new System.Windows.Forms.Label(); this.dtp1 = new System.Windows.Forms.DateTimePicker(); this.label3 = new System.Windows.Forms.Label(); this.txtypmc = new System.Windows.Forms.TextBox(); this.cmbyplx = new System.Windows.Forms.ComboBox(); this.butprint = new System.Windows.Forms.Button(); this.butquit = new System.Windows.Forms.Button(); this.butcx = new System.Windows.Forms.Button(); this.chkyplx = new System.Windows.Forms.CheckBox(); this.chkypmc = new System.Windows.Forms.CheckBox(); this.myDataGrid1 = new myDataGrid.myDataGrid(); this.dataGridTableStyle1 = new System.Windows.Forms.DataGridTableStyle(); this.dataGridTextBoxColumn1 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn15 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn16 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn2 = new System.Windows.Forms.DataGridTextBoxColumn(); this.商品名 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn3 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn4 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn6 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn7 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn12 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn13 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn8 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn9 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn14 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn10 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn11 = new System.Windows.Forms.DataGridTextBoxColumn(); this.dataGridTextBoxColumn5 = new System.Windows.Forms.DataGridTextBoxColumn(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.statusBarPanel1 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel2 = new System.Windows.Forms.StatusBarPanel(); this.statusBarPanel3 = new System.Windows.Forms.StatusBarPanel(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).BeginInit(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // groupBox1 // this.groupBox1.Controls.Add(this.dtp2); this.groupBox1.Controls.Add(this.label2); this.groupBox1.Controls.Add(this.dtp1); this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.txtypmc); this.groupBox1.Controls.Add(this.cmbyplx); this.groupBox1.Controls.Add(this.butprint); this.groupBox1.Controls.Add(this.butquit); this.groupBox1.Controls.Add(this.butcx); this.groupBox1.Controls.Add(this.chkyplx); this.groupBox1.Controls.Add(this.chkypmc); this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top; this.groupBox1.Location = new System.Drawing.Point(0, 0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(864, 72); this.groupBox1.TabIndex = 0; this.groupBox1.TabStop = false; this.groupBox1.Text = "查询"; // // dtp2 // this.dtp2.Location = new System.Drawing.Point(448, 16); this.dtp2.Name = "dtp2"; this.dtp2.Size = new System.Drawing.Size(112, 21); this.dtp2.TabIndex = 37; // // label2 // this.label2.Location = new System.Drawing.Point(428, 20); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(16, 16); this.label2.TabIndex = 36; this.label2.Text = "到"; // // dtp1 // this.dtp1.Location = new System.Drawing.Point(312, 16); this.dtp1.Name = "dtp1"; this.dtp1.Size = new System.Drawing.Size(110, 21); this.dtp1.TabIndex = 35; // // label3 // this.label3.Location = new System.Drawing.Point(272, 20); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(48, 16); this.label3.TabIndex = 34; this.label3.Text = "日期从"; // // txtypmc // this.txtypmc.Enabled = false; this.txtypmc.Location = new System.Drawing.Point(113, 40); this.txtypmc.Name = "txtypmc"; this.txtypmc.Size = new System.Drawing.Size(144, 21); this.txtypmc.TabIndex = 33; this.txtypmc.KeyUp += new System.Windows.Forms.KeyEventHandler(this.TextKeyUp); // // cmbyplx // this.cmbyplx.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; this.cmbyplx.Enabled = false; this.cmbyplx.Location = new System.Drawing.Point(113, 17); this.cmbyplx.Name = "cmbyplx"; this.cmbyplx.Size = new System.Drawing.Size(144, 20); this.cmbyplx.TabIndex = 31; // // butprint // this.butprint.Location = new System.Drawing.Point(672, 16); this.butprint.Name = "butprint"; this.butprint.Size = new System.Drawing.Size(72, 32); this.butprint.TabIndex = 30; this.butprint.Text = "打印(&P)"; this.butprint.Click += new System.EventHandler(this.butprint_Click); // // butquit // this.butquit.Location = new System.Drawing.Point(752, 16); this.butquit.Name = "butquit"; this.butquit.Size = new System.Drawing.Size(72, 32); this.butquit.TabIndex = 29; this.butquit.Text = "退出(&Q)"; this.butquit.Click += new System.EventHandler(this.butquit_Click); // // butcx // this.butcx.Location = new System.Drawing.Point(592, 16); this.butcx.Name = "butcx"; this.butcx.Size = new System.Drawing.Size(72, 32); this.butcx.TabIndex = 28; this.butcx.Text = "查询(&V)"; this.butcx.Click += new System.EventHandler(this.butcx_Click); // // chkyplx // this.chkyplx.Location = new System.Drawing.Point(32, 16); this.chkyplx.Name = "chkyplx"; this.chkyplx.Size = new System.Drawing.Size(95, 24); this.chkyplx.TabIndex = 20; this.chkyplx.Text = "药品类型"; this.chkyplx.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // chkypmc // this.chkypmc.Location = new System.Drawing.Point(32, 40); this.chkypmc.Name = "chkypmc"; this.chkypmc.Size = new System.Drawing.Size(95, 24); this.chkypmc.TabIndex = 38; this.chkypmc.Text = "药品名称"; this.chkypmc.CheckedChanged += new System.EventHandler(this.chkyplx_CheckedChanged); // // myDataGrid1 // this.myDataGrid1.BackgroundColor = System.Drawing.Color.White; this.myDataGrid1.CaptionVisible = false; this.myDataGrid1.DataMember = ""; this.myDataGrid1.Dock = System.Windows.Forms.DockStyle.Fill; this.myDataGrid1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.myDataGrid1.Location = new System.Drawing.Point(3, 17); this.myDataGrid1.Name = "myDataGrid1"; this.myDataGrid1.Size = new System.Drawing.Size(858, 417); this.myDataGrid1.TabIndex = 0; this.myDataGrid1.TableStyles.AddRange(new System.Windows.Forms.DataGridTableStyle[] { this.dataGridTableStyle1 }); // // dataGridTableStyle1 // this.dataGridTableStyle1.DataGrid = this.myDataGrid1; this.dataGridTableStyle1.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] { this.dataGridTextBoxColumn1, this.dataGridTextBoxColumn15, this.dataGridTextBoxColumn16, this.dataGridTextBoxColumn2, this.商品名, this.dataGridTextBoxColumn3, this.dataGridTextBoxColumn4, this.dataGridTextBoxColumn6, this.dataGridTextBoxColumn7, this.dataGridTextBoxColumn12, this.dataGridTextBoxColumn13, this.dataGridTextBoxColumn8, this.dataGridTextBoxColumn9, this.dataGridTextBoxColumn14, this.dataGridTextBoxColumn10, this.dataGridTextBoxColumn11, this.dataGridTextBoxColumn5 }); this.dataGridTableStyle1.HeaderForeColor = System.Drawing.SystemColors.ControlText; this.dataGridTableStyle1.ReadOnly = true; // // dataGridTextBoxColumn1 // this.dataGridTextBoxColumn1.Format = ""; this.dataGridTextBoxColumn1.FormatInfo = null; this.dataGridTextBoxColumn1.HeaderText = "序号"; this.dataGridTextBoxColumn1.Width = 35; // // dataGridTextBoxColumn15 // this.dataGridTextBoxColumn15.Format = ""; this.dataGridTextBoxColumn15.FormatInfo = null; this.dataGridTextBoxColumn15.HeaderText = "调价文号"; this.dataGridTextBoxColumn15.Width = 60; // // dataGridTextBoxColumn16 // this.dataGridTextBoxColumn16.Format = ""; this.dataGridTextBoxColumn16.FormatInfo = null; this.dataGridTextBoxColumn16.HeaderText = "调价日期"; this.dataGridTextBoxColumn16.Width = 75; // // dataGridTextBoxColumn2 // this.dataGridTextBoxColumn2.Format = ""; this.dataGridTextBoxColumn2.FormatInfo = null; this.dataGridTextBoxColumn2.HeaderText = "品名"; this.dataGridTextBoxColumn2.Width = 120; // // 商品名 // this.商品名.Format = ""; this.商品名.FormatInfo = null; this.商品名.HeaderText = "商品名"; this.商品名.Width = 120; // // dataGridTextBoxColumn3 // this.dataGridTextBoxColumn3.Format = ""; this.dataGridTextBoxColumn3.FormatInfo = null; this.dataGridTextBoxColumn3.HeaderText = "规格"; this.dataGridTextBoxColumn3.Width = 90; // // dataGridTextBoxColumn4 // this.dataGridTextBoxColumn4.Format = ""; this.dataGridTextBoxColumn4.FormatInfo = null; this.dataGridTextBoxColumn4.HeaderText = "厂家"; this.dataGridTextBoxColumn4.Width = 90; // // dataGridTextBoxColumn6 // this.dataGridTextBoxColumn6.Format = ""; this.dataGridTextBoxColumn6.FormatInfo = null; this.dataGridTextBoxColumn6.HeaderText = "原批发价"; this.dataGridTextBoxColumn6.Width = 60; // // dataGridTextBoxColumn7 // this.dataGridTextBoxColumn7.Format = ""; this.dataGridTextBoxColumn7.FormatInfo = null; this.dataGridTextBoxColumn7.HeaderText = "调批发价"; this.dataGridTextBoxColumn7.Width = 60; // // dataGridTextBoxColumn12 // this.dataGridTextBoxColumn12.Format = ""; this.dataGridTextBoxColumn12.FormatInfo = null; this.dataGridTextBoxColumn12.HeaderText = "原零售价"; this.dataGridTextBoxColumn12.Width = 60; // // dataGridTextBoxColumn13 // this.dataGridTextBoxColumn13.Format = ""; this.dataGridTextBoxColumn13.FormatInfo = null; this.dataGridTextBoxColumn13.HeaderText = "调零售价"; this.dataGridTextBoxColumn13.Width = 60; // // dataGridTextBoxColumn8 // this.dataGridTextBoxColumn8.Format = ""; this.dataGridTextBoxColumn8.FormatInfo = null; this.dataGridTextBoxColumn8.HeaderText = "调价数量"; this.dataGridTextBoxColumn8.Width = 60; // // dataGridTextBoxColumn9 // this.dataGridTextBoxColumn9.Format = ""; this.dataGridTextBoxColumn9.FormatInfo = null; this.dataGridTextBoxColumn9.HeaderText = "单位"; this.dataGridTextBoxColumn9.Width = 40; // // dataGridTextBoxColumn14 // this.dataGridTextBoxColumn14.Format = ""; this.dataGridTextBoxColumn14.FormatInfo = null; this.dataGridTextBoxColumn14.HeaderText = "单位差价"; this.dataGridTextBoxColumn14.Width = 60; // // dataGridTextBoxColumn10 // this.dataGridTextBoxColumn10.Format = ""; this.dataGridTextBoxColumn10.FormatInfo = null; this.dataGridTextBoxColumn10.HeaderText = "调批发金额"; this.dataGridTextBoxColumn10.Width = 75; // // dataGridTextBoxColumn11 // this.dataGridTextBoxColumn11.Format = ""; this.dataGridTextBoxColumn11.FormatInfo = null; this.dataGridTextBoxColumn11.HeaderText = "调零售金额"; this.dataGridTextBoxColumn11.Width = 75; // // dataGridTextBoxColumn5 // this.dataGridTextBoxColumn5.Format = ""; this.dataGridTextBoxColumn5.FormatInfo = null; this.dataGridTextBoxColumn5.HeaderText = "货号"; this.dataGridTextBoxColumn5.Width = 60; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 509); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.statusBarPanel1, this.statusBarPanel2, this.statusBarPanel3 }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(864, 24); this.statusBar1.TabIndex = 1; this.statusBar1.Text = "statusBar1"; // // statusBarPanel1 // this.statusBarPanel1.Name = "statusBarPanel1"; this.statusBarPanel1.Width = 150; // // statusBarPanel2 // this.statusBarPanel2.Name = "statusBarPanel2"; this.statusBarPanel2.Width = 150; // // statusBarPanel3 // this.statusBarPanel3.Name = "statusBarPanel3"; this.statusBarPanel3.Width = 150; // // groupBox2 // this.groupBox2.Controls.Add(this.myDataGrid1); this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupBox2.Location = new System.Drawing.Point(0, 72); this.groupBox2.Name = "groupBox2"; this.groupBox2.Size = new System.Drawing.Size(864, 437); this.groupBox2.TabIndex = 2; this.groupBox2.TabStop = false; this.groupBox2.Text = "调价明细"; // // Frmtjmx // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(864, 533); this.Controls.Add(this.groupBox2); this.Controls.Add(this.statusBar1); this.Controls.Add(this.groupBox1); this.Name = "Frmtjmx"; this.StartPosition = System.Windows.Forms.FormStartPosition.Manual; this.Text = "调价查询"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Frmkccx_Load); this.groupBox1.ResumeLayout(false); this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.myDataGrid1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.statusBarPanel3)).EndInit(); this.groupBox2.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(formOcrMonitor)); this.sbApp = new System.Windows.Forms.StatusBar(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.label5 = new System.Windows.Forms.Label(); this.lblOCRMessage = new System.Windows.Forms.Label(); this.lblOCRConnectedStatus = new System.Windows.Forms.Label(); this.lblOCRRegisteredStatus = new System.Windows.Forms.Label(); this.btnProcessOCRMessage = new System.Windows.Forms.Button(); this.DataCol_Time = new System.Data.DataColumn(); this.DataCol_Guid = new System.Data.DataColumn(); this.DataCol_Message = new System.Data.DataColumn(); this.listView_Log = new System.Windows.Forms.ListView(); this.colTime = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.colMessage = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader())); this.TestUnzip = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.SuspendLayout(); // // sbApp // this.sbApp.Location = new System.Drawing.Point(0, 707); this.sbApp.Name = "sbApp"; this.sbApp.Size = new System.Drawing.Size(488, 22); this.sbApp.TabIndex = 10; // // groupBox1 // this.groupBox1.Controls.Add(this.label3); this.groupBox1.Controls.Add(this.label4); this.groupBox1.Controls.Add(this.label5); this.groupBox1.Controls.Add(this.lblOCRMessage); this.groupBox1.Controls.Add(this.lblOCRConnectedStatus); this.groupBox1.Controls.Add(this.lblOCRRegisteredStatus); this.groupBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.groupBox1.Location = new System.Drawing.Point(8, 32); this.groupBox1.Name = "groupBox1"; this.groupBox1.Size = new System.Drawing.Size(472, 88); this.groupBox1.TabIndex = 44; this.groupBox1.TabStop = false; this.groupBox1.Text = "OCR SYSTEM"; // // label3 // this.label3.Location = new System.Drawing.Point(16, 62); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(320, 20); this.label3.TabIndex = 52; this.label3.Text = "Current Message"; this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label4 // this.label4.Location = new System.Drawing.Point(352, 62); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(90, 20); this.label4.TabIndex = 51; this.label4.Text = "Connected"; this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label5 // this.label5.Location = new System.Drawing.Point(452, 62); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(100, 20); this.label5.TabIndex = 50; this.label5.Text = "Registered"; this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; this.label5.Visible = false; // // lblOCRMessage // this.lblOCRMessage.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblOCRMessage.Location = new System.Drawing.Point(16, 24); this.lblOCRMessage.Name = "lblOCRMessage"; this.lblOCRMessage.Size = new System.Drawing.Size(320, 32); this.lblOCRMessage.TabIndex = 2; this.lblOCRMessage.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // lblOCRConnectedStatus // this.lblOCRConnectedStatus.BackColor = System.Drawing.Color.Red; this.lblOCRConnectedStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblOCRConnectedStatus.Location = new System.Drawing.Point(384, 24); this.lblOCRConnectedStatus.Name = "lblOCRConnectedStatus"; this.lblOCRConnectedStatus.Size = new System.Drawing.Size(32, 32); this.lblOCRConnectedStatus.TabIndex = 0; // // lblOCRRegisteredStatus // this.lblOCRRegisteredStatus.BackColor = System.Drawing.Color.Red; this.lblOCRRegisteredStatus.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; this.lblOCRRegisteredStatus.Location = new System.Drawing.Point(484, 24); this.lblOCRRegisteredStatus.Name = "lblOCRRegisteredStatus"; this.lblOCRRegisteredStatus.Size = new System.Drawing.Size(32, 32); this.lblOCRRegisteredStatus.TabIndex = 0; this.lblOCRRegisteredStatus.Visible = false; // // btnProcessOCRMessage // this.btnProcessOCRMessage.Location = new System.Drawing.Point(330, 3); this.btnProcessOCRMessage.Name = "btnProcessOCRMessage"; this.btnProcessOCRMessage.Size = new System.Drawing.Size(150, 33); this.btnProcessOCRMessage.TabIndex = 55; this.btnProcessOCRMessage.Text = "Test OCR Message"; this.btnProcessOCRMessage.Click += new System.EventHandler(this.btnProcessOCRMessage_Click); // // DataCol_Time // this.DataCol_Time.ColumnName = "Time"; // // DataCol_Guid // this.DataCol_Guid.ColumnName = "GUID"; // // DataCol_Message // this.DataCol_Message.ColumnName = "Message"; // // listView_Log // this.listView_Log.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.colTime, this.colMessage }); this.listView_Log.FullRowSelect = true; this.listView_Log.Location = new System.Drawing.Point(8, 126); this.listView_Log.Name = "listView_Log"; this.listView_Log.Size = new System.Drawing.Size(472, 595); this.listView_Log.TabIndex = 57; this.listView_Log.UseCompatibleStateImageBehavior = false; this.listView_Log.View = System.Windows.Forms.View.Details; // // colTime // this.colTime.Text = "Time"; this.colTime.Width = 161; // // colMessage // this.colMessage.Text = "Message"; this.colMessage.Width = 306; // // TestUnzip // this.TestUnzip.Location = new System.Drawing.Point(164, 3); this.TestUnzip.Name = "TestUnzip"; this.TestUnzip.Size = new System.Drawing.Size(150, 33); this.TestUnzip.TabIndex = 58; this.TestUnzip.Text = "Test Unzip"; this.TestUnzip.Click += new System.EventHandler(this.TestUnzip_Click); // // formOcrMonitor // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(488, 729); this.Controls.Add(this.TestUnzip); this.Controls.Add(this.listView_Log); this.Controls.Add(this.btnProcessOCRMessage); this.Controls.Add(this.groupBox1); this.Controls.Add(this.sbApp); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.Name = "formOcrMonitor"; this.Text = "OCR Monitor"; this.Closing += new System.ComponentModel.CancelEventHandler(this.frmMonitor_Closing); this.Load += new System.EventHandler(this.frmMonitor_Load); this.groupBox1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(MainWnd)); this.menu_About = new UMLDes.Controls.FlatMenuItem(); this.toolbarImages = new System.Windows.Forms.ImageList(this.components); this.menumain_Help = new UMLDes.Controls.FlatMenuItem(); this.menu_show_hints = new UMLDes.Controls.FlatMenuItem(); this.menu_GC_Collect = new UMLDes.Controls.FlatMenuItem(); this.mainMenu1 = new System.Windows.Forms.MainMenu(); this.menumain_File = new UMLDes.Controls.FlatMenuItem(); this.menu_NewProject = new UMLDes.Controls.FlatMenuItem(); this.menu_OpenProject = new UMLDes.Controls.FlatMenuItem(); this.menu_SaveProject = new UMLDes.Controls.FlatMenuItem(); this.menu_SaveProjAs = new UMLDes.Controls.FlatMenuItem(); this.menuItem4 = new UMLDes.Controls.FlatMenuItem(); this.menu_Print = new UMLDes.Controls.FlatMenuItem(); this.menu_PrintPreview = new UMLDes.Controls.FlatMenuItem(); this.menu_SaveToImage = new UMLDes.Controls.FlatMenuItem(); this.menuItem1 = new UMLDes.Controls.FlatMenuItem(); this.menu_Exit = new UMLDes.Controls.FlatMenuItem(); this.menumain_Edit = new UMLDes.Controls.FlatMenuItem(); this.menu_Undo = new UMLDes.Controls.FlatMenuItem(); this.menu_Redo = new UMLDes.Controls.FlatMenuItem(); this.menuItem26 = new UMLDes.Controls.FlatMenuItem(); this.menu_Cut = new UMLDes.Controls.FlatMenuItem(); this.menu_Copy = new UMLDes.Controls.FlatMenuItem(); this.menu_Paste = new UMLDes.Controls.FlatMenuItem(); this.menu_Delete = new UMLDes.Controls.FlatMenuItem(); this.menuItem31 = new UMLDes.Controls.FlatMenuItem(); this.menu_SelectAll = new UMLDes.Controls.FlatMenuItem(); this.menu_copyAsImage = new UMLDes.Controls.FlatMenuItem(); this.menuItem2 = new UMLDes.Controls.FlatMenuItem(); this.menu_ZoomIn = new UMLDes.Controls.FlatMenuItem(); this.menu_ZoomOut = new UMLDes.Controls.FlatMenuItem(); this.menumain_Project = new UMLDes.Controls.FlatMenuItem(); this.menu_AddFiles = new UMLDes.Controls.FlatMenuItem(); this.menu_AddStaticView = new UMLDes.Controls.FlatMenuItem(); this.menu_Parse = new UMLDes.Controls.FlatMenuItem(); this.treeImages = new System.Windows.Forms.ImageList(this.components); this.toolBar1 = new UMLDes.Controls.FlatToolBar(); this.panel1 = new System.Windows.Forms.Panel(); this.ProjectTree = new UMLDes.Controls.UmlSolutionTree(); this.splitter1 = new System.Windows.Forms.Splitter(); this.ViewCtrl1 = new UMLDes.ViewCtrl(); this.statusBar1 = new System.Windows.Forms.StatusBar(); this.status_panel = new System.Windows.Forms.StatusBarPanel(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.status_panel)).BeginInit(); this.SuspendLayout(); // // menu_About // this.menu_About.Enabled = false; this.menu_About.ImageIndex = 14; this.menu_About.Images = this.toolbarImages; this.menu_About.Index = 0; this.menu_About.OwnerDraw = true; this.menu_About.Text = "&About"; // // toolbarImages // this.toolbarImages.ImageSize = new System.Drawing.Size(16, 16); this.toolbarImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("toolbarImages.ImageStream"))); this.toolbarImages.TransparentColor = System.Drawing.Color.Silver; // // menumain_Help // this.menumain_Help.ImageIndex = 0; this.menumain_Help.Images = null; this.menumain_Help.Index = 4; this.menumain_Help.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menu_About, this.menu_show_hints, this.menu_GC_Collect }); this.menumain_Help.OwnerDraw = true; this.menumain_Help.Text = "&Help"; this.menumain_Help.Popup += new System.EventHandler(this.Help_Popup); // // menu_show_hints // this.menu_show_hints.ImageIndex = 0; this.menu_show_hints.Images = null; this.menu_show_hints.Index = 1; this.menu_show_hints.OwnerDraw = true; this.menu_show_hints.Text = "Show &hints"; // // menu_GC_Collect // this.menu_GC_Collect.ImageIndex = 0; this.menu_GC_Collect.Images = null; this.menu_GC_Collect.Index = 2; this.menu_GC_Collect.OwnerDraw = true; this.menu_GC_Collect.Text = "GC.Collect"; this.menu_GC_Collect.Click += new System.EventHandler(this.menu_GC_Collect_Click); // // mainMenu1 // this.mainMenu1.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menumain_File, this.menumain_Edit, this.menuItem2, this.menumain_Project, this.menumain_Help }); // // menumain_File // this.menumain_File.ImageIndex = 0; this.menumain_File.Images = null; this.menumain_File.Index = 0; this.menumain_File.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menu_NewProject, this.menu_OpenProject, this.menu_SaveProject, this.menu_SaveProjAs, this.menuItem4, this.menu_Print, this.menu_PrintPreview, this.menu_SaveToImage, this.menuItem1, this.menu_Exit }); this.menumain_File.OwnerDraw = true; this.menumain_File.Text = "&File"; // // menu_NewProject // this.menu_NewProject.ImageIndex = 0; this.menu_NewProject.Images = this.toolbarImages; this.menu_NewProject.Index = 0; this.menu_NewProject.OwnerDraw = true; this.menu_NewProject.Shortcut = System.Windows.Forms.Shortcut.CtrlN; this.menu_NewProject.Text = "&New project"; this.menu_NewProject.Click += new System.EventHandler(this.menu_NewProject_Click); // // menu_OpenProject // this.menu_OpenProject.ImageIndex = 1; this.menu_OpenProject.Images = this.toolbarImages; this.menu_OpenProject.Index = 1; this.menu_OpenProject.OwnerDraw = true; this.menu_OpenProject.Shortcut = System.Windows.Forms.Shortcut.CtrlO; this.menu_OpenProject.Text = "&Open project"; this.menu_OpenProject.Click += new System.EventHandler(this.LoadProject); // // menu_SaveProject // this.menu_SaveProject.ImageIndex = 2; this.menu_SaveProject.Images = this.toolbarImages; this.menu_SaveProject.Index = 2; this.menu_SaveProject.OwnerDraw = true; this.menu_SaveProject.Shortcut = System.Windows.Forms.Shortcut.CtrlS; this.menu_SaveProject.Text = "&Save project"; this.menu_SaveProject.Click += new System.EventHandler(this.SaveProject); // // menu_SaveProjAs // this.menu_SaveProjAs.ImageIndex = 0; this.menu_SaveProjAs.Images = null; this.menu_SaveProjAs.Index = 3; this.menu_SaveProjAs.OwnerDraw = true; this.menu_SaveProjAs.Text = "Save &As ..."; this.menu_SaveProjAs.Click += new System.EventHandler(this.SaveAsProject); // // menuItem4 // this.menuItem4.ImageIndex = 0; this.menuItem4.Images = null; this.menuItem4.Index = 4; this.menuItem4.OwnerDraw = true; this.menuItem4.Text = "-"; // // menu_Print // this.menu_Print.ImageIndex = 18; this.menu_Print.Images = this.toolbarImages; this.menu_Print.Index = 5; this.menu_Print.OwnerDraw = true; this.menu_Print.Shortcut = System.Windows.Forms.Shortcut.CtrlP; this.menu_Print.Text = "&Print"; this.menu_Print.Click += new System.EventHandler(this.menu_Print_Click); // // menu_PrintPreview // this.menu_PrintPreview.ImageIndex = 24; this.menu_PrintPreview.Images = this.toolbarImages; this.menu_PrintPreview.Index = 6; this.menu_PrintPreview.OwnerDraw = true; this.menu_PrintPreview.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftP; this.menu_PrintPreview.Text = "Print Pre&view"; this.menu_PrintPreview.Click += new System.EventHandler(this.menu_PrintPreview_Click); // // menu_SaveToImage // this.menu_SaveToImage.ImageIndex = 0; this.menu_SaveToImage.Images = null; this.menu_SaveToImage.Index = 7; this.menu_SaveToImage.OwnerDraw = true; this.menu_SaveToImage.Shortcut = System.Windows.Forms.Shortcut.CtrlI; this.menu_SaveToImage.Text = "Save diagram as Image"; this.menu_SaveToImage.Click += new System.EventHandler(this.menu_SaveToImage_Click); // // menuItem1 // this.menuItem1.ImageIndex = 0; this.menuItem1.Images = null; this.menuItem1.Index = 8; this.menuItem1.OwnerDraw = true; this.menuItem1.Text = "-"; // // menu_Exit // this.menu_Exit.ImageIndex = 0; this.menu_Exit.Images = null; this.menu_Exit.Index = 9; this.menu_Exit.OwnerDraw = true; this.menu_Exit.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.menu_Exit.Text = "E&xit"; this.menu_Exit.Click += new System.EventHandler(this.Exit); // // menumain_Edit // this.menumain_Edit.ImageIndex = 0; this.menumain_Edit.Images = null; this.menumain_Edit.Index = 1; this.menumain_Edit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menu_Undo, this.menu_Redo, this.menuItem26, this.menu_Cut, this.menu_Copy, this.menu_Paste, this.menu_Delete, this.menuItem31, this.menu_SelectAll, this.menu_copyAsImage }); this.menumain_Edit.OwnerDraw = true; this.menumain_Edit.Text = "&Edit"; this.menumain_Edit.Popup += new System.EventHandler(this.EditMenuPopup); // // menu_Undo // this.menu_Undo.ImageIndex = 15; this.menu_Undo.Images = this.toolbarImages; this.menu_Undo.Index = 0; this.menu_Undo.OwnerDraw = true; this.menu_Undo.Shortcut = System.Windows.Forms.Shortcut.CtrlZ; this.menu_Undo.Text = "&Undo"; this.menu_Undo.Click += new System.EventHandler(this.menu_Undo_Click); // // menu_Redo // this.menu_Redo.ImageIndex = 16; this.menu_Redo.Images = this.toolbarImages; this.menu_Redo.Index = 1; this.menu_Redo.OwnerDraw = true; this.menu_Redo.Shortcut = System.Windows.Forms.Shortcut.CtrlY; this.menu_Redo.Text = "&Redo"; this.menu_Redo.Click += new System.EventHandler(this.menu_Redo_Click); // // menuItem26 // this.menuItem26.ImageIndex = 0; this.menuItem26.Images = null; this.menuItem26.Index = 2; this.menuItem26.OwnerDraw = true; this.menuItem26.Text = "-"; // // menu_Cut // this.menu_Cut.ImageIndex = 4; this.menu_Cut.Images = this.toolbarImages; this.menu_Cut.Index = 3; this.menu_Cut.OwnerDraw = true; this.menu_Cut.Shortcut = System.Windows.Forms.Shortcut.CtrlX; this.menu_Cut.Text = "Cu&t"; this.menu_Cut.Click += new System.EventHandler(this.menu_Cut_Click); // // menu_Copy // this.menu_Copy.ImageIndex = 5; this.menu_Copy.Images = this.toolbarImages; this.menu_Copy.Index = 4; this.menu_Copy.OwnerDraw = true; this.menu_Copy.Shortcut = System.Windows.Forms.Shortcut.CtrlC; this.menu_Copy.Text = "&Copy"; this.menu_Copy.Click += new System.EventHandler(this.menu_Copy_Click); // // menu_Paste // this.menu_Paste.ImageIndex = 6; this.menu_Paste.Images = this.toolbarImages; this.menu_Paste.Index = 5; this.menu_Paste.OwnerDraw = true; this.menu_Paste.Shortcut = System.Windows.Forms.Shortcut.CtrlV; this.menu_Paste.Text = "&Paste"; this.menu_Paste.Click += new System.EventHandler(this.menu_Paste_Click); // // menu_Delete // this.menu_Delete.ImageIndex = 19; this.menu_Delete.Images = this.toolbarImages; this.menu_Delete.Index = 6; this.menu_Delete.OwnerDraw = true; this.menu_Delete.Shortcut = System.Windows.Forms.Shortcut.Del; this.menu_Delete.Text = "&Delete"; this.menu_Delete.Click += new System.EventHandler(this.menuDeleteClick); // // menuItem31 // this.menuItem31.ImageIndex = 0; this.menuItem31.Images = null; this.menuItem31.Index = 7; this.menuItem31.OwnerDraw = true; this.menuItem31.Text = "-"; // // menu_SelectAll // this.menu_SelectAll.ImageIndex = 0; this.menu_SelectAll.Images = null; this.menu_SelectAll.Index = 8; this.menu_SelectAll.OwnerDraw = true; this.menu_SelectAll.Shortcut = System.Windows.Forms.Shortcut.CtrlA; this.menu_SelectAll.Text = "Select &All"; this.menu_SelectAll.Click += new System.EventHandler(this.menu_SelectAll_Click); // // menu_copyAsImage // this.menu_copyAsImage.ImageIndex = 0; this.menu_copyAsImage.Images = null; this.menu_copyAsImage.Index = 9; this.menu_copyAsImage.OwnerDraw = true; this.menu_copyAsImage.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftC; this.menu_copyAsImage.Text = "Copy diagram as Image"; this.menu_copyAsImage.Click += new System.EventHandler(this.menu_copyAsImage_Click); // // menuItem2 // this.menuItem2.ImageIndex = 0; this.menuItem2.Images = null; this.menuItem2.Index = 2; this.menuItem2.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menu_ZoomIn, this.menu_ZoomOut }); this.menuItem2.OwnerDraw = true; this.menuItem2.Text = "&View"; // // menu_ZoomIn // this.menu_ZoomIn.ImageIndex = 0; this.menu_ZoomIn.Images = null; this.menu_ZoomIn.Index = 0; this.menu_ZoomIn.OwnerDraw = true; this.menu_ZoomIn.Shortcut = System.Windows.Forms.Shortcut.CtrlJ; this.menu_ZoomIn.Text = "Zoom in"; this.menu_ZoomIn.Click += new System.EventHandler(this.menu_ZoomIn_Click); // // menu_ZoomOut // this.menu_ZoomOut.ImageIndex = 0; this.menu_ZoomOut.Images = null; this.menu_ZoomOut.Index = 1; this.menu_ZoomOut.OwnerDraw = true; this.menu_ZoomOut.Shortcut = System.Windows.Forms.Shortcut.CtrlK; this.menu_ZoomOut.Text = "Zoom out"; this.menu_ZoomOut.Click += new System.EventHandler(this.menu_ZoomOut_Click); // // menumain_Project // this.menumain_Project.ImageIndex = 0; this.menumain_Project.Images = null; this.menumain_Project.Index = 3; this.menumain_Project.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] { this.menu_AddFiles, this.menu_AddStaticView, this.menu_Parse }); this.menumain_Project.OwnerDraw = true; this.menumain_Project.Text = "&Project"; // // menu_AddFiles // this.menu_AddFiles.ImageIndex = 20; this.menu_AddFiles.Images = this.toolbarImages; this.menu_AddFiles.Index = 0; this.menu_AddFiles.OwnerDraw = true; this.menu_AddFiles.Shortcut = System.Windows.Forms.Shortcut.CtrlF; this.menu_AddFiles.Text = "&Add files"; this.menu_AddFiles.Click += new System.EventHandler(this.AddFiles); // // menu_AddStaticView // this.menu_AddStaticView.ImageIndex = 13; this.menu_AddStaticView.Images = this.toolbarImages; this.menu_AddStaticView.Index = 1; this.menu_AddStaticView.OwnerDraw = true; this.menu_AddStaticView.Shortcut = System.Windows.Forms.Shortcut.CtrlShiftN; this.menu_AddStaticView.Text = "&Add static view"; this.menu_AddStaticView.Click += new System.EventHandler(this.menu_AddStaticView_Click); // // menu_Parse // this.menu_Parse.ImageIndex = 17; this.menu_Parse.Images = this.toolbarImages; this.menu_Parse.Index = 2; this.menu_Parse.OwnerDraw = true; this.menu_Parse.Shortcut = System.Windows.Forms.Shortcut.F5; this.menu_Parse.Text = "Parse files, refresh tree"; this.menu_Parse.Click += new System.EventHandler(this.RefreshProject); // // treeImages // this.treeImages.ImageSize = new System.Drawing.Size(16, 16); this.treeImages.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("treeImages.ImageStream"))); this.treeImages.TransparentColor = System.Drawing.Color.Transparent; // // toolBar1 // this.toolBar1.BackColor = System.Drawing.Color.FromArgb(((System.Byte)(219)), ((System.Byte)(216)), ((System.Byte)(209))); this.toolBar1.Dock = System.Windows.Forms.DockStyle.Top; this.toolBar1.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(219)), ((System.Byte)(216)), ((System.Byte)(209))); this.toolBar1.images = this.toolbarImages; this.toolBar1.Location = new System.Drawing.Point(0, 0); this.toolBar1.Name = "toolBar1"; this.toolBar1.Size = new System.Drawing.Size(784, 24); this.toolBar1.TabIndex = 10; this.toolBar1.TabStop = false; // // panel1 // this.panel1.Controls.Add(this.ProjectTree); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 24); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(216, 415); this.panel1.TabIndex = 13; // // ProjectTree // this.ProjectTree.Dock = System.Windows.Forms.DockStyle.Fill; this.ProjectTree.ImageIndex = -1; this.ProjectTree.Location = new System.Drawing.Point(0, 0); this.ProjectTree.Name = "ProjectTree"; this.ProjectTree.SelectedImageIndex = -1; this.ProjectTree.Size = new System.Drawing.Size(216, 415); this.ProjectTree.TabIndex = 2; // // splitter1 // this.splitter1.Location = new System.Drawing.Point(216, 24); this.splitter1.Name = "splitter1"; this.splitter1.Size = new System.Drawing.Size(3, 415); this.splitter1.TabIndex = 14; this.splitter1.TabStop = false; // // ViewCtrl1 // this.ViewCtrl1.AllowDrop = true; this.ViewCtrl1.Curr = null; this.ViewCtrl1.Dock = System.Windows.Forms.DockStyle.Fill; this.ViewCtrl1.Font = new System.Drawing.Font("Arial", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(204))); this.ViewCtrl1.Location = new System.Drawing.Point(219, 24); this.ViewCtrl1.Name = "ViewCtrl1"; this.ViewCtrl1.Size = new System.Drawing.Size(565, 415); this.ViewCtrl1.TabIndex = 15; // // statusBar1 // this.statusBar1.Location = new System.Drawing.Point(0, 439); this.statusBar1.Name = "statusBar1"; this.statusBar1.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] { this.status_panel }); this.statusBar1.ShowPanels = true; this.statusBar1.Size = new System.Drawing.Size(784, 18); this.statusBar1.TabIndex = 1; // // status_panel // this.status_panel.AutoSize = System.Windows.Forms.StatusBarPanelAutoSize.Spring; this.status_panel.Text = "Ready"; this.status_panel.ToolTipText = "Status"; this.status_panel.Width = 768; // // MainWnd // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(784, 457); this.Controls.Add(this.ViewCtrl1); this.Controls.Add(this.splitter1); this.Controls.Add(this.panel1); this.Controls.Add(this.toolBar1); this.Controls.Add(this.statusBar1); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Location = new System.Drawing.Point(0, 0); this.Menu = this.mainMenu1; this.Name = "MainWnd"; this.Text = "C# UML Designer"; this.panel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.status_panel)).EndInit(); this.ResumeLayout(false); }