本文整理汇总了C#中WindowStatus类的典型用法代码示例。如果您正苦于以下问题:C# WindowStatus类的具体用法?C# WindowStatus怎么用?C# WindowStatus使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
WindowStatus类属于命名空间,在下文中一共展示了WindowStatus类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。
示例1: SUUpdateAlert
public SUUpdateAlert(Window window, SUHost host, SUAppcastItem item)
: base(window)
{
Window.TaskbarItemInfo = new System.Windows.Shell.TaskbarItemInfo();
Window.Closing += WindowShouldClose;
Window.Icon = host.Icon;
Window.Topmost = true;
status = WindowStatus.WaitingForInitialAction;
mainViewController = new SUUpdateAlertWindowViewController(new SUUpdateAlertWindowView());
ViewController = mainViewController;
buttons = new SUUpdateAlertActionButtonsViewController(new SUUpdateAlertActionButtonsView());
buttons.InstallButton.Click += DownloadButtonClicked;
buttons.RemindLaterButton.Click += RemindLaterButtonClicked;
buttons.SkipVersionButton.Click += SkipVersionButtonClicked;
downloadingViewController = new SUUpdateAlertDownloadProgressViewController(new SUUpdateAlertDownloadProgressView());
downloadingViewController.CancelButton.Click += CancelDownloadClicked;
indeterminateViewController = new SUUpdateAlertIndeterminateProgressViewController(new SUUpdateAlertIndeterminateProgressView());
readyToInstallViewController = new SUUpdateAlertReadyToInstallViewController(new SUUpdateAlertReadyToInstallView());
readyToInstallViewController.InstallButton.Click += InstallButtonClicked;
mainViewController.ActionViewController = buttons;
mainViewController.Host = host;
mainViewController.Item = item;
}
开发者ID:klm1,项目名称:SparkleDotNET,代码行数:30,代码来源:SUUpdateAlert.cs
示例2: UCReceivableAdd
bool isAutoClose = false;//是否自动关闭
#endregion
public UCReceivableAdd(WindowStatus status, string orderId, UCReceivableManage uc, DataSources.EnumOrderType orderType)
{
InitializeComponent();
this.dgvBalanceDocuments.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right | AnchorStyles.Bottom)));
this.windowStatus = status;
this.orderID = orderId;
this.uc = uc;
this.orderType = orderType;
this.orderTypeName = DataSources.GetDescription(orderType, true);
colBillingMoney.ValueType = typeof(decimal);
colSettledMoney.ValueType = typeof(decimal);
colSettlementMoney.ValueType = typeof(decimal);
colWaitSettledMoney.ValueType = typeof(decimal);
colPaidMoney.ValueType = typeof(decimal);
//colDepositRate.ValueType = typeof(decimal);
//colDeduction.ValueType = typeof(decimal);
colMoney.ValueType = typeof(decimal);
dgvBalanceDocuments.RowHeadersVisible = true;
dgvPaymentDetail.RowHeadersVisible = true;
base.SaveEvent += new ClickHandler(UCReceivableAdd_SaveEvent);
base.ImportEvent += new ClickHandler(UCReceivableAdd_ImportEvent);
base.SubmitEvent += new ClickHandler(UCReceivableAdd_SubmitEvent);
base.CancelEvent += new ClickHandler(UCReceivableAdd_CancelEvent);
base.VerifyEvent += new ClickHandler(UCReceivableAdd_VerifyEvent);
base.InvalidOrActivationEvent += new ClickHandler(UCReceivableAdd_InvalidOrActivationEvent);
base.CopyEvent += new ClickHandler(UCReceivableAdd_CopyEvent);
base.EditEvent += new ClickHandler(UCReceivableAdd_EditEvent);
base.DeleteEvent += new ClickHandler(UCReceivableAdd_DeleteEvent);
DataGridViewEx.SetDataGridViewStyle(dgvPaymentDetail, colRemark);
DataGridViewEx.SetDataGridViewStyle(dgvBalanceDocuments, colDocumentRemark);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:34,代码来源:UCReceivableAdd.cs
示例3: UCReportedLossBillAddOrEdit
public UCReportedLossBillAddOrEdit(WindowStatus state, string LossId, UCReportedLossBillManager UCLosManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCLossBM = UCLosManager;//获取报损单管理类
this.status = state;//获取操作状态
this.StockLossId = LossId;//报损单ID
base.SaveEvent += new ClickHandler(UCReportedLossBillAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCReportedLossBillAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCReportedLossBillAddOrEdit_ImportEvent);//导入
//设置列表的可编辑状态
gvPartsMsgList.ReadOnly = false;
foreach (DataGridViewColumn dgCol in gvPartsMsgList.Columns)
{
if (dgCol.Name != colCheck.Name && dgCol.Name != counts.Name&&dgCol.Name!=remarks.Name) dgCol.ReadOnly = true;
}
gvPartsMsgList.HeadCheckChanged += new DataGridViewEx.DelegateOnClick(gvPartsMsgList_HeadCheckChanged); //复选框标题显示为复选框状态
base.btnExport.Visible = false;
base.btnConfirm.Visible = false;
base.btnEdit.Visible = false;
base.btnBalance.Visible = false;
base.btnPrint.Visible = false;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:26,代码来源:UCReportedLossBillAddOrEdit.cs
示例4: UCSettlementAddOrEdit
public UCSettlementAddOrEdit(WindowStatus status,string id,UCSettlementManage uc)
{
InitializeComponent();
this.windowStatus = status;
this.id = id;
this.SaveEvent += new ClickHandler(UCSettlementAddOrEdit_SaveEvent);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:7,代码来源:UCSettlementAddOrEdit.cs
示例5: UCStockCheckAddOrEdit
public UCStockCheckAddOrEdit(WindowStatus state, string CheckId, UCStockCheckManager UCCheckManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCCheckBM = UCCheckManager;//获取其它收货单管理类
this.status = state;//获取操作状态
this.StockCheckId = CheckId;//其它收货单ID
base.DeleteEvent += new ClickHandler(UCStockCheckAddOrEdit_DeleteEvent);
base.SaveEvent += new ClickHandler(UCStockCheckAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCStockCheckAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCStockCheckAddOrEdit_ImportEvent);//导入
//设置列表的可编辑状态
gvPartsMsgList.ReadOnly = false;
foreach (DataGridViewColumn dgCol in gvPartsMsgList.Columns)
{
if (dgCol.Name != colCheck.Name && dgCol.Name != FmOffCount.Name && dgCol.Name != remarks.Name) dgCol.ReadOnly = true;
}
base.btnExport.Visible = false;
base.btnConfirm.Visible = false;
base.btnEdit.Visible = false;
base.btnBalance.Visible = false;
base.btnPrint.Visible = false;
FmOffCount.ValueType=typeof(decimal);
ProLossCount.ValueType=typeof(decimal);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:26,代码来源:UCStockCheckAddOrEdit.cs
示例6: UCPurchaseOrderAddOrEdit
/// <summary> 初始化窗体
/// </summary>
/// <param name="status"></param>
/// <param name="order_id"></param>
/// <param name="uc"></param>
public UCPurchaseOrderAddOrEdit(WindowStatus status, string order_id, UCPurchaseOrderManager uc)
{
InitializeComponent();
this.uc = uc;
this.status = status;
this.order_id = order_id;
base.SaveEvent += new ClickHandler(UCPurchaseOrderAddOrEdit_SaveEvent);
base.SubmitEvent += new ClickHandler(UCPurchaseOrderAddOrEdit_SubmitEvent);
base.ImportEvent += new ClickHandler(UCPurchaseOrderManager_ImportEvent);
gvPurchaseList.CellDoubleClick += new DataGridViewCellEventHandler(gvPurchaseList_CellDoubleClick);
business_counts.ValueType = typeof(decimal);
business_counts.MaxInputLength = 9;
original_price.ValueType = typeof(decimal);
original_price.MaxInputLength = 9;
discount.ValueType = typeof(decimal);
discount.MaxInputLength = 3;
business_price.ValueType = typeof(decimal);
business_price.MaxInputLength = 9;
tax_rate.ValueType = typeof(decimal);
tax_rate.MaxInputLength = 3;
txtcontract_no.UserControlValueChanged += new TextBoxEx.TextBoxChangedHandle(txtcontract_no_UserControlValueChanged);
txtprepaid_money.UserControlValueChanged += new TextBoxEx.TextBoxChangedHandle(txtprepaid_money_UserControlValueChanged);
ddtarrival_date.ValueChanged += new EventHandler(ddtarrival_date_ValueChanged);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:31,代码来源:UCPurchaseOrderAddOrEdit.cs
示例7: UCRequisitionAddOrEdit
/// <summary>
/// 初始化出入单窗体信息
/// </summary>
public UCRequisitionAddOrEdit(WindowStatus state, string AllotBillId, UCRequisitionManager UCReqManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCReqBM = UCReqManager;//获取出入库单管理类
this.status = state;//获取操作状态
this.AllotId = AllotBillId;//出入库单ID
base.SaveEvent += new ClickHandler(UCRequisitionAddOrEdit_SaveEvent);//保存
base.DeleteEvent += new ClickHandler(UCRequisitionAddOrEdit_DeleteEvent);
base.SubmitEvent += new ClickHandler(UCRequisitionAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCRequisitionAddOrEdit_ImportEvent);//导入
//设置列表的可编辑状态
gvPartsMsgList.ReadOnly = false;
foreach (DataGridViewColumn dgCol in gvPartsMsgList.Columns)
{
if (dgCol.Name != colCheck.Name && dgCol.Name != partcounts.Name && dgCol.Name != callinprice.Name && dgCol.Name != remarks.Name) dgCol.ReadOnly = true;
}
base.btnExport.Visible = false;
base.btnConfirm.Visible = false;
base.btnEdit.Visible = false;
base.btnBalance.Visible = false;
base.btnPrint.Visible = false;
partcounts.ValueType = typeof(decimal);
callinprice.ValueType = typeof(decimal);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:29,代码来源:UCRequisitionAddOrEdit.cs
示例8: UCStockCheckAddOrEdit
public UCStockCheckAddOrEdit(WindowStatus state, string CheckId, UCStockCheckManager UCCheckManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCCheckBM = UCCheckManager;//获取其它收货单管理类
this.status = state;//获取操作状态
this.StockCheckId = CheckId;//其它收货单ID
base.SaveEvent += new ClickHandler(UCStockCheckAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCStockCheckAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCStockCheckAddOrEdit_ImportEvent);//导入
gvPartsMsgList.ReadOnly = false;
ID.ReadOnly = true;
partsnum.ReadOnly = true;
partname.ReadOnly = true;
PartSpec.ReadOnly = true;
drawingnum.ReadOnly = true;
unitname.ReadOnly = true;
partbrand.ReadOnly = true;
CarFactoryCode.ReadOnly = true;
BarCode.ReadOnly = true;
Papcounts.ReadOnly = true;
ProLossCount.ReadOnly = true;
BusinesPrice.ReadOnly = true;
Calcmoney.ReadOnly = true;
base.btnExport.Enabled = false;
base.btnConfirm.Enabled = false;
base.btnEdit.Enabled = false;
base.btnBalance.Enabled = false;
base.btnPrint.Enabled = false;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:31,代码来源:UCStockCheckAddOrEdit.cs
示例9: UCWareHouseAddOrEdit
public UCWareHouseAddOrEdit(WindowStatus status, string wareHouseId, UCWareHouseManager uc)
{
InitializeComponent();
this.dgvWareHouseList.ReadOnly = false;
this.windowStatus = status;
this.wareHouseId = wareHouseId;
this.uc = uc;
BindDllInfo();
if (status == WindowStatus.Edit || status == WindowStatus.Copy)
{
LoadInfo(wareHouseId);
GetAllCargoSpace(wareHouseId);
ucAttr.TableName = "tb_warehouse";
ucAttr.TableNameKeyValue = wareHouseId;
ucAttr.BindAttachment();
}
if (status == WindowStatus.Add || status == WindowStatus.Copy)
{
lblwh_code.Text = CommonUtility.GetNewNo(DataSources.EnumProjectType.WareHouse);
}
base.SaveEvent += new ClickHandler(UCWareHouseAddOrEdit_SaveEvent);
base.StatusEvent += new ClickHandler(UCWareHouseAddOrEdit_StatusEvent);
base.DeleteEvent += new ClickHandler(UCWareHouseAddOrEdit_DeleteEvent);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:26,代码来源:UCWareHouseAddOrEdit.cs
示例10: UCReportedLossBillAddOrEdit
public UCReportedLossBillAddOrEdit(WindowStatus state, string LossId, UCReportedLossBillManager UCLosManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCLossBM = UCLosManager;//获取报损单管理类
this.status = state;//获取操作状态
this.StockLossId = LossId;//报损单ID
base.SaveEvent += new ClickHandler(UCReportedLossBillAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCReportedLossBillAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCReportedLossBillAddOrEdit_ImportEvent);//导入
gvPartsMsgList.ReadOnly = false;
ID.ReadOnly = true;
partsnum.ReadOnly = true;
partname.ReadOnly = true;
PartSpec.ReadOnly = true;
drawingnum.ReadOnly = true;
UntName.ReadOnly = true;
partbrand.ReadOnly = true;
CarFactoryCode.ReadOnly = true;
BarCode.ReadOnly = true;
Unitprice.ReadOnly = true;
Calcmoney.ReadOnly = true;
//MakDate.ReadOnly = true;
//ValDate.ReadOnly = true;
base.btnExport.Enabled = false;
base.btnConfirm.Enabled = false;
base.btnEdit.Enabled = false;
base.btnBalance.Enabled = false;
base.btnPrint.Enabled = false;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:32,代码来源:UCReportedLossBillAddOrEdit.cs
示例11: EditData
void EditData(WindowStatus status)
{
if (status != WindowStatus.Edit && status != WindowStatus.Copy)
{
return;
}
string title = "编辑";
string menuId = "UCCashierAccountEdit";
if (status == WindowStatus.Copy)
{
title = "复制";
menuId = "UCCashierAccountCopy";
}
if (dgvRecord.CurrentRow == null)
{
MessageBoxEx.Show(string.Format("请选择要{0}的数据!", title));
return;
}
string id = ID;
if (string.IsNullOrEmpty(id))
{
return;
}
UCCashierAccountAdd add = new UCCashierAccountAdd(status, id, this);
base.addUserControl(add, string.Format("出纳账户-{0}", title), menuId + id, this.Tag.ToString(), this.Name);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:28,代码来源:UCCashierAccManage.cs
示例12: UCSaleOrderAddOrEdit
/// <summary>
/// 初始化窗体
/// </summary>
/// <param name="status"></param>
/// <param name="sale_order_id"></param>
/// <param name="uc"></param>
public UCSaleOrderAddOrEdit(WindowStatus status, string sale_order_id, UCSaleOrderManager uc)
{
InitializeComponent();
this.status = status;
this.uc = uc;
this.sale_order_id = sale_order_id;
base.SaveEvent += new ClickHandler(UCSaleOrderAddOrEdit_SaveEvent);
base.SubmitEvent += new ClickHandler(UCSaleOrderAddOrEdit_SubmitEvent);
base.ImportEvent += new ClickHandler(UCSaleOrderAddOrEdit_ImportEvent);
txtcontract_no.UserControlValueChanged += new TextBoxEx.TextBoxChangedHandle(txtcontract_no_UserControlValueChanged);
txtadvance_money.KeyPress+=new KeyPressEventHandler(txtadvance_money_KeyPress);
txtadvance_money.UserControlValueChanged += new TextBoxEx.TextBoxChangedHandle(txtadvance_money_UserControlValueChanged);
ddldelivery_time.ValueChanged += new EventHandler(ddldelivery_time_ValueChanged);
gvPurchaseList.CellDoubleClick += new DataGridViewCellEventHandler(gvPurchaseList_CellDoubleClick);
business_count.ValueType = typeof(decimal);
business_count.MaxInputLength = 9;
original_price.ValueType = typeof(decimal);
original_price.MaxInputLength = 9;
discount.ValueType = typeof(decimal);
discount.MaxInputLength = 3;
business_price.ValueType = typeof(decimal);
business_price.MaxInputLength = 9;
tax_rate.ValueType = typeof(decimal);
tax_rate.MaxInputLength = 3;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:33,代码来源:UCSaleOrderAddOrEdit.cs
示例13: UCModifyPriceAddOrEdit
public UCModifyPriceAddOrEdit(WindowStatus state, string ModPricId, UCModifyPriceManager UCModManager)
{
InitializeComponent();
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCModifyPriceBM = UCModManager;//获取其它收货单管理类
this.status = state;//获取操作状态
this.ModifyPriceId = ModPricId;//其它收货单ID
base.SaveEvent += new ClickHandler(UCModifyPriceAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCModifyPriceAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCModifyPriceAddOrEdit_ImportEvent);//导入
base.DeleteEvent += new ClickHandler(UCModifyPriceAddOrEdit_DeleteEvent);
//设置列表的可编辑状态
gvPartsMsgList.ReadOnly = false;
foreach (DataGridViewColumn dgCol in gvPartsMsgList.Columns)
{
if (dgCol.Name != colCheck.Name && dgCol.Name != ModyPricRate.Name
&&dgCol.Name != ModyAfterPric.Name && dgCol.Name!=remarks.Name) dgCol.ReadOnly = true;
}
base.btnExport.Visible = false;
base.btnConfirm.Visible = false;
base.btnEdit.Visible = false;
base.btnBalance.Visible = false;
base.btnPrint.Visible = false;
base.btnExport.Visible = false;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:27,代码来源:UCModifyPriceAddOrEdit.cs
示例14: UCRequisitionAddOrEdit
/// <summary>
/// 初始化出入单窗体信息
/// </summary>
public UCRequisitionAddOrEdit(WindowStatus state, string AllotBillId, UCRequisitionManager UCReqManager)
{
InitializeComponent();
gvPartsMsgList.ReadOnly = false;
ID.ReadOnly = true;
partsnum.ReadOnly = true;
partname.ReadOnly = true;
PartSpec.ReadOnly = true;
drawingnum.ReadOnly = true;
partbrand.ReadOnly = true;
carpartscode.ReadOnly = true;
partsbarcode.ReadOnly = true;
totalmoney.ReadOnly = true;
makedate.ReadOnly = true;
validitydate.ReadOnly = true;
DTPickorder_date.Value = DateTime.Now.ToShortDateString();//获取当前系统时间
this.UCReqBM = UCReqManager;//获取出入库单管理类
this.status = state;//获取操作状态
this.AllotId = AllotBillId;//出入库单ID
base.SaveEvent += new ClickHandler(UCRequisitionAddOrEdit_SaveEvent);//保存
base.SubmitEvent += new ClickHandler(UCRequisitionAddOrEdit_SubmitEvent);//提交
base.ImportEvent += new ClickHandler(UCRequisitionAddOrEdit_ImportEvent);//导入
base.btnExport.Enabled = false;
base.btnConfirm.Enabled = false;
base.btnEdit.Enabled = false;
base.btnBalance.Enabled = false;
base.btnPrint.Enabled = false;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:31,代码来源:UCRequisitionAddOrEdit.cs
示例15: UCSupplierAddOrEdit
//构造函数
public UCSupplierAddOrEdit(WindowStatus status, string suppId, UCSupplierManager uc)
{
InitializeComponent();
//gvUserInfoList.ReadOnly = false;
this.windowStatus = status;
this.suppId = suppId;
this.uc = uc;
BindDllInfo();
if (status == WindowStatus.Edit || status == WindowStatus.Copy)
{
LoadInfo(suppId);
GetAllContacts(suppId);
ucAttr.TableName = "tb_supplier";
ucAttr.TableNameKeyValue = suppId;
ucAttr.BindAttachment();
}
if (status == WindowStatus.Add || status == WindowStatus.Copy)
{
lblsup_code.Text = CommonUtility.GetNewNo(DataSources.EnumProjectType.Supplier);
}
base.SaveEvent += new ClickHandler(UCSupplierAddOrEdit_SaveEvent);
base.CancelEvent += new ClickHandler(UCSupplierAddOrEdit_CancelEvent);
base.StatusEvent += new ClickHandler(UCSupplierAddOrEdit_StatusEvent);
base.DeleteEvent += new ClickHandler(UCSupplierAddOrEdit_DeleteEvent);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:26,代码来源:UCSupplierAddOrEdit.cs
示例16: UCAccountVerificationAdd
bool isAutoClose = false;//是否自动关闭
#endregion
public UCAccountVerificationAdd(WindowStatus status, string id, UCAccountVerificationManage uc)
{
InitializeComponent();
this.windowStatus = status;
this.id = id;
this.uc = uc;
colVerificationMoney.ValueType = typeof(decimal);
colMoney.ValueType = typeof(decimal);
colSettledMoney.ValueType = typeof(decimal);
colWaitMoney.ValueType = typeof(decimal);
colVerificationMoney2.ValueType = typeof(Decimal);
colMoney2.ValueType = typeof(decimal);
colSettledMoney2.ValueType = typeof(decimal);
colWaitMoney2.ValueType = typeof(decimal);
base.SaveEvent += new ClickHandler(UCAccountVerificationAdd_SaveEvent);
base.ImportEvent += new ClickHandler(UCAccountVerificationAdd_ImportEvent);
base.SubmitEvent += new ClickHandler(UCAccountVerificationAdd_SubmitEvent);
base.CancelEvent += new ClickHandler(UCAccountVerificationAdd_CancelEvent);
base.VerifyEvent += new ClickHandler(UCAccountVerificationAdd_VerifyEvent);
base.InvalidOrActivationEvent += new ClickHandler(UCAccountVerificationAdd_InvalidOrActivationEvent);
base.CopyEvent += new ClickHandler(UCAccountVerificationAdd_CopyEvent);
base.EditEvent += new ClickHandler(UCAccountVerificationAdd_EditEvent);
base.DeleteEvent += new ClickHandler(UCAccountVerificationAdd_DeleteEvent);
DataGridViewEx.SetDataGridViewStyle(dgvDocuments, colRemark);
DataGridViewEx.SetDataGridViewStyle(dgvDocuments2, colRemark2);
dgvDocuments.RowHeadersVisible = true;
dgvDocuments2.RowHeadersVisible = true;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:30,代码来源:UCAccountVerificationAdd.cs
示例17: UCCompanyViewOrAdd
public UCCompanyViewOrAdd(WindowStatus winStatus, string parentName)
{
InitializeComponent();
base.SaveEvent += new ClickHandler(UCCompanyViewOrAdd_SaveEvent);
base.CancelEvent += new ClickHandler(UCCompanyViewOrAdd_CancelEvent);
this.winStatus = winStatus;
this.parentName = parentName;
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:8,代码来源:UCCompanyViewOrAdd.cs
示例18: UCBankAccountAddOrEdit
public UCBankAccountAddOrEdit(WindowStatus status,string id,UCBankAccountManage uc)
{
InitializeComponent();
this.id = id;
this.uc = uc;
base.windowStatus = status;
this.SaveEvent += new ClickHandler(UCBankAccountAddOrEdit_SaveEvent);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:8,代码来源:UCBankAccountAddOrEdit.cs
示例19: UCCashierAccountAdd
public UCCashierAccountAdd(WindowStatus status, string id, UCCashierAccManage uc)
{
InitializeComponent();
this.windowStatus = status;
this.id = id;
this.uc = uc;
this.SaveEvent += new ClickHandler(UCCashierAccountAdd_SaveEvent);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:8,代码来源:UCCashierAccountAdd.cs
示例20: UCCompanyView
public UCCompanyView(string _id, UCCompanyManager _uc, WindowStatus _wStatus)
{
id = _id;
uc = _uc;
windowStatus = _wStatus;
InitializeComponent();
base.CancelEvent += new ClickHandler(UCCompanyView_CancelEvent);
UCCompanyView_Load(null, null);
}
开发者ID:caocf,项目名称:workspace-kepler,代码行数:9,代码来源:UCCompanyView.cs
注:本文中的WindowStatus类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论