当前位置: 首页>>代码示例>>C#>>正文


C# ContextMenuStrip.SuspendLayout方法代码示例

本文整理汇总了C#中System.Windows.Forms.ContextMenuStrip.SuspendLayout方法的典型用法代码示例。如果您正苦于以下问题:C# ContextMenuStrip.SuspendLayout方法的具体用法?C# ContextMenuStrip.SuspendLayout怎么用?C# ContextMenuStrip.SuspendLayout使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.Forms.ContextMenuStrip的用法示例。


在下文中一共展示了ContextMenuStrip.SuspendLayout方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: NotificationProvider

        static NotificationProvider()
        {
            _notifyIcon = new NotifyIcon
            {
                //BalloonTipIcon = ToolTipIcon.Info,
                Visible = true,
                Icon = Resources.lensert_icon_fresh,
                Text = "Lensert"
            };

            _backlog = new ConcurrentQueue<Notification>();

            _notifyIcon.BalloonTipClicked += OnBalloonClicked;
            _notifyIcon.BalloonTipClosed += OnBalloonClosed;

            var trayIconContextMenu = new ContextMenuStrip();
            var closeMenuItem = new ToolStripMenuItem();
            trayIconContextMenu.SuspendLayout();

            trayIconContextMenu.Items.AddRange(new ToolStripItem[] {closeMenuItem});
            trayIconContextMenu.Name = "trayIconContextMenu";
            trayIconContextMenu.Size = new Size(153, 70);

            closeMenuItem.Name = "closeMenuItem";
            closeMenuItem.Size = new Size(152, 22);
            closeMenuItem.Text = "Close";
            closeMenuItem.Click += CloseMenuItem_Click;

            trayIconContextMenu.ResumeLayout(false);
            _notifyIcon.ContextMenuStrip = trayIconContextMenu;
        }
开发者ID:zwolsman,项目名称:lensert-win,代码行数:31,代码来源:NotificationProvider.cs

示例2: TaskBarIconMenu

        public TaskBarIconMenu()
        {
            TrayIcon_Menu = new ContextMenuStrip();
            TrayIcon_Artist = new ToolStripLabel();
            TrayIcon_Title = new ToolStripLabel();
            TrayIcon_Diff = new ToolStripLabel();
            TrayIcon_Play = new ToolStripMenuItem();
            TrayIcon_PlayNext = new ToolStripMenuItem();
            TrayIcon_PlayPrev = new ToolStripMenuItem();
            TrayIcon_Exit = new ToolStripMenuItem();
            TrayIcon_Menu.SuspendLayout();

            TrayIcon_Menu.Items.AddRange(new ToolStripItem[] {
                TrayIcon_Artist,
                TrayIcon_Title,
                TrayIcon_Diff,
                TrayIcon_Play,
                TrayIcon_PlayNext,
                TrayIcon_PlayPrev,
                TrayIcon_Exit});
            TrayIcon_Menu.Name = "TrayIcon_Menu";
            TrayIcon_Menu.Size = new Size(176, 176);
            // TrayIcon_Artist
            TrayIcon_Artist.Name = "TrayIcon_Artist";
            TrayIcon_Artist.Text = LanguageManager.Get("TrayIcon_Aritst_Text");
            TrayIcon_Artist.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
            // TrayIcon_Title
            TrayIcon_Title.Name = "TrayIcon_Title";
            TrayIcon_Title.Text = LanguageManager.Get("TrayIcon_Title_Text");
            TrayIcon_Title.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
            // TrayIcon_Diff
            TrayIcon_Diff.Name = "TrayIcon_Diff";
            TrayIcon_Diff.Text = LanguageManager.Get("TrayIcon_Diff_Text");
            TrayIcon_Diff.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Bold, GraphicsUnit.Point, 134);
            // TrayIcon_Play
            TrayIcon_Play.Name = "TrayIcon_Play";
            TrayIcon_Play.Text = LanguageManager.Get("TrayIcon_Play_Pause_Text");
            TrayIcon_Play.Click += delegate { SendKeys.Send("%{F5}"); };
            // TrayIcon_PlayNext
            TrayIcon_PlayNext.Name = "TrayIcon_PlayNext";
            TrayIcon_PlayNext.Text = LanguageManager.Get("TrayIcon_PlayNext_Text");
            TrayIcon_PlayNext.Click += delegate { SendKeys.Send("%{RIGHT}"); };
            // TrayIcon_PlayNext
            TrayIcon_PlayPrev.Name = "TrayIcon_PlayPrev";
            TrayIcon_PlayPrev.Text = LanguageManager.Get("TrayIcon_PlayPrev_Text");
            TrayIcon_PlayPrev.Click += delegate { SendKeys.Send("%{LEFT}"); };
            // TrayIcon_Exit
            TrayIcon_Exit.Name = "TrayIcon_Exit";
            TrayIcon_Exit.Text = LanguageManager.Get("TrayIcon_Exit_Text");
            TrayIcon_Exit.Click += delegate
            {
                if (
                    MessageBox.Show(LanguageManager.Get("Comfirm_Exit_Text"), LanguageManager.Get("Tip_Text"),
                        MessageBoxButtons.YesNo) != DialogResult.Yes) return;
                Core.MainIsVisible = false;
                Core.Exit();
                Environment.Exit(0);
            };
            TrayIcon_Menu.ResumeLayout(false);
        }
