📄 form_customer_input.cs
字号:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace RepairCRM
{
public partial class Form_customer_input : RepairCRM.main
{
public Form_customer_input()
{
InitializeComponent();
}
private void Form_customerinput_Load(object sender, EventArgs e)
{
}
private void save_Click(object sender, EventArgs e)
{
}
private void picturevalue_Click(object sender, EventArgs e)
{
OpenFileDialog newfile = new OpenFileDialog();
if (newfile.ShowDialog(this) == DialogResult.OK)
{
picture.Width = 42;
picture.Height = 42;
picture.ImageLocation = newfile.FileName;
}
}
private void cancal_Click(object sender, EventArgs e)
{
this.Hide();
this.Dispose();
}
private void birthdaydata_Click(object sender, EventArgs e)
{
if (!birthdaydatavalue.Visible)
birthdaydatavalue.Visible = true;
else
birthdaydatavalue.Visible = false;
}
private void pdatedata_Click(object sender, EventArgs e)
{
if (!pdatedatavalue.Visible)
pdatedatavalue.Visible = true;
else
pdatedatavalue.Visible = false;
}
private void pdatedatavalue_DateSelected(object sender, DateRangeEventArgs e)
{
pdatedatavalue.Visible = false;
pdatevalue.Text = pdatedatavalue.SelectionRange.Start.ToShortDateString();
}
private void birthdaydatavalue_DateSelected(object sender, DateRangeEventArgs e)
{
birthdaydatavalue.Visible = false;
brithdayvalue.Text = birthdaydatavalue.SelectionRange.Start.ToShortDateString();
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -