C语言实现的Apriori关联规则算法 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Collections; namespace Apriori { //事务 struct trans
设置窗体的代码解释 Imports System.Diagnostics Public Class 设置窗体 Private shutTime As String '关机时间的字符串 Private IsToday As Boolean = True '判断是否是今天的变量 Private delay As Integer '延时多少秒放关机 Private lastTime As Integer '关机的倒计时 P rivate action As String '关机或重启或注销 Priv
Private Sub AxWindowsMediaPlayer1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Public Class Form1 Private Sub 文件ToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) End Sub Private Sub Menu
OpenFileDialog open = new OpenFileDialog(); open.Filter = "文本文件(*.txt)|*.txt|RTF文件(*.rtf)|*.rtf"; DialogResult dr = open.ShowDialog(); if (dr == DialogResult.OK) { string s = Path.GetExtension(open.FileName).ToLower(); switch (s) { case ".txt": rich
基于C#的典型图像处理算法 第二章: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; //using System.Drawing.Drawing2D; namespace gray { public partial
将彩色图片转换为灰度图片程序(C#源代码编写)if(this.openFileDialog1.ShowDialog()==DialogResult.OK) { bmp=new Bitmap(this.openFileDialog1.FileName); for (int i=0;i<bmp.Width-1;i++) { for(int j=0;j<bmp.Height-1;j++) { Color Color1=bmp.GetPixel(i,j); int rgb=(Color1.