开发者ID:xc0102,项目名称:OSUplayer,代码行数:60,代码来源:TaskBarIconMenu.cs

示例3: InitializeComponent

        private void InitializeComponent()
        {
            TrayIcon = new NotifyIcon();
            TrayIcon.BalloonTipIcon = ToolTipIcon.Info;
            TrayIcon.Text = "STORJ Virtual Disk";
            TrayIcon.Icon = Properties.Resources.TrayIcon;

            TrayIconContextMenu = new ContextMenuStrip();
            CloseMenuItem = new ToolStripMenuItem();
            TrayIconContextMenu.SuspendLayout();

            // 
            // TrayIconContextMenu
            // 
            this.TrayIconContextMenu.Items.AddRange(new ToolStripItem[] {
            this.CloseMenuItem});
            this.TrayIconContextMenu.Name = "TrayIconContextMenu";
            this.TrayIconContextMenu.Size = new Size(153, 70);

            // 
            // CloseMenuItem
            // 
            this.CloseMenuItem.Name = "CloseMenuItem";
            this.CloseMenuItem.Size = new Size(152, 22);
            this.CloseMenuItem.Text = "Exit";
            this.CloseMenuItem.Click += new EventHandler(this.CloseMenuItem_Click);

            TrayIconContextMenu.ResumeLayout(false);
            TrayIcon.ContextMenuStrip = TrayIconContextMenu;
        }
开发者ID:Mrkebubun,项目名称:StorjVirtualDisk,代码行数:30,代码来源:Main.cs

示例4: ImgyazurIcon

        private ImgyazurIcon()
        {
            contextMenuStrip = new ContextMenuStrip();
            contextMenuStrip.SuspendLayout();

            exitMenuItem = new ToolStripMenuItem();
            exitMenuItem.Name = "exitMenuItem";
            exitMenuItem.Text = "Exit";
            exitMenuItem.Click += new EventHandler(exitMenuItem_Click);

            startOnBootMenuItem = new ToolStripMenuItem();
            startOnBootMenuItem.Name = "startOnBootMenuItem";
            startOnBootMenuItem.Text = "Start On Boot";
            startOnBootMenuItem.CheckOnClick = true;
            if (rkApp.GetValue("imgyazur") == null)
                startOnBootMenuItem.Checked = false;
            else
                startOnBootMenuItem.Checked = true;
            startOnBootMenuItem.CheckedChanged += new EventHandler(startOnBootMenuItem_CheckedChanged);

            copyAfterUploadMenuItem = new ToolStripMenuItem();
            copyAfterUploadMenuItem.Name = "copyAfterUploadMenuItem";
            copyAfterUploadMenuItem.Text = "Copy URL After Upload";
            copyAfterUploadMenuItem.CheckOnClick = true;
            copyAfterUploadMenuItem.Checked = Properties.Settings.Default.copyToClipboard;
            copyAfterUploadMenuItem.CheckedChanged += new EventHandler(copyAfterUploadMenuItem_CheckedChanged);

            openAfterUploadMenuItem = new ToolStripMenuItem();
            openAfterUploadMenuItem.Name = "openAfterUploadMenuItem";
            openAfterUploadMenuItem.Text = "Open URL After Upload";
            openAfterUploadMenuItem.CheckOnClick = true;
            openAfterUploadMenuItem.Checked = Properties.Settings.Default.openAfterUpload;
            openAfterUploadMenuItem.CheckedChanged += new EventHandler(openAfterUploadMenuItem_CheckedChanged);

            changeHotkeyMenuItem = new ToolStripMenuItem();
            changeHotkeyMenuItem.Name = "changeHotkeyMenuItem";
            changeHotkeyMenuItem.Text = "Change Hotkey";
            changeHotkeyMenuItem.Click += new EventHandler(changeHotkeyMenuItem_Click);

            contextMenuStrip.Items.AddRange(new ToolStripItem[] { startOnBootMenuItem, copyAfterUploadMenuItem, openAfterUploadMenuItem, changeHotkeyMenuItem, exitMenuItem });
            contextMenuStrip.Name = "contextMenuStrip";

            contextMenuStrip.ResumeLayout(false);

            notifyIcon = new NotifyIcon();
            notifyIcon.BalloonTipText = "imgyazur";
            notifyIcon.Text = defaultText;
            notifyIcon.Visible = true;
            notifyIcon.Icon = Properties.Resources.imgur;
            notifyIcon.ContextMenuStrip = contextMenuStrip;
            notifyIcon.MouseClick += new MouseEventHandler(notifyIcon_MouseClick);
            notifyIcon.ShowBalloonTip(10000, "imgyazur is now running", "Press " + keyComboSettings.ToKeyCombo().ToString() + " or click this icon to start capturing.", ToolTipIcon.Info);

            Hook KeyboardHook = new Hook("imgyazur keyboard hook");
            KeyboardHook.KeyDownEvent += GlobalKeyDown;
        }
