• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# frmMain类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中frmMain的典型用法代码示例。如果您正苦于以下问题:C# frmMain类的具体用法?C# frmMain怎么用?C# frmMain使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



frmMain类属于命名空间,在下文中一共展示了frmMain类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: frmTsk_CheckInGoverment_ForRoomBooking_Step1

 //hiennv
 public frmTsk_CheckInGoverment_ForRoomBooking_Step1(frmMain afrmMain,int IDBookingRs, DateTime CheckOutPlan)
 {
     InitializeComponent();
     this.afrmMain = afrmMain;
     this.IDBookingRs = IDBookingRs;
     this.CheckOutPlan = CheckOutPlan;
 }
开发者ID:BruceleeThanh,项目名称:Pro_Government_2307,代码行数:8,代码来源:frmTsk_CheckInGoverment_ForRoomBooking_Step1.cs


示例2: MapViewControl

        public MapViewControl(frmMain Owner)
        {
            _Owner = Owner;

            InitializeComponent();

            ListSelect = new ContextMenuStrip();
            ListSelect.ItemClicked += ListSelect_Click;
            ListSelect.Closed += ListSelect_Close;
            UndoMessageTimer = new Timer();
            UndoMessageTimer.Tick += RemoveUndoMessage;

            OpenGLControl = Program.OpenGL1;
            pnlDraw.Controls.Add(OpenGLControl);

            GLInitializeDelayTimer = new Timer();
            GLInitializeDelayTimer.Interval = 50;
            GLInitializeDelayTimer.Tick += GLInitialize;
            GLInitializeDelayTimer.Enabled = true;

            tmrDraw = new Timer();
            tmrDraw.Tick += tmrDraw_Tick;
            tmrDraw.Interval = 1;

            tmrDrawDelay = new Timer();
            tmrDrawDelay.Tick += tmrDrawDelay_Tick;
            tmrDrawDelay.Interval = 30;

            UndoMessageTimer.Interval = 4000;
        }
开发者ID:Zabanya,项目名称:SharpFlame,代码行数:30,代码来源:MapViewControl.cs


示例3: frmTsk_BookingForRoom

 //Hiennv  25/11/2014
 public frmTsk_BookingForRoom(frmMain afrmMain, string codeRoom, int customerType)
 {
     InitializeComponent();
     this.afrmMain = afrmMain;
     this.aCurrent_CodeRoom = codeRoom;
     this.customerType = customerType;
 }
开发者ID:BruceleeThanh,项目名称:Pro_Government_0207,代码行数:8,代码来源:frmTsk_BookingForRoom.cs


示例4: frmTsk_Booking_Step1

 public frmTsk_Booking_Step1(frmMain afrmMain, string codeRoom, int CustomerType)
 {
     InitializeComponent();
     this.afrmMain = afrmMain;
     this.codeRoom = codeRoom;
     this.CustomerType = CustomerType;
 }
开发者ID:BruceleeThanh,项目名称:Pro_Government_2307,代码行数:7,代码来源:frmTsk_Booking_Step1.cs


示例5: GenerateTabbedComponentsQuery

        private static string GenerateTabbedComponentsQuery(frmMain mainWindow, bool filters, QueryPictureSettingsMode mode, int width, int height)
        {
            string query = string.Empty;

            // Output Settings
            query += OutputSettingsQuery(mainWindow);

            // Filters Panel
            if (filters)
                query += FiltersQuery(mainWindow);

            // Picture Settings
            query += PictureSettingsQuery(mainWindow, mode, width, height);

            // Video Settings
            query += VideoSettingsQuery(mainWindow);

            // Audio Settings
            query += AudioSettingsQuery(mainWindow);

            // Subtitles Panel
            query += mainWindow.Subtitles.GetCliQuery;

            // Chapter Markers
            query += ChapterMarkersQuery(mainWindow);

            // X264 Panel
            query += X264Query(mainWindow);

            // Extra Settings
            query += ExtraSettings();

            return query;
        }
开发者ID:vandhanaa,项目名称:Handbrake,代码行数:34,代码来源:QueryGenerator.cs


示例6: AddinsController

        public AddinsController(frmMain mainFormView, VideoController videoController)
        {
            m_VideoController = videoController;
            m_MainForm = mainFormView;

            m_AddinManager = new AddinManager(mainFormView, videoController);
        }
开发者ID:hpavlov,项目名称:tangra3,代码行数:7,代码来源:AddinsController.cs


