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


C# Reference.Destroy方法代码示例

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


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

示例1: OnAction2Activated

 protected void OnAction2Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(false,false,true,true,true);
     winref.FillList("doc_types","Тип документа", "Типы документов");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:Badou03080,项目名称:earchive,代码行数:9,代码来源:MainWindow.cs

示例2: OnButtonMarkEditClicked

 protected void OnButtonMarkEditClicked(object sender, EventArgs e)
 {
     Reference MarkSelect = new Reference();
     MarkSelect.SetMode(true,true,true,true,false);
     MarkSelect.FillList("marks","Марка автомобиля", "Марки автомобилей");
     MarkSelect.Show();
     int result = MarkSelect.Run();
     if((ResponseType)result == ResponseType.Ok)
     {
         Mark_id = MarkSelect.SelectedID;
         entryMark.Text = MarkSelect.SelectedName;
     }
     MarkSelect.Destroy();
     TestCanSave();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:15,代码来源:CarModel.cs

示例3: OnButtonEventLesseeEditClicked

 protected virtual void OnButtonEventLesseeEditClicked(object sender, System.EventArgs e)
 {
     Reference LesseeSelect = new Reference();
     LesseeSelect.SetMode(false,true,false,true,false);
     LesseeSelect.FillList("lessees","Арендатор", "Арендаторы");
     LesseeSelect.Show();
     int result = LesseeSelect.Run();
     if((ResponseType)result == ResponseType.Ok)
     {
         EventLessee_id = LesseeSelect.SelectedID;
         entryEventLessee.Text = LesseeSelect.SelectedName;
         entryEventLessee.TooltipText = LesseeSelect.SelectedName;
     }
     LesseeSelect.Destroy();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:15,代码来源:MainWinEvent.cs

示例4: OnButtonLesseeEditClicked

 protected void OnButtonLesseeEditClicked(object sender, EventArgs e)
 {
     Reference LesseeSelect = new Reference();
     LesseeSelect.SetMode(false,true,true,true,false);
     LesseeSelect.FillList("lessees","Арендатор", "Арендаторы");
     LesseeSelect.Show();
     int result = LesseeSelect.Run();
     if((ResponseType)result == ResponseType.Ok)
     {
         LesseeId = LesseeSelect.SelectedID;
         LesseeisNull = false;
         entryLessee.Text = LesseeSelect.SelectedName;
         entryLessee.TooltipText = LesseeSelect.SelectedName;
     }
     LesseeSelect.Destroy();
     TestCanSave();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:17,代码来源:Contract.cs

示例5: OnButtonContractorEditClicked

 protected void OnButtonContractorEditClicked(object sender, EventArgs e)
 {
     Reference ContractorSelect = new Reference();
     ContractorSelect.SetMode(true,true,true,true,false);
     ContractorSelect.FillList("contractors","Контрагент", "Контрагенты");
     ContractorSelect.Show();
     int result = ContractorSelect.Run();
     if((ResponseType)result == ResponseType.Ok)
     {
         Contractor_id = ContractorSelect.SelectedID;
         ContractorNull = false;
         //buttonContactOpen.Sensitive = true;
         entryContractor.Text = ContractorSelect.SelectedName;
         entryContractor.TooltipText = ContractorSelect.SelectedName;
     }
     ContractorSelect.Destroy();
     TestCanSave ();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:18,代码来源:ExpenseSlip.cs

示例6: OnProvidersActionActivated

 protected void OnProvidersActionActivated(object sender, EventArgs e)
 {
     Reference winProviders = new Reference ();
     winProviders.SetMode (true, false, true, true, true);
     winProviders.FillList ("service_providers", "Поставщик", "Поставщики услуг");
     winProviders.Show ();
     winProviders.Run ();
     winProviders.Destroy ();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:9,代码来源:MainWindow.cs

示例7: OnAction6Activated

 protected virtual void OnAction6Activated(object sender, System.EventArgs e)
 {
     Reference winref = new Reference ();
     winref.SetMode (true, false, true, true, true);
     winref.FillList ("goods", "Группа товаров", "Группы товаров");
     winref.Show ();
     winref.Run ();
     winref.Destroy ();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:9,代码来源:MainWindow.cs

示例8: OnAction41Activated

 protected void OnAction41Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference ();
     winref.SetMode (false, false, true, true, true);
     winref.FillList ("meter_types", "Тип счётчика", "Типы счётчиков");
     winref.Show ();
     winref.Run ();
     winref.Destroy ();
 }
开发者ID:QualitySolution,项目名称:Bazar,代码行数:9,代码来源:MainWindow.cs

示例9: OnAction9Activated

 protected void OnAction9Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(true, false, true, true, true);
     winref.FillList("glass", "Стекло", "Виды стёкл");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:9,代码来源:MainWindow.cs

示例10: OnAction7Activated

 protected void OnAction7Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(false, false, true, true, true);
     winref.FillList("status", "Статус заказа", "Статусы заказа");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:9,代码来源:MainWindow.cs

示例11: OnAction6Activated

 protected void OnAction6Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(false, false, true, true, true);
     winref.FillList("stocks", "Склад", "Склады");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:9,代码来源:MainWindow.cs

示例12: OnAction5Activated

 protected void OnAction5Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(true, false, true, true, true);
     winref.FillList("manufacturers", "Производитель", "Производители");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:9,代码来源:MainWindow.cs

示例13: OnAction4Activated

 protected void OnAction4Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(false, false, true, true, true);
     winref.SqlSelect = "SELECT models.id, models.name, marks.name as mark FROM @tablename " +
         "LEFT JOIN marks ON marks.id = models.mark_id ORDER BY mark, name";
     winref.Columns.Insert(1, new Reference.ColumnInfo("Марка", "{2}", true));
     winref.Columns[2].Name = "Модель";
     winref.FillList("models","Модель автомобиля", "Модели автомобилей");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:13,代码来源:MainWindow.cs

示例14: OnAction3Activated

 protected void OnAction3Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(true, false, true, true, true);
     winref.FillList("marks","Марка автомобиля", "Марки автомобилей");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:9,代码来源:MainWindow.cs

示例15: OnAction10Activated

 protected void OnAction10Activated(object sender, EventArgs e)
 {
     Reference winref = new Reference();
     winref.SetMode(false, false, true, true, true);
     winref.OrdinalField = "ordinal";
     winref.SqlSelect += " ORDER BY ordinal";
     winref.FillList("services", "Вид работы", "Виды работ");
     winref.Show();
     winref.Run();
     winref.Destroy();
 }
开发者ID:QualitySolution,项目名称:CarGlass,代码行数:11,代码来源:MainWindow.cs


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