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

C# Gtk.DeleteEventArgs类代码示例

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

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



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

示例1: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        ApplicationContext.Instance.DbConnection.Close ();

        Application.Quit ();
        a.RetVal = true;
    }
开发者ID:esterdam,项目名称:ad,代码行数:7,代码来源:MainWindow.cs


示例2: OnDeleteEvent

    /// <summary>
    /// The on delete event.
    /// </summary>
    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        CommLayerManager.Instance.Dispose();

        Application.Quit();
        a.RetVal = true;
    }
开发者ID:willy40,项目名称:testmono,代码行数:10,代码来源:MainWindow.cs


示例3: OnDeleteEvent

 protected void OnDeleteEvent (object o, DeleteEventArgs args)
 {
     if (scanningThread != null && scanningThread.IsAlive)
         scanningThread.Abort();
     
     Application.Quit();
 }
开发者ID:MonoGame,项目名称:MonoGame.Packager,代码行数:7,代码来源:MainWindow.cs


示例4: OnDeleteEvent

    /// <summary>
    /// Called when [delete event].
    /// </summary>
    /// <param name="sender">The sender.</param>
    /// <param name="a">The <see cref="DeleteEventArgs" /> instance containing the event data.</param>
    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {        
        this.waveWidget.Destroy();

        Application.Quit();
        a.RetVal = true;
    }      
开发者ID:123asd123A,项目名称:Samples,代码行数:12,代码来源:MainWindow.cs


示例5: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        Application.Quit ();
        a.RetVal = true;

        KeyKeeper.dbConnector.getdbAcces().close();
    }
开发者ID:BrainForge,项目名称:KeyKeeper,代码行数:7,代码来源:MainWindow.cs


示例6: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        dbConnection.Close ();

        Application.Quit ();
        a.RetVal = true;
    }
开发者ID:joseginer,项目名称:ad,代码行数:7,代码来源:MainWindow.cs


示例7: OnDeleteEvent

 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     dock.SaveLayouts( "config.layout" );
     toolbarFrame.SaveStatus("toolbar.status");
     Application.Quit ();
     a.RetVal = true;
 }
开发者ID:rdafoe,项目名称:Cage,代码行数:7,代码来源:Workbench.cs


示例8: OnDelete

 public static void OnDelete(object obj, DeleteEventArgs args)
 {
     Console.WriteLine (window.Toplevel.Handle);
     Console.WriteLine (item.Toplevel.Handle);
     Console.WriteLine (label.Toplevel.Handle);
     Application.Quit ();
 }
开发者ID:BackupTheBerlios,项目名称:simetron,代码行数:7,代码来源:ToplevelGladeTest.cs


示例9: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        client.Disconnect ();

        Application.Quit ();
        a.RetVal = true;
    }
开发者ID:rastabaddon,项目名称:QCCTV,代码行数:7,代码来源:MainWindow.cs


示例10: delete

		/// <summary>
		/// Handles the window DeleteEvent by instigating the termination of the application.
		/// </summary>
		/// <param name='sender'>
		/// Sender.
		/// </param>
		/// <param name='a'>
		/// A.
		/// </param>
		private void delete (object sender, DeleteEventArgs a)
		{
			Application.Quit ();
			a.RetVal = true;
			
			if (QuitEvent != null)
				QuitEvent ();
		}
开发者ID:jdliue,项目名称:SiK,代码行数:17,代码来源:MainWindow.cs


示例11: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        Program.SaveSettings();
        Application.Quit ();
        a.RetVal = true;

        Environment.Exit(0);
    }
开发者ID:tcvicio,项目名称:PGE-Project,代码行数:8,代码来源:MainWindow.cs


示例12: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        iserver.Dispose();
        dserver.Dispose();

        Application.Quit ();
        a.RetVal = true;
    }
开发者ID:djpnewton,项目名称:remote_trackpad,代码行数:8,代码来源:MainWindow.cs


示例13: OnDeleteEvent

 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     quit = true;
     readThread.Join();
     sp.Close();
     Application.Quit ();
     a.RetVal = true;
 }
开发者ID:autifkhan,项目名称:disorg,代码行数:8,代码来源:MainWindow.cs


示例14: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        if (_streamer != null)
            _streamer.Dispose();

        GtkApplication.Quit ();
        a.RetVal = true;
    }
开发者ID:danhigham,项目名称:MonoCloud,代码行数:8,代码来源:MainWindow.cs


示例15: OnDeleteEvent

 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     this.Scanner.Close();
     this.muteImage.Destroy();
     this.audioImage.Destroy();
     Application.Quit();
     a.RetVal = true;
 }
开发者ID:bambams,项目名称:zbar-sharp,代码行数:8,代码来源:MainWindow.cs


示例16: OnDeleteEvent

 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     _TaskQueue.Dispose ();
     _LogQueue.Dispose ();
     _ProgressQueue.Dispose ();
     Application.Quit ();
     a.RetVal = true;
 }
开发者ID:tmassey,项目名称:mtos,代码行数:8,代码来源:MainWindow.cs


示例17: OnDeleteEvent

 public void OnDeleteEvent(object o, DeleteEventArgs args)
 {
     // hecho para implementar el delegado DeleteEventHandler que se usa para
     // el evento Gtk.Widget.DeleteEvent Event, de la clase Widget claro
     Console.WriteLine("Cerrando la aplicacion ..............................");
     Application.Quit ();
     args.RetVal = true;
 }
开发者ID:BackupTheBerlios,项目名称:genaro,代码行数:8,代码来源:ejGlade.cs


示例18: window_DeleteEvent

        void window_DeleteEvent(object o, DeleteEventArgs args)
        {
            if(Focused != null) {

                if(!Focused.Validated)
                    args.RetVal=true;
            }
        }
开发者ID:pzsysa,项目名称:gtk-sharp-forms,代码行数:8,代码来源:WindowDecorator.cs


示例19: OnDeleteEvent

    protected void OnDeleteEvent(object sender, DeleteEventArgs a)
    {
        this.SoundFile.Dispose();
        this.SoundSystem.CloseSystem();
        this.SoundSystem.Dispose();

        Application.Quit ();
        a.RetVal = true;
    }
开发者ID:madrang,项目名称:FmodSharp,代码行数:9,代码来源:MainWindow.cs


示例20: OnDeleteEvent

 protected void OnDeleteEvent(object sender, DeleteEventArgs a)
 {
     if (label2.Text == "Adios") {
         Application.Quit ();
         a.RetVal = true;
     } else {
         label2.Text = "Adios";
         Application.Run();
     }
 }
开发者ID:FerPerez13,项目名称:ed,代码行数:10,代码来源:MainWindow.cs



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


鲜花

握手

雷人

路过

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

请发表评论

全部评论

专题导读
上一篇:
C# Gtk.Dialog类代码示例发布时间:2022-05-26
下一篇:
C# Gtk.ComboBox类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

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

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

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