开发者ID:pwfff,项目名称:imgyazur,代码行数:56,代码来源:imgyazurIcon.cs

示例5: CommandMenuBuilder

 public CommandMenuBuilder()
 {
     menu = new ContextMenuStrip();
     menu.ShowCheckMargin = false;
     menu.ShowImageMargin = false;
     menu.SuspendLayout();
     menu.Opening +=new System.ComponentModel.CancelEventHandler(menu_Opening);
     menu.Closed += new ToolStripDropDownClosedEventHandler(menu_Closed);
     currentMenu = menu;
     currentButtonBar = new List<ToolStripButton>();
 }
开发者ID:ufosky-server,项目名称:MultiversePlatform,代码行数:11,代码来源:CommandMenuBuilder.cs

示例6: InitializeComponent

 private void InitializeComponent()
 {
     components = new Container();
     _notifyIcon1 = new NotifyIcon(components);
     _contextMenuStrip1 = new ContextMenuStrip(components);
     _btnAbout = new ToolStripMenuItem();
     _btnStop = new ToolStripMenuItem();
     _btnSettings = new ToolStripMenuItem();
     _btnUpdates = new ToolStripMenuItem();
     _contextMenuStrip1.SuspendLayout();
     _notifyIcon1.ContextMenuStrip = _contextMenuStrip1;
     var imgStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("WallpaperChange.favicon.ico");
     if (imgStream != null)
     {
         var ico = new Icon(imgStream);
         _notifyIcon1.Icon = ico;
     }
     _notifyIcon1.Tag = "WallpaperChange";
     _notifyIcon1.Text = @"WallpaperChange";
     _notifyIcon1.Visible = true;
     _contextMenuStrip1.Items.AddRange(new ToolStripItem[] {_btnAbout, _btnUpdates, _btnSettings, _btnStop});
     _contextMenuStrip1.Name = "_contextMenuStrip1";
     _contextMenuStrip1.Size = new Size(176, 76);
     _btnAbout.Name = "_btnAbout";
     _btnAbout.AutoSize = true;
     _btnAbout.Text = @"About";
     _btnAbout.Click += btnAbout_Click;
     _btnStop.Name = "_btnStop";
     _btnStop.AutoSize = true;
     _btnStop.Text = @"Stop";
     _btnStop.Click += btnStop_Click;
     _btnSettings.Name = "_btnSettings";
     _btnSettings.Text = @"Settings";
     _btnSettings.AutoSize = true;
     _btnSettings.Click += btnSettings_Click;
     _btnUpdates.Name = "_btnUpdates";
     _btnUpdates.Text = CheckForApplicationUpdates;
     _btnUpdates.AutoSize = true;
     _btnUpdates.Click += btnUpdates_Click;
     _contextMenuStrip1.ResumeLayout(false);
     _wallpaperTimer = new Timer {AutoReset = false};
     _wallpaperTimer.Elapsed += WallpaperTimerElapsed;
     _wallpaperTimer.Interval = 10000;
     WallpaperTimerElapsed(null, null);
     _updateTimer = new Timer {AutoReset = false};
     _updateTimer.Elapsed += (sender, args) => CheckForUpdates();
     _updateTimer.Interval = TimeSpan.FromDays(1).TotalMilliseconds;
     CheckForUpdates();
 }
开发者ID:rwood,项目名称:WallpaperChange,代码行数:49,代码来源:SysTrayApplicationContext.cs

示例7: UpPhotoGUI

        public UpPhotoGUI(MainWindow newParent)
        {
            Application.EnableVisualStyles();

            parent = newParent;

            UpPhotoTrayMenu = new ContextMenuStrip(components);
            UpPhotoTrayMenu.SuspendLayout();

            UpPhotoTrayMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[]
            {
                AboutItem,
                ViewItem,
                ExitItem,
                DownloadPhotosItem
            });

            AboutItem.Text = "About UpPhoto";
            AboutItem.Click += (x, y) => { Process.Start(@"http://www.upphoto.ca/instructions.php"); };

            ViewItem.Text = "View UpPhoto folder";
            ViewItem.Click += ViewItem_Click;

            ExitItem.Text = "Exit";
            ExitItem.Click += ExitItem_Click;

            DownloadPhotosItem.Text = "Download my photos from Facebook";
            DownloadPhotosItem.CheckOnClick = true;
            DownloadPhotosItem.Checked = false;

            UpPhotoIcon = new NotifyIcon(components);
            UpPhotoIcon.ContextMenuStrip = UpPhotoTrayMenu;
            UpPhotoIcon.Text = "UpPhoto";
            UpPhotoIcon.Visible = true;
            UpPhotoIcon.MouseClick += TrayIcon_Click;
            UpPhotoIcon.DoubleClick += ViewItem_Click;

            UpPhotoIcon.BalloonTipTitle = "Thank you for using UpPhoto!";
            UpPhotoIcon.BalloonTipText = "Click on this icon to view your UpPhoto folder. Put photos in the folder, and they will be uploaded to Facebook.";

            UpPhotoTrayMenu.ResumeLayout(true);
        }
开发者ID:drew-gross,项目名称:UpPhoto,代码行数:42,代码来源:UpPhotoGUI.cs

示例8: InitializeComponent

        private void InitializeComponent()
        {
            TrayIcon = new NotifyIcon();

            TrayIcon.BalloonTipIcon = ToolTipIcon.Info;
            //TrayIcon.BalloonTipText = "O Serviço Sihl está em execução! Para fechar clique com o botão direito!";
            TrayIcon.BalloonTipTitle = "Sihl Suporte";
            TrayIcon.Text = "Sihl Suporte";

            //The icon is added to the project resources.
            projeto = Assembly.LoadFrom(Environment.CurrentDirectory + @"\SihlHosting.exe");
            TrayIcon.Icon = new Icon(Path.GetDirectoryName(projeto.Location) + "\\suporte.ico");

            //Optional - handle doubleclicks on the icon:
            TrayIcon.DoubleClick += TrayIcon_DoubleClick;

            //Optional - Add a context menu to the TrayIcon:
            TrayIconContextMenu = new ContextMenuStrip();
            CloseMenuItem = new ToolStripMenuItem();
            TrayIconContextMenu.SuspendLayout();

            // 
            // TrayIconContextMenu
            // 
            this.TrayIconContextMenu.Items.AddRange(new ToolStripItem[] {
            this.CloseMenuItem});
            this.TrayIconContextMenu.Name = "TrayIconContextMenu";
            this.TrayIconContextMenu.Size = new Size(153, 70);
            // 
            // CloseMenuItem
            // 
            this.CloseMenuItem.Name = "CloseMenuItem";
            this.CloseMenuItem.Size = new Size(152, 22);
            this.CloseMenuItem.Text = "Fechar Sihl Suporte";
            this.CloseMenuItem.Click += new EventHandler(this.CloseMenuItem_Click);

            TrayIconContextMenu.ResumeLayout(false);

            TrayIcon.ContextMenuStrip = TrayIconContextMenu;
        }
开发者ID:thiagomoreiraboby,项目名称:SuporteOnline,代码行数:40,代码来源:HostingNotifyIcon.cs

示例9: Main

        public Main()
        {
            log4net.Config.XmlConfigurator.Configure();

            // Gestion des repertoires
            sAppPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "croustiCast");

            if (!Directory.Exists(sAppPath))
            {
                Directory.CreateDirectory(sAppPath);
                Directory.CreateDirectory(Path.Combine(sAppPath, "img"));
            }

            // Gestion de la tray icons
            TrayIcon = new NotifyIcon();
            TrayIcon.Visible = true;

            TrayIcon.BalloonTipIcon = ToolTipIcon.Info;
            TrayIcon.Icon = Properties.Resources.rss_circle;

            TrayIcon.BalloonTipText = "I noticed that you double-clicked me! What can I do for you?";
            TrayIcon.BalloonTipTitle = "Info.";

            TrayIcon.DoubleClick += TrayIcon_DoubleClick;

            TrayIconContextMenu = new ContextMenuStrip();
            CloseMenuItem = new ToolStripMenuItem();
            TrayIconContextMenu.SuspendLayout();

            this.TrayIconContextMenu.Items.AddRange(new ToolStripItem[] {
            this.CloseMenuItem});
            this.TrayIconContextMenu.Name = "TrayIconContextMenu";
            this.TrayIconContextMenu.Size = new Size(153, 70);

            this.CloseMenuItem.Name = "CloseMenuItem";
            this.CloseMenuItem.Size = new Size(152, 22);
            this.CloseMenuItem.Text = "Close the tray icon program";
            this.CloseMenuItem.Click += new EventHandler(this.CloseMenuItem_Click);
        }
开发者ID:crousti42,项目名称:crousticast,代码行数:39,代码来源:Main.cs

示例10: InitializeComponent

        private void InitializeComponent()
        {
            _notifyIcon = new NotifyIcon();
            _notifyIcon.BalloonTipIcon = ToolTipIcon.Info;
            _notifyIcon.BalloonTipText = "Domum Notifications";
            _notifyIcon.BalloonTipTitle = "Title";
            _notifyIcon.Text = "My fabulous tray icon demo";
            _notifyIcon.Icon = Properties.Resources.ASPNETWeb;

            _notifyIcon.DoubleClick += (sender, args) =>
            {
                MessageBox.Show("Dit is een test");
                _notifyIcon.ShowBalloonTip(1000);

            };

            _contextMenuStrip = new ContextMenuStrip();
            _contextMenuStrip.Name = "contextMenuStrip";
            _contextMenuStrip.SuspendLayout();

            _contextMenuStrip.Items.Add(new ToolStripMenuItem());
        }
开发者ID:RubyGonzalez,项目名称:Domum,代码行数:22,代码来源:NotificationApplicationContext.cs

示例11: InitTray

        private void InitTray()
        {
            TrayIcon = new NotifyIcon();
            TrayIcon.Visible = true;
            TrayIcon.Icon = SystemIcons.Asterisk;
            TrayIcon.DoubleClick += new System.EventHandler(this.trayTrayIcon_DoubleClick);

            var ContextMenu = new ContextMenuStrip();
            var CloseMenuItem = new ToolStripMenuItem();
            ContextMenu.SuspendLayout();

            ContextMenu.Items.Add(CloseMenuItem);

            CloseMenuItem.Name = "ContextMenu";
            CloseMenuItem.Text = "Exit";
            CloseMenuItem.Click += new EventHandler((e, b) => {
                this.Close();
                Environment.Exit(0);
            });

            ContextMenu.ResumeLayout(false);
            TrayIcon.ContextMenuStrip = ContextMenu;
        }
开发者ID:aldialimucaj,项目名称:lego,代码行数:23,代码来源:MainWindow.xaml.cs