示例7: Game

 public Game(frmMain owner, Mode GameMode)
 {
     this.endOfGame = false;
     this.NewCards = 5;
     this.GameMode = GameMode;
     this.MStructures = Class.Structure.CreateStructureList(this);
 }
开发者ID:andy123456789088,项目名称:Spider,代码行数:7,代码来源:Game.cs


示例8: AddinManager

        public AddinManager(frmMain mainForm, VideoController videoController)
        {
            m_MainForm = mainForm;
            m_VideoController = videoController;

            TrackingServices.RegisterTrackingHandler(new AddinTrackingHandler());
        }
开发者ID:hpavlov,项目名称:tangra3,代码行数:7,代码来源:AddinManager.cs


示例9: Main

        static void Main( string[] args )
        {
            string cmdSource = null;
            string cmdConfig = null;

            foreach( string arg in args )
            {
                if( arg == "/autoclose" || arg == "--autoclose" )
                    AutoClose = true;

                else if( arg.StartsWith( "/source:" ) || arg.StartsWith( "--source:" ) )
                    cmdSource = arg.Substring( (arg.StartsWith( "/source:" ) ? 8 : 9) );

                else if( arg.StartsWith( "/config:" ) || arg.StartsWith( "--config:" ) )
                    cmdConfig = arg.Substring( (arg.StartsWith( "/config:" ) ? 8 : 9) );
            }

            FOUpdaterClient updater = new FOUpdaterClient( cmdConfig );

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault( false );

            WindowUpdater = new frmMain( cmdSource );
            WindowUpdater.Text += " v" + FOUpdaterClient.VersionString;

            if( updater.FOnlineCfg == null && cmdSource == null )
            {
                MessageBox.Show(
                    "Cannot find FOnline configuration file in current directory:\n" +
                    Path.GetDirectoryName( Application.ExecutablePath ) + "\n",
                    "FOUpdater",
                    MessageBoxButtons.OK,
                    MessageBoxIcon.Error
                );

                Environment.Exit( 0 );
            }

            Application.Run( WindowUpdater );

            /*
            if( Installer && File.Exists( ".\\FOConfig.exe" ) )
            {
                DialogResult result = MessageBox.Show(
                    "To finish installation process, you have to\n" +
                    "pleple\n" +
                    "\n" +
                    "Do you wish to run configuration tool?",
                    "Updater",
                    MessageBoxButtons.YesNo,
                    MessageBoxIcon.Information
                );

                if( result == DialogResult.No )
                    Environment.Exit( 0 );
                else
                    Process.Start( ".\\FOConfig.exe" );
            }
            */
        }
开发者ID:SnakeSolidNL,项目名称:FOUpdaterEx,代码行数:60,代码来源:FOUpdaterWin.cs


示例10: frmTsk_SplitRoom

 public frmTsk_SplitRoom(frmMain afrmMain, int IDBookingRs, int IDBookingRooms)
 {
     InitializeComponent();
     this.afrmMain = afrmMain;
     this.IDBookingRs = IDBookingRs;
     this.IDBookingRooms = IDBookingRooms;
 }
开发者ID:BruceleeThanh,项目名称:Pro_Government_2307,代码行数:7,代码来源:frmTsk_SplitRoom.cs


示例11: frmViewUsers

 public frmViewUsers(User u, frmMain mainFrame)
     : this()
 {
     this.user = u;
     this.mainFrame = mainFrame;
     this.cboRole.ItemsSource = System.Enum.GetValues(typeof(EnumRoles));
 }
开发者ID:allanckw,项目名称:GEMS-Client,代码行数:7,代码来源:frmViewUsers.xaml.cs


示例12: Main

 public static void Main(string[] args)
 {
     Application.Init ();
     frmMain win = new frmMain ();
     win.Show ();
     Application.Run ();
 }
开发者ID:ultraviolet-1986,项目名称:LinuxDeletionUtility,代码行数:7,代码来源:Program.cs