示例12: InitializeComponent

 private void InitializeComponent()
 {
     _components = new Container();
     _systemTrayContextMenu = new ContextMenuStrip(_components);
     _systemTrayContextMenu.SuspendLayout();
     SuspendLayout();
     _systemTrayContextMenu.Size = new Size(104, 26);
     _exitToolStripItem = new ToolStripMenuItem()
     {
         Size = new Size(103, 22),
         Text = GlobalData.GuiExit
     };
     _exitToolStripItem.Click += new EventHandler(ExecuteExit);
     ToolStripItem[] toolStripItems = new ToolStripItem[] { _exitToolStripItem };
     _systemTrayContextMenu.Items.AddRange(toolStripItems);
     using (Stream iconStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("OpenSAGE.nod.ico"))
     {
         _systemTrayIcon = new NotifyIcon(_components)
         {
             BalloonTipIcon = ToolTipIcon.Info,
             BalloonTipText = GlobalData.AppName + " Background Process",
             ContextMenuStrip = _systemTrayContextMenu,
             Icon = new Icon(iconStream),
             Text = GlobalData.AppName,
             Visible = true
         };
     }
     AutoScaleDimensions = new SizeF(6.0f, 13.0f);
     AutoScaleMode = AutoScaleMode.Font;
     ClientSize = new Size(292, 266);
     Name = "SystemTrayForm";
     ShowInTaskbar = false;
     Text = "SystemTrayForm";
     _systemTrayContextMenu.ResumeLayout(false);
     ResumeLayout(false);
 }
开发者ID:Qibbi,项目名称:OpenSAGE,代码行数:36,代码来源:SystemTrayForm.cs

示例13: getSessionMenuItems

        /// <summary>
        /// Add the array of menu items to the system tray
        /// </summary>
        /// <param name="cms">The menu</param>
        /// <param name="parent">The root of the systray menu</param>
        public override void getSessionMenuItems(ContextMenuStrip cms, ToolStripItemCollection parent)
        {
            // Suspend the layout before modification
            cms.SuspendLayout();

            parent.Clear();

            // Setup the System tray array of menu items
            ToolStripMenuItem[] tsmiArray = new ToolStripMenuItem[getSessionController().getSessionList().Count];
            int i = 0;
            foreach (Session s in getSessionController().getSessionList())
            {
                tsmiArray[i] = new ToolStripMenuItem(s.SessionDisplayText, null, listBox1_DoubleClick);
                // Make sure the menu item is tagged with the session
                tsmiArray[i].Tag = s;
                i++;
            }

            if ( tsmiArray != null )
                parent.AddRange(tsmiArray);

            // Now resume the layout
            cms.ResumeLayout();
        }
开发者ID:verbitan,项目名称:PuTTY-Session-Manager,代码行数:29,代码来源:SessionListControl.cs

示例14: GenerateGB


//.........这里部分代码省略.........
            comboBox_daydebt = new ComboBox();
            label22 = new Label();
            comboBox_cycledebt = new ComboBox();
            numericUpDown_volumedebt = new NumericUpDown();
            label19 = new Label();
            button3 = new Button();
            label20 = new Label();
            label21 = new Label();
            label24 = new Label();
            textBox_commentdebt = new TextBox();
            textBox_namedebt = new TextBox();
            button_stopdebt = new Button();
            button_updatedebt = new Button();
            button_newdebt = new Button();
            listBox_debt = new ListBox();
            tabPage_payout = new TabPage();
            dataGridView_payout = new DataGridView();
            button_savepayout = new Button();
            label25 = new Label();
            numericUpDown_payout = new NumericUpDown();
            tabPage_income = new TabPage();
            dataGridView_income = new DataGridView();
            button_saveincome = new Button();
            label26 = new Label();
            numericUpDown_income = new NumericUpDown();
            Column_payout_day = new DataGridViewTextBoxColumn();
            Column_payout_volume = new DataGridViewTextBoxColumn();
            Column_payout_comment = new DataGridViewTextBoxColumn();
            Column_income_day = new DataGridViewTextBoxColumn();
            Column_income_volume = new DataGridViewTextBoxColumn();
            Column_income_comment = new DataGridViewTextBoxColumn();
            contextMenuStrip1 = new ContextMenuStrip();
            ToolStripMenuItem_delete = new ToolStripMenuItem();
            contextMenuStrip1.SuspendLayout();
            GB.SuspendLayout();
            tabControl_month.SuspendLayout();
            tabPage_cash.SuspendLayout();
            groupbox_cash.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volume)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_rate)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_cash)).BeginInit();
            tabPage_invest.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_invest)).BeginInit();
            groupBox_invest.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volumeinvest)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_rateinvest)).BeginInit();
            tabPage_debt.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_debt)).BeginInit();
            groupBox_debt.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_volumedebt)).BeginInit();
            tabPage_payout.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(dataGridView_payout)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_payout)).BeginInit();
            tabPage_income.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(dataGridView_income)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(numericUpDown_income)).BeginInit();
            SuspendLayout();
            //
            // groupBox_month
            //
            GB.Controls.Add(tabControl_month);

            GB.Size = new System.Drawing.Size(735, 255);
            GB.TabIndex = 1;
            GB.TabStop = false;
            //
开发者ID:solunar66,项目名称:ThePool,代码行数:67,代码来源:Main_Form.cs

示例15: InitializeComponent


//.........这里部分代码省略.........
            this.btn_ActivityWindow = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator8 = new System.Windows.Forms.ToolStripSeparator();
            this.toolStripDropDownButton1 = new System.Windows.Forms.ToolStripDropDownButton();
            this.MnuUserGuide = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator9 = new System.Windows.Forms.ToolStripSeparator();
            this.MnuCheckForUpdates = new System.Windows.Forms.ToolStripMenuItem();
            this.toolStripSeparator11 = new System.Windows.Forms.ToolStripSeparator();
            this.MnuAboutHandBrake = new System.Windows.Forms.ToolStripMenuItem();
            this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
            this.StatusStrip = new System.Windows.Forms.StatusStrip();
            this.ProgressBarStatus = new System.Windows.Forms.ToolStripProgressBar();
            this.lbl_encode = new System.Windows.Forms.ToolStripStatusLabel();
            this.lbl_updateCheck = new System.Windows.Forms.ToolStripStatusLabel();
            this.lbl_libhb_warning = new System.Windows.Forms.ToolStripStatusLabel();
            this.hbproc = new System.Diagnostics.Process();
            this.File_Save = new System.Windows.Forms.SaveFileDialog();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.btn_destBrowse = new System.Windows.Forms.Button();
            this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.Label10 = new System.Windows.Forms.Label();
            this.lbl_angle = new System.Windows.Forms.Label();
            this.Label13 = new System.Windows.Forms.Label();
            this.label_duration = new System.Windows.Forms.Label();
            this.lbl_duration = new System.Windows.Forms.Label();
            this.labelStaticDestination = new System.Windows.Forms.Label();
            this.labelPreset = new System.Windows.Forms.Label();
            this.labelSource = new System.Windows.Forms.Label();
            this.labelStaticSource = new System.Windows.Forms.Label();
            this.SourceLayoutPanel = new System.Windows.Forms.FlowLayoutPanel();
            this.openPreset = new System.Windows.Forms.OpenFileDialog();
            this.File_ChapterImport = new System.Windows.Forms.OpenFileDialog();
            notifyIconMenu = new System.Windows.Forms.ContextMenuStrip(this.components);
            notifyIconMenu.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.slider_videoQuality)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.data_chpt)).BeginInit();
            this.ChaptersMenu.SuspendLayout();
            this.presets_menu.SuspendLayout();
            this.frmMainMenu.SuspendLayout();
            this.tab_audio.SuspendLayout();
            this.tab_video.SuspendLayout();
            this.panel1.SuspendLayout();
            this.tab_picture.SuspendLayout();
            this.tabs_panel.SuspendLayout();
            this.tab_filters.SuspendLayout();
            this.tab_subtitles.SuspendLayout();
            this.tab_chapters.SuspendLayout();
            this.tab_advanced.SuspendLayout();
            this.tab_query.SuspendLayout();
            this.groupBox2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.presetsToolStrip.SuspendLayout();
            this.toolStrip1.SuspendLayout();
            this.StatusStrip.SuspendLayout();
            this.tableLayoutPanel2.SuspendLayout();
            this.tableLayoutPanel3.SuspendLayout();
            this.tableLayoutPanel1.SuspendLayout();
            this.SourceLayoutPanel.SuspendLayout();
            this.SuspendLayout();
            // 
            // notifyIconMenu
            // 
            notifyIconMenu.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
开发者ID:Eddy805,项目名称:HandBrake,代码行数:67,代码来源:frmMain.Designer.cs


注:本文中的System.Windows.Forms.ContextMenuStrip.SuspendLayout方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。