示例13: btnSave_Click

        private void btnSave_Click(object sender, EventArgs e)
        {
            studentInfo st_Info = new studentInfo();
            int count = st_Info.getTemCount();
            frmMain frm_M = new frmMain();
            frmStudentRegistation frm_Reg = new frmStudentRegistation();

            try
            {
                if (st_Info.add_StudentData() && st_Info.delete_TempData())
                {
                    DialogResult dResult = MessageBox.Show("Records added successfully.", systemMessage.MESSAGEBOXTITLE_SUCCESS, MessageBoxButtons.OK, MessageBoxIcon.Information);

                    if (dResult == DialogResult.OK)
                    {

                        frmStuden_Details frm_Stdetail = new frmStuden_Details();

                        frmMain frm_M1 = new frmMain();
                        frm_Stdetail.MdiParent = frm_M1;
                        frm_M1.mainPanel.Controls.Clear();
                        frm_M1.mainPanel.Controls.Add(frm_Stdetail);
                        frm_M1.mainPanel.Dock = DockStyle.Fill;
                        frm_Stdetail.Show();
                        this.Close();
                        fill_DataGried();

                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(systemMessage.TEMP_INSERT, systemMessage.MESSAGEBOXTITLE, MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }
开发者ID:Dushantha,项目名称:QUSTUDENTSYSTEM,代码行数:35,代码来源:frmStuden+Details.cs


示例14: BtnOK_Click

 public void BtnOK_Click(object sender, EventArgs e)
 {
     computador = txtPC.Text;
     frmMain frm = new frmMain();
     frm.EnumServices();
     this.Close();
 }
开发者ID:danygolden,项目名称:gianfratti,代码行数:7,代码来源:frmPC.cs


示例15: GenerateFullQuery

        public static QueueTask GenerateFullQuery(frmMain mainWindow)
        {
            // Create the CLI Query
            string query = string.Empty;
            query += SourceQuery(mainWindow, mainWindow.drop_mode.SelectedIndex, 0, null);
            query += DestinationQuery(mainWindow, QueryEncodeMode.Standard);
            query += GenerateTabbedComponentsQuery(mainWindow, true, QueryPictureSettingsMode.UserInterfaceSettings, 0, 0);

            // Create the Queue Task and setup the EncodeTask model object.
            Preset preset = mainWindow.treeView_presets.SelectedNode.Tag as Preset;
            bool isCustom = true;
            if (preset != null && preset.IsBuildIn)
            {
                isCustom = false;
            }

            EncodeTask task = CreateEncodeTaskObject(mainWindow);
            QueueTask queueTask = new QueueTask(query)
            {
                Source = task.Source,
                Destination = task.Destination,
                Title = mainWindow.GetTitle(),
                CustomQuery = (mainWindow.rtf_query.Text != string.Empty) || isCustom,
                Task = task,
                Query = query,
            };

            return queueTask;
        }
开发者ID:shkolnik,项目名称:HandBrake,代码行数:29,代码来源:QueryGenerator.cs


示例16: PowerLogParser

        public PowerLogParser(frmMain frm, GameState game_state)
        {
            this.frm_main = frm;
            this.game_state = game_state;

            this.enumerator = this.Process().GetEnumerator();
        }
开发者ID:peter1591,项目名称:hearthstone-ai,代码行数:7,代码来源:PowerLogParser.cs


示例17: EntityChoicesParser

        public EntityChoicesParser(frmMain frm, GameState game_state)
        {
            this.frm_main = frm;
            this.game_state = game_state;

            this.enumerator = this.Process().GetEnumerator();
        }
开发者ID:peter1591,项目名称:hearthstone-ai,代码行数:7,代码来源:EntityChoicesParser.cs


示例18: frmSearchStudents_FormClosing

 private void frmSearchStudents_FormClosing( object sender, FormClosingEventArgs e )
 {
     if ( ! this._openFicha )
     {
         frmMain main = new frmMain( this._data );
         main.Show();
     }
 }
开发者ID:SIDET2015,项目名称:LawraDesktop,代码行数:8,代码来源:frmSearchStudents.cs


示例19: frmInitialMessage_FormClosing

 private void frmInitialMessage_FormClosing( object sender, FormClosingEventArgs e )
 {
     if ( ! this._isNext )
     {
         frmMain main = new frmMain( this._data );
         main.Show();
     }
 }
开发者ID:AlejoVM,项目名称:LawraDesktop,代码行数:8,代码来源:frmInitialMessage.cs


示例20: frmTsk_CheckInForRoomBooking

 //Hiennv  26/11/2014
 public frmTsk_CheckInForRoomBooking(frmMain afrmMain, int IDBookingR,DateTime CheckoutPlan)
 {
     InitializeComponent();
     this.afrmMain = afrmMain;
     this.IDBookingR = IDBookingR;
     this.CheckoutPlan = CheckoutPlan;
     this.aCheckInEN = this.InitData(this.IDBookingR);
 }
开发者ID:BruceleeThanh,项目名称:Pro_Government_2307,代码行数:9,代码来源:frmTsk_CheckInForRoomBooking.cs



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


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# fsData类代码示例发布时间:2022-05-24
下一篇:
C# float3